Nonlinear Modeling of Magnetization Loss in Permanent Magnets