Opened 12 years ago
Closed 12 years ago
#2163 closed defect (fixed)
A new case of erroneous equation counting
Reported by: | massimo ceraolo | Owned by: | ardpo |
---|---|---|---|
Priority: | high | Milestone: | 1.9.0 |
Component: | Backend | Version: | trunk |
Keywords: | counting | Cc: |
Description
In enclose two files; QSAsma.mo and NW10.mo.
NW10 is a package containing only, exactly QSAsma.
When QSasma is checked, the result is:
Class NWQSAsma has 243 equation(s) and 243 variable(s).
When NW10.QSAsma is checked, the result is:
Class NW10.QSAsma has 250 equation(s) and 243 variable(s).
So, 7 more equations are wrongly counted.
Attachments (2)
Change History (5)
by , 12 years ago
by , 12 years ago
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Indeed it should be just a simple issue related to the reading of models inside packages.
In fact the same model, when outside packages, is given the right equation numbers, and simulates.
I would just compare the differences when interpreting the two files.
Massimo
Hi,
This seems to be some bug in the instantiation as simulation doesn't work.
I'll look more on what goes wrong. It could be the overconstrained connection
graph breaking or some other issue.
Cheers,
Adrian Pop/