﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2045	Initialisation of external object fails	Martin Sjölund	Lennart Ochel	"https://svn.modelica.org/projects/Modelica_EmbeddedSystems/trunk/Modelica_DeviceDrivers/ @r5977

To silence some warnings, optionally download: https://svn.modelica.org/projects/Modelica_EmbeddedSystems/trunk/Modelica_Synchronous/ @r5977

Initialisation of external object fails for Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP. I checked it by adding a print statement to the constructor function, which was never executed. The constructor should be called once (and only once), and before it is used.

Note that the symbolic init could not be used because
{{{
Model is structurally singular, error found sorting equations
2: $PRE.getReal.y[2] = $_start(getReal.y[2]);
4: $PRE.getReal.y[1] = $_start(getReal.y[1]);
}}}

Bug taken from the [https://www.openmodelica.org/index.php/forum/topic?id=825#p3142 forums]"	defect	assigned	high	Future	Run-time	trunk			
