In reply to meenakshi bommu:
What was the run time limit? Do you know how to change it?
You need to figure out what the simulation time was when you hit the CPU run time limit. From there you can set a breakpoint just before hitting the simulation time where it hangs.