Working with the Messages Reporting Window

When you perform a simulation, the Messages Reporting window displays errors, warnings, and messages from translation and simulation of a model. You can work with this information.

By default, the Messages Reporting window displays one top-level message of success or failure, for each simulation.

This task shows you how to:


Before you begin:

Work with the Top-Level Messages Area

The Messages Reporting window contains one top-level message of success or failure for each simulation that you perform. You can display a Log pane for each top-level message, and delete top-level messages.

  1. To display the Log pane for a top-level message, click in that message.

    You can hide the Log pane by clicking the arrow in the bottom of the pane.

  2. To delete one or all top-level messages:
    • To delete one top-level message, click , in that message.
    • To delete all top-level messages, click in the lower-left corner of the Messages Reporting window.

Filter the Message Types in the Log Pane

For a simulation, you can filter what message types to display in the Logs pane.

Context:

The Logs pane contains a tree with:

  • A translation log. If you simulate the same model several times, a retranslation might not be required. If so, only the first simulation contains the full translation information.
  • A simulation log, if the translation was successful.

For both logs, three message types can be displayed:

  • Information messages.
  • Warnings.
  • Errors.
By default, all these message types can appear.

  1. Display the Logs pane for the simulation by clicking in the top-level simulation message.
  2. To hide any message type, click the icon of the message type in the second section of the Logs pane.

    Notes:
    • The commands work in toggle mode.
    • The filtering is temporary. If you hide the Logs pane and display it again, the filtering is gone.

Define How Much Data to Be Logged and Displayed

For a simulation and the corresponding translation, you can define how much data to log and display.

Context:

By default, basic data for the translation and simulation log is logged, and appears in the Logs pane. You can log and display additional data.

Important:
  • The main use of logging additional data is to supply a model expert with more information in solving model problems.
  • The additional data is included in the Logs pane. The data is displayed in the translation and simulation log, that is, the translation log and simulation log are larger when additional data is logged.
  • Using this option may increase the simulation time considerably, and also the amount of logged data.

  1. To log additional data when translating and simulating, activate, in the simulation setup, the option Generate additional logs for expert. See Setting up a Simulation.

    Notes:
    • You can only select to log additional data or not, you cannot select in detail what additional data to log.
    • The additional logged data correspond to several options in stand-alone Dymola. For information about these options, see About Logging Additional Data.

  2. Perform a simulation to log the additional data.
  3. Download the logged data (see next subtask) and send the file to the model expert.
  4. In the simulation setup, clear the option Generate additional logs for expert.

Download the Logged Data from a Simulation

You can download the logged data from a simulation, including the corresponding translation.

  1. Display the Logs pane for the simulation by clicking in the top-level simulation message.
  2. In the bottom section of the pane, click Export Raw Logs .
  3. In the file browser dialog, enter a file name, browse for the location to save the file, and then click Save.