A Stability Model for Flexible Rotors With Magnetic Bearings