Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 79.94 kB / 20.76 MB, free: 3.73 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 173 kB / 24.18 MB, free: 320 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.047/1.047, allocations: 177.1 MB / 204.6 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.03578/0.03578, allocations: 9.16 MB / 270.2 MB, free: 4.148 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 289.8 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.123e-05, allocations: 6.312 kB / 289.8 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger): time 0.1577/0.1577, allocations: 3.02 MB / 292.8 MB, free: 17.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.159, allocations: 0.7676 MB / 293.6 MB, free: 17.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.1591, allocations: 7.625 kB / 293.6 MB, free: 17.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002933/0.1594, allocations: 64.31 kB / 293.6 MB, free: 17.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.1596, allocations: 51.95 kB / 293.7 MB, free: 17.37 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:30:7-39:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:1206:7-1215:28:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.writeSharedMemory' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SharedMemory_.write'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:74:7-84:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:107:7-117:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:1196:7-1204:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readSharedMemory' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SharedMemory_.read'. Notification: Performance of NFTyping.typeClassSections: time 0.0006688/0.1603, allocations: 226.5 kB / 293.9 MB, free: 17.24 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004373/0.1607, allocations: 328.6 kB / 294.2 MB, free: 17.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002663/0.161, allocations: 112.7 kB / 294.4 MB, free: 17.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002944/0.1613, allocations: 218.9 kB / 294.6 MB, free: 16.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002952/0.1616, allocations: 145.4 kB / 294.7 MB, free: 16.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.675e-05/0.1616, allocations: 36.53 kB / 294.7 MB, free: 16.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003168/0.162, allocations: 158.9 kB / 294.9 MB, free: 16.83 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.1621, allocations: 117.3 kB / 295 MB, free: 16.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.1622, allocations: 107.7 kB / 295.1 MB, free: 16.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005483/0.1628, allocations: 402.3 kB / 295.5 MB, free: 16.51 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1628, allocations: 0 / 295.5 MB, free: 16.51 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1628, allocations: 1.344 kB / 295.5 MB, free: 16.51 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.1628, allocations: 1.094 kB / 295.5 MB, free: 16.51 MB / 266.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg getReal.pkgOut[1].pkg = getInteger.pkgIn.pkg sharedMemoryRead.pkgOut.pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = sharedMemoryWrite.pkgIn.pkg addReal.pkgOut[1].pkg = addInteger.pkgIn.pkg packager.pkgOut.pkg = addReal.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0009944/0.1638, allocations: 0.739 MB / 296.3 MB, free: 15.94 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.1638, allocations: 9.625 kB / 296.3 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.821e-05/0.1639, allocations: 54.48 kB / 296.3 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.1641, allocations: 205.7 kB / 296.5 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.1641, allocations: 25.86 kB / 296.5 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/0.1642, allocations: 33.83 kB / 296.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003549/0.1645, allocations: 307.1 kB / 296.9 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1645, allocations: 1.297 kB / 296.9 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.1645, allocations: 18.97 kB / 296.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.1646, allocations: 9.484 kB / 296.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.1647, allocations: 96.23 kB / 297 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008434/0.1655, allocations: 0.9736 MB / 298 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.1658, allocations: 219.2 kB / 298.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.424e-05/0.1658, allocations: 73.66 kB / 298.3 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.1659, allocations: 7.734 kB / 298.3 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.1661, allocations: 182.6 kB / 298.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=34): time 1.764e-06/0.1661, allocations: 1.094 kB / 298.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=34): time 0.0003753/0.1665, allocations: 203 kB / 298.6 MB, free: 14.33 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.1665, allocations: 175.9 kB / 298.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.1666, allocations: 223.4 kB / 299 MB, free: 13.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.1667, allocations: 41.66 kB / 299.1 MB, free: 13.94 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.145e-05/0.1667, allocations: 175.4 kB / 299.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.79e-05/0.1668, allocations: 81.19 kB / 299.3 MB, free: 13.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.1669, allocations: 112.5 kB / 299.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.158e-05/0.1669, allocations: 346.8 kB / 299.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.441e-05/0.167, allocations: 36.75 kB / 299.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.1671, allocations: 205.8 kB / 300 MB, free: 13.13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.1674, allocations: 301.2 kB / 300.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.1674, allocations: 3.438 kB / 300.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003395/0.1678, allocations: 258.8 kB / 300.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1678, allocations: 8.281 kB / 300.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.1678, allocations: 5.344 kB / 300.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.1678, allocations: 9.938 kB / 300.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.168, allocations: 83.17 kB / 300.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.168, allocations: 13.95 kB / 300.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.586e-05/0.1681, allocations: 43.8 kB / 300.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.1681, allocations: 18.61 kB / 300.7 MB, free: 12.77 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 50 (sharedMemoryRead.pkgOut.dummy,$PRE.sharedMemoryRead.pkgOut.dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],getReal.dummy,$PRE.getReal.dummy,getReal.y[3],$PRE.getReal.y[3],getReal.y[2],$PRE.getReal.y[2],getReal.y[1],$PRE.getReal.y[1],getReal.pkgOut[1].dummy,$PRE.getReal.pkgOut[1].dummy,sharedMemoryWrite.dummy,$PRE.sharedMemoryWrite.dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,addInteger.u[1],sharedMemoryRead.internalTrigger,sharedMemoryWrite.internalTrigger,getInteger.pkgIn.backwardTrigger,getInteger.pkgIn.userPkgBitSize,zeroCrossing1.disable,$PRE.zeroCrossing1.disable,zeroCrossing1.enable,$PRE.zeroCrossing1.enable,zeroCrossing1.u_pos,$PRE.zeroCrossing1.u_pos,getReal.pkgOut[1].trigger,addInteger.pkgOut[1].trigger,$whenCondition1,$whenCondition2,enable.y,sharedMemoryRead.bufferSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.userPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,sharedMemoryWrite.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.1682, allocations: 178.9 kB / 300.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.234e-05/0.1683, allocations: 26.22 kB / 300.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001798/0.1685, allocations: 127.1 kB / 301.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.1685, allocations: 4.078 kB / 301.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1685, allocations: 4.812 kB / 301.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.1685, allocations: 2.812 kB / 301.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004327/0.1689, allocations: 436.5 kB / 301.5 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1689, allocations: 1.156 kB / 301.5 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.692e-05/0.1689, allocations: 16.58 kB / 301.5 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.1689, allocations: 6.656 kB / 301.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.169, allocations: 6 kB / 301.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.169, allocations: 3.344 kB / 301.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.169, allocations: 1.344 kB / 301.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.1692, allocations: 337.5 kB / 301.9 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.04e-05/0.1692, allocations: 25.44 kB / 301.9 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.1693, allocations: 14.83 kB / 301.9 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.457e-05/0.1693, allocations: 5.516 kB / 301.9 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.1694, allocations: 25.95 kB / 301.9 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.1694, allocations: 13.06 kB / 301.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.671e-05/0.1694, allocations: 47.73 kB / 302 MB, free: 11.97 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1694, allocations: 0 / 302 MB, free: 11.97 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000343/0.1698, allocations: 126.9 kB / 302.1 MB, free: 11.93 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 30 (sharedMemoryWrite.internalTrigger,sharedMemoryRead.internalTrigger,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,sharedMemoryRead.bufferSize,getReal.pkgOut[1].trigger,addInteger.pkgOut[1].trigger,$whenCondition2,$whenCondition1,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],sharedMemoryWrite.bufferSize,sharedMemoryWrite.dummy,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,sharedMemoryRead.pkgOut.dummy,zeroCrossing1.u_pos,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.userPkgBitSize,sharedMemoryWrite.pkgIn.autoPkgBitSize) * Number of discrete states: 1 (zeroCrossing1.u_pos) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 18 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007477/0.1705, allocations: 360.3 kB / 302.5 MB, free: 11.81 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003098/0.1708, allocations: 190.9 kB / 302.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.1708, allocations: 2.094 kB / 302.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.171, allocations: 72.55 kB / 302.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.1712, allocations: 61.89 kB / 302.8 MB, free: 11.74 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006606/0.1719, allocations: 0.5214 MB / 303.3 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.806e-05/0.172, allocations: 96.98 kB / 303.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.359e-05/0.1721, allocations: 33.39 kB / 303.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.1722, allocations: 86.25 kB / 303.5 MB, free: 11.25 MB / 266.7 MB Notification: Performance of SimCode: time 6.42e-07/0.1722, allocations: 0 / 303.5 MB, free: 11.25 MB / 266.7 MB Notification: Performance of Templates: time 0.006956/0.1791, allocations: 4.828 MB / 308.3 MB, free: 8.941 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.makefile [Timeout 660] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.sim & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.989278803113848]