A partial collapse observed in magnetic axis swing experiments in the Large Helical Device (LHD) is analyzed with a nonlinear magnetohydrodynamic (MHD) simulation. Real time control of the background field in the operation is incorporated by means of a multi-scale numerical scheme in the simulation. The simulation result indicates that the changing background field accelerates the growth of an infernal-like mode and causes the partial collapse.