1. A method for simulating a magnetic material performed by a computer, comprising: repeatedly performing by a processor a first process and a second process until the change of magnetization and a static magnetic field converges, the first process being to calculate a distribution of the magnetization and an average magnetization in a magnetic material model of micromagnetics, and the second process being to assign the magnetic material model of the micromagnetics to each mesh included in another magnetic material model, calculate the static magnetic field of the another magnetic material model using the average magnetization calculated by the first process, and return the calculated static magnetic field to the calculation of the distribution of the magnetization; generating by the processor a hysteresis loop of each mesh included in the another magnetic material model based on the average magnetization calculated by the first process and the static magnetic field calculated by the second process, and calculating by the processor a hysteresis loss of the another magnetic material model from an area of the generated hysteresis loop.