Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to preserve fmu name if running from command line #1059

Merged
merged 1 commit into from
Jul 10, 2021

Conversation

lochel
Copy link
Member

@lochel lochel commented Jul 10, 2021

This makes the error messages a bit nicer, e.g.:

> OMSimulator Rectifier.fmu
warning: [Rectifier: resources/0001_Rectifier.fmu] The FMU lists 4 state derivatives but actually exposes 5 state derivatives.
         The following derivatives are missing: 70: der(Inductor1.i)
warning: [Rectifier: resources/0001_Rectifier.fmu] The FMU lists 14 initial unknowns but actually exposes 16 initial unknowns.
         The following unknowns are missing: 69: Inductor1.i, 70: der(Inductor1.i)
info:    [Rectifier: resources/0001_Rectifier.fmu] The FMU contains bad initial unknowns. This might cause problems, e.g. wrong simulation results.
info:    2 warnings
info:    0 errors

@lochel lochel enabled auto-merge (squash) July 10, 2021 13:23
@lochel lochel merged commit f13b50c into OpenModelica:master Jul 10, 2021
@lochel lochel deleted the cmd branch July 10, 2021 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant