Skip to content

Diagnostics🔗

Access HTML diagnostics (model statistics)🔗

Create a file with model statistics that includes: - Model Structure - State variables - Initialization equation blocks - Equation blocks

  1. Go to settings, Execution tab, and turn on generate_html_diagnostics found under COMPILER OPTIONS. Press SAVE.
  2. Run a dynamic simulation.
  3. Go to Details Panel and the SIMULATION tab.
  4. Hover over a Result. Click on the 3 dots .... Select View diagnostics.
  5. A new window in the browser is opened with the diagnostics.
  6. Diagnostics can be produced for each FMU, that is each compilation and set of parameters.
  7. Diagnostics are not available for any results generated before turning on the generate_html_diagnostics setting.

Add runtime diagnostics to dynamic simulation​🔗

Create a log file with simulation metadata for CPU and nbr events.

  1. Go to settings, Execution tab, and turn on dynamic_diagnostics found under SIMULATION OPTIONS. Press SAVE.
  2. Run a dynamic simulation.
  3. Go to Details Panel .
  4. Expand the top level of CALCULATED VALUES to find the option called '@Diagnostics'.