Tracing Global Variables In the Modelica Script Editor, right-click and select Trace > Trace Global Variables. Execute the script. The result of the tracing appears in the command log, visible in the Messages Reporting window.
Tracing Functions Calls or Variables in a Function Select the related function call by double-clicking the name. Right-click and select one of the following commands depending what you want to do: Trace > Trace Function CallTrace > Trace Variables in Function Execute the script. The result of the tracing appears in the command log, visible in the Messages Reporting window.