Opened 6 years ago

Closed 6 years ago

#5096 closed defect (duplicate)

Issue with NFTyping.typeComponent

Reported by: Francesco Casella Owned by: Adrian Pop
Priority: high Milestone: 2.0.0
Component: New Instantiation Version:
Keywords: Cc:

Description

Please check ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_bypass. The following error is reported:

[OMCompiler/Compiler/NFFrontEnd/NFTyping.mo:392:9-392:127:writable] Error:
Internal error NFTyping.typeComponent got noninstantiated component
Opening_valveHP

I'm not sure why Opening_valveHP should be noninstantiated, but the model compiles correctly with the old FE and with Dymola, so I suspect the issue is with the NF.

Change History (4)

comment:1 by Per Östlund, 6 years ago

Owner: changed from Per Östlund to Adrian Pop
Status: newassigned

Opening_valveHP is not a declared component, it's a component that should be introduced due to being connected to an expandable connector. Apparently that's not working correctly yet.

comment:2 by Adrian Pop, 6 years ago

Yes, we don't add virtual components to the instances of connectors yet, we only create them in the component references during lookup.

comment:3 by Adrian Pop, 6 years ago

I guess this is a duplicate of #5015, but we'll leave it open for now.

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

Resolution: duplicate
Status: assignedclosed

Replying to adrpo:

I guess this is a duplicate of #5015, but we'll leave it open for now.

It sure enough is, I'm closing it to avoid background noise.

Note: See TracTickets for help on using tickets.