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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 117.8 kB / 17.13 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 192.1 kB / 18.06 MB, free: 4.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.615/1.615, allocations: 222.9 MB / 241.8 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06341/0.06341, allocations: 12.04 MB / 304 MB, free: 3.102 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00281/0.00281, allocations: 71.88 kB / 420.8 MB, free: 17.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1406, allocations: 52.31 MB / 473.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger): time 0.00458/0.1452, allocations: 2.803 MB / 475.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.1467, allocations: 0.7589 MB / 476.6 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.1468, allocations: 7.938 kB / 476.6 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.1471, allocations: 63.39 kB / 476.7 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001872/0.1473, allocations: 51.58 kB / 476.8 MB, free: 9.133 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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.0006271/0.1479, allocations: 227.3 kB / 477 MB, free: 8.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004058/0.1483, allocations: 331.2 kB / 477.3 MB, free: 8.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002736/0.1486, allocations: 129 kB / 477.4 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.1487, allocations: 155.4 kB / 477.6 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002629/0.149, allocations: 191.1 kB / 477.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.794e-05/0.1491, allocations: 36 kB / 477.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002444/0.1493, allocations: 151.9 kB / 477.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.1494, allocations: 103.7 kB / 478 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.1496, allocations: 179 kB / 478.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006512/0.1503, allocations: 0.5135 MB / 478.7 MB, free: 7.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1503, allocations: 0 / 478.7 MB, free: 7.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1503, allocations: 4 kB / 478.7 MB, free: 7.133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.1503, allocations: 0 / 478.7 MB, free: 7.133 MB / 350.1 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.00144/0.1517, allocations: 0.885 MB / 479.6 MB, free: 6.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1517, allocations: 12.03 kB / 479.6 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.289e-05/0.1518, allocations: 36.7 kB / 479.7 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.1522, allocations: 295.8 kB / 480 MB, free: 5.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.815e-05/0.1522, allocations: 25.03 kB / 480 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.676e-05/0.1523, allocations: 36.36 kB / 480 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000674/0.153, allocations: 395.8 kB / 480.4 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.153, allocations: 192 / 480.4 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.393e-05/0.153, allocations: 23.92 kB / 480.4 MB, free: 5.312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.153, allocations: 15.94 kB / 480.4 MB, free: 5.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004226/0.1534, allocations: 209.6 kB / 480.7 MB, free: 5.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001646/0.1551, allocations: 1.307 MB / 482 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004657/0.1556, allocations: 277 kB / 482.2 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.1558, allocations: 120.2 kB / 482.3 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.691e-05/0.1558, allocations: 11.98 kB / 482.4 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003719/0.1562, allocations: 224.6 kB / 482.6 MB, free: 2.996 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 2.003e-06/0.1562, allocations: 0 / 482.6 MB, free: 2.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009589/0.1571, allocations: 485 kB / 483.1 MB, free: 2.516 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.1573, allocations: 174.1 kB / 483.2 MB, free: 2.309 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.1575, allocations: 231.6 kB / 483.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.54e-05/0.1576, allocations: 41.69 kB / 483.5 MB, free: 2.023 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.1577, allocations: 188.8 kB / 483.7 MB, free: 1.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.111e-05/0.1578, allocations: 83.38 kB / 483.8 MB, free: 1.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/0.158, allocations: 110.5 kB / 483.9 MB, free: 1.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.1581, allocations: 342.8 kB / 484.2 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.1584, allocations: 105.1 kB / 484.3 MB, free: 1.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/0.1587, allocations: 282 kB / 484.6 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005589/0.1593, allocations: 400.1 kB / 485 MB, free: 388 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/0.1593, allocations: 4 kB / 485 MB, free: 384 kB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007424/0.16, allocations: 429.1 kB / 485.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.16, allocations: 11.98 kB / 485.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.16, allocations: 4 kB / 485.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.58e-05/0.1601, allocations: 11.94 kB / 485.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.1603, allocations: 59.84 kB / 485.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.788e-05/0.1603, allocations: 11.94 kB / 485.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.1605, allocations: 40.2 kB / 485.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.1605, allocations: 27.98 kB / 485.6 MB, free: 15.78 MB / 366.1 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,enable.y,zeroCrossing1.enable,$PRE.zeroCrossing1.enable,zeroCrossing1.disable,$PRE.zeroCrossing1.disable,zeroCrossing1.u_pos,$PRE.zeroCrossing1.u_pos,getReal.pkgOut[1].trigger,addInteger.pkgOut[1].trigger,$whenCondition1,$whenCondition2,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,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.0002587/0.1608, allocations: 207 kB / 485.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.703e-05/0.1609, allocations: 23.86 kB / 485.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005242/0.1614, allocations: 295.7 kB / 486.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.1614, allocations: 4 kB / 486.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1614, allocations: 4 kB / 486.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.1614, allocations: 11.98 kB / 486.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.1625, allocations: 0.7703 MB / 486.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.1625, allocations: 7.938 kB / 486.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.065e-05/0.1626, allocations: 15.92 kB / 486.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.1626, allocations: 4 kB / 486.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/0.1626, allocations: 11.98 kB / 486.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.1626, allocations: 0 / 486.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.1626, allocations: 8 kB / 486.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007126/0.1633, allocations: 497.3 kB / 487.4 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.774e-05/0.1634, allocations: 104.9 kB / 487.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.239e-05/0.1635, allocations: 12.08 kB / 487.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.1636, allocations: 11.94 kB / 487.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.1636, allocations: 23.97 kB / 487.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/0.1637, allocations: 11.98 kB / 487.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.1638, allocations: 127.2 kB / 487.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1638, allocations: 0 / 487.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005039/0.1643, allocations: 127.6 kB / 487.8 MB, free: 13.42 MB / 366.1 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.0007629/0.165, allocations: 315 kB / 488.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005746/0.1656, allocations: 296.5 kB / 488.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1656, allocations: 320 / 488.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000232/0.1658, allocations: 123.9 kB / 488.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004466/0.1663, allocations: 55.64 kB / 488.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.1673, allocations: 0.5543 MB / 489.1 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/0.1678, allocations: 0.776 MB / 489.9 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.1679, allocations: 46.94 kB / 489.9 MB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.21e-05/0.168, allocations: 27.62 kB / 490 MB, free: 11.23 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.168, allocations: 0 / 490 MB, free: 11.23 MB / 366.1 MB Notification: Performance of Templates: time 0.009638/0.1776, allocations: 4.244 MB / 494.2 MB, free: 7.047 MB / 366.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.makefile (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=480 -s cvode -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.pipe 2>&1)