Opened 8 years ago

Last modified 8 years ago

#4124 closed defect

Does fill() create equations? — at Version 1

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 (last modified by Volker Waurich)

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 reveal this information somehow?
I will care of the backend stuff.

Change History (2)

by Volker Waurich, 8 years ago

Attachment: test_Ext.mo added

comment:1 by Volker Waurich, 8 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.