You can stop an execution by terminating its main session. Magic Model Analyst allows you to terminate any simulation session using the following Open API
- SimulationManager.terminateSession(SimulationSession session) : void
Terminating a session will also cause all children of the specific session to be terminated.