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

Analyze Buildings.DHC.Plants.Combined.Examples.AllElectricCWStorage with OpenModelica #3910

Open
mwetter opened this issue Jun 24, 2024 · 2 comments

Comments

@mwetter
Copy link
Member

mwetter commented Jun 24, 2024

The model Buildings.DHC.Plants.Combined.Examples.AllElectricCWStorage works locally with OMC 1.23.0, but fails on travis.
The local simulation has a large log file due to

Non-Linear Solver try to handle a problem with a called assert.
Division by zero roughness / diameter in function context
Division by zero roughness / diameter in function context
Division by zero roughness / diameter in function context
Homotopy solver total pivot: Matrix (nearly) singular at initialization.
Continuing anyway. For more information please use -lv LOG_NLS_V.
under-determined linear system not solvable!

although it recovers and simulates to the end. This issue is to see what causes these problems.

@mwetter mwetter added this to the Release 12.0.0 milestone Jun 24, 2024
@mwetter
Copy link
Member Author

mwetter commented Oct 28, 2024

This issue persists with OpenModelica 1.25.0~dev-68-g61a4aba

@mwetter
Copy link
Member Author

mwetter commented Nov 13, 2024

With OpenModelica 1.25.0~dev-157-g7a05431, this model (from master, a8b0409) now fails with

AllElectricCWStorage_functions.c:26303: Invalid root: (0)^(-1.5)
simulation terminated by an assertion at initialization

but there is no such file (it probably has been split into multiple files for compilation):

$ ls *.c
AllElectricCWStorage_06inz_part0.c   AllElectricCWStorage_08bnd_part17.c
AllElectricCWStorage_06inz_part10.c  AllElectricCWStorage_08bnd_part18.c
AllElectricCWStorage_06inz_part11.c  AllElectricCWStorage_08bnd_part19.c
AllElectricCWStorage_06inz_part12.c  AllElectricCWStorage_08bnd_part1.c
AllElectricCWStorage_06inz_part13.c  AllElectricCWStorage_08bnd_part20.c
AllElectricCWStorage_06inz_part14.c  AllElectricCWStorage_08bnd_part21.c
AllElectricCWStorage_06inz_part15.c  AllElectricCWStorage_08bnd_part22.c
AllElectricCWStorage_06inz_part16.c  AllElectricCWStorage_08bnd_part23.c
AllElectricCWStorage_06inz_part1.c   AllElectricCWStorage_08bnd_part24.c
AllElectricCWStorage_06inz_part2.c   AllElectricCWStorage_08bnd_part25.c
AllElectricCWStorage_06inz_part3.c   AllElectricCWStorage_08bnd_part26.c
AllElectricCWStorage_06inz_part4.c   AllElectricCWStorage_08bnd_part27.c
AllElectricCWStorage_06inz_part5.c   AllElectricCWStorage_08bnd_part28.c
AllElectricCWStorage_06inz_part6.c   AllElectricCWStorage_08bnd_part29.c
AllElectricCWStorage_06inz_part7.c   AllElectricCWStorage_08bnd_part2.c
AllElectricCWStorage_06inz_part8.c   AllElectricCWStorage_08bnd_part30.c
AllElectricCWStorage_06inz_part9.c   AllElectricCWStorage_08bnd_part31.c
AllElectricCWStorage_08bnd_part0.c   AllElectricCWStorage_08bnd_part32.c
AllElectricCWStorage_08bnd_part10.c  AllElectricCWStorage_08bnd_part3.c
AllElectricCWStorage_08bnd_part11.c  AllElectricCWStorage_08bnd_part4.c
AllElectricCWStorage_08bnd_part12.c  AllElectricCWStorage_08bnd_part5.c
AllElectricCWStorage_08bnd_part13.c  AllElectricCWStorage_08bnd_part6.c
AllElectricCWStorage_08bnd_part14.c  AllElectricCWStorage_08bnd_part7.c
AllElectricCWStorage_08bnd_part15.c  AllElectricCWStorage_08bnd_part8.c

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

1 participant