In ODE LLG output energy lost