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

Integer state.phase not returned correctly in OpenModelica #55

Closed
casella opened this issue Feb 21, 2022 · 2 comments
Closed

Integer state.phase not returned correctly in OpenModelica #55

casella opened this issue Feb 21, 2022 · 2 comments
Assignees

Comments

@casella
Copy link
Collaborator

casella commented Feb 21, 2022

Run ExternalMedia.Test.TestMedium.TestState with the latest nightly build of OpenModelica.

The simulation runs successfully and produces the expected results for all the real variables of the state record. However, the phase value, which is supposed to be an integer equal to one, is returned as zero at the initial time and then as 6.2148e12.

This is probably a bug in OpenModelica that needs to be investigated and fixed, see OMC #8591

@bilderbuchi
Copy link
Collaborator

With current EM master and OM 1.20 state.phase has the value 1 for the whole simulation period, so I think this can be closed.

@casella
Copy link
Collaborator Author

casella commented Dec 12, 2022

Absolutely, OpenModelica/OpenModelica#8591 was fixed, so this can be closed for good. Thanks @bilderbuchi for pointing out!

@casella casella closed this as completed Dec 12, 2022
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

No branches or pull requests

2 participants