Opened 11 years ago
Closed 11 years ago
#2139 closed defect (fixed)
Error in counting equations?
Reported by: | ceraolo | Owned by: | probably noone |
---|---|---|---|
Priority: | high | Milestone: | 1.9.0 |
Component: | Backend | Version: | trunk |
Keywords: | Cc: | lochel |
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)
Changed 11 years ago by ceraolo
comment:1 Changed 11 years ago by lochel
- Cc lochel added
comment:2 Changed 11 years ago by adrpo
comment:3 Changed 11 years ago by adrpo
- Resolution set to fixed
- Status changed from new to closed
Fixed in r15843.
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/