endSimulation

Causes the simulation to end after the current replication is completed

Parameters

msg

A message to indicate why the simulation was stopped