Check that you have selected the correct CPU type (e.g., CPU 224) that matches the configuration in your code.

This is a professional-grade simulator with a much better UI and support for PID loops. A trial version exists.