Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#6183 closed defect (fixed)

fully qualified name missing in complex equation

Reported by: Volker Waurich Owned by: Adrian Pop
Priority: normal Milestone: 1.16.0
Component: Frontend Version:
Keywords: Cc: Per Östlund

Description

Hi,

Please have a look on the attached model TestEnvironment2.
The algorithm function as it appears in the backend BFT.Environments.FromInput.Environment$environment.get_Contact_Points(...,RoadAltitude[1],...) has array arguments which are not fully qualified: RoadAltitude[X],RoadAdhesion[X],RoadNormal[X,Y]
The fully qualified name is environment.RoadAltitude[1]. See withdumpdaelow-flag.

Hence, the alias elemination cannot replace the variables properly and compilation fails as the argument is unknown.


Attachments (1)

TestEnvironment2Total.mo (62.6 KB ) - added by Volker Waurich 4 years ago.
minimal test model

Download all attachments as: .zip

Change History (5)

by Volker Waurich, 4 years ago

Attachment: TestEnvironment2Total.mo added

minimal test model

comment:1 by Adrian Pop, 4 years ago

Do you use the new or the old front-end? From the $ in the name I would say you're using the old one. Try with the new one -d=newInst as the old one will be deprecated.

in reply to:  1 comment:2 by Volker Waurich, 4 years ago

Replying to adrpo:

Do you use the new or the old front-end? From the $ in the name I would say you're using the old one. Try with the new one -d=newInst as the old one will be deprecated.

The new frontend works.

comment:3 by Volker Waurich, 4 years ago

Resolution: fixed
Status: newclosed

comment:4 by Francesco Casella, 4 years ago

Milestone: Future1.16.0
Note: See TracTickets for help on using tickets.