Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#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 Per Östlund, 7 years ago

Resolution: fixed
Status: newclosed

Fixed in 8acf20e. The mentioned model still has other issues, but fixing this made some previously unbalanced MultiBody models balanced.

comment:2 by Francesco Casella, 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.

in reply to:  2 ; comment:3 by Per Östlund, 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.

in reply to:  3 ; comment:4 by Francesco Casella, 7 years ago

Replying to perost:

The extra equations might come from overconstrained connections.

AFAIK, there shouldn't be any in this model.

in reply to:  4 ; comment:5 by Per Östlund, 7 years ago

Replying to casella:

Replying to perost:

The extra equations might come from overconstrained connections.

AFAIK, there shouldn't be any in this model.

I meant in the MultiBody models, like Engine1a. PumpingSystem doesn't pass the frontend yet.

in reply to:  5 comment:6 by Francesco Casella, 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.

Note: See TracTickets for help on using tickets.