Check this thread with a discussion about a very similar model: Request for feedback
The magnets are initially unconstrained, there’s only contact between them and the rotor. You may have to use a different approach - prescribed rotation (displacement control is always better for convergence than force control) or magnets tied to the rotor (probably not exactly what you want to achieve but it can be a good starting point).