Opened 8 years ago

Last modified 8 years ago

#4124 closed defect

Does fill() create equations? — at Initial Version

Reported by: Volker Waurich Owned by: Adrian Pop
Priority: high Milestone: 1.11.0
Component: Backend Version:
Keywords: external objects, alias Cc: Per Östlund, Bernhard Thiele

Description

Hi,

In Modelica_DeviceDrivers, there is a Serialpackager class which gets a Modelica_DeviceDrivers.Packaging.SerialPackager model as an input and then, passes this object via a connector to the attached Serialpackager. These packages are meant to be the same object/variable/memory among all connected SerialPackagers. There is no alias equation in the model, only:

if nu == 1 then
    pkgOut.pkg = fill(pkgIn.pkg, nu);

The frontend does not create any alias equation which matters since these are external objects.
What is needed here, is the equation: pkgOut[1].pkg = pkgIn.pkg
This is not the case. Can you reveil this information somehow?
I will care of the backend stuff.

Change History (1)

by Volker Waurich, 8 years ago

Attachment: test_Ext.mo added
Note: See TracTickets for help on using tickets.