Opened 12 years ago
Closed 12 years ago
#2139 closed defect (fixed)
Error in counting equations?
Reported by: | massimo ceraolo | Owned by: | probably noone |
---|---|---|---|
Priority: | high | Milestone: | 1.9.0 |
Component: | Backend | Version: | trunk |
Keywords: | Cc: | Lennart Ochel |
Description
In enclose a simple model.
When checked inside OMEdit it reports 46 equations and 45 variables. Instead I expected 45 equations and 45 variables.
This error has consequences in larger models: I have models that cannot be run because the program issues the following message:
Symbolic 16:49:48 0:0-0:0 Too many equations, overdetermined system. The model has 546 equation(s) and 539 variable(s)
Attachments (1)
Change History (4)
Note:
See TracTickets
for help on using tickets.
Hi,
This is just a bad counting of equations.
It counts also this equation:
which comes from overconstraint connection graph handling:
The simulation works fine:
I'll see if I can remove the obvious if false
equation from counting or from the flat Modelica.
Cheers,
Adrian Pop/