******************** magnetic_braking failed: does not compile ********************