How to debug Bad initial energy: nan?

Have you try the solution in FAQ?