Simulation.log is empty resulting in Exception

If so, please provide a SSCCE as explained in How to ask a question.