Adaptive time stepping in quench simulation for superconducting magnets. (January 2022)