#4931 closed defect (fixed)
The NF sometimes loses the inner object declaration
Reported by: | Francesco Casella | Owned by: | Per Östlund |
---|---|---|---|
Priority: | high | Milestone: | 2.0.0 |
Component: | New Instantiation | Version: | |
Keywords: | Cc: |
Description
Please check Modelica.Fluid.Examples.PumpingSystem with the NF. The following error is reported:
Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties.
With the old FE, no such error is reported
Change History (6)
comment:1 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
follow-up: 3 comment:2 by , 7 years ago
In fact, there were a lot other models that had this issue, I just started the Hudson job to see what happens.
follow-up: 4 comment:3 by , 7 years ago
Replying to casella:
In fact, there were a lot other models that had this issue, I just started the Hudson job to see what happens.
It seems I was wrong, I used checkModel to check for balancing. But the backend doesn't agree, so it seems this fix didn't affect the number of equations after all. The extra equations might come from overconstrained connections.
follow-up: 5 comment:4 by , 7 years ago
Replying to perost:
The extra equations might come from overconstrained connections.
AFAIK, there shouldn't be any in this model.
follow-up: 6 comment:5 by , 7 years ago
comment:6 by , 7 years ago
Replying to perost:
I meant in the MultiBody models, like Engine1a. PumpingSystem doesn't pass the frontend yet.
Aha. Those for sure have extra equations if overconstrained connectors are not handled correctly.
Fixed in 8acf20e. The mentioned model still has other issues, but fixing this made some previously unbalanced MultiBody models balanced.