Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.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.ClockedBlocks.Examples.TestSerialPackager,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 108 kB / 16.45 MB, free: 6.457 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.001572/0.001573, allocations: 186.4 kB / 17.38 MB, free: 5.668 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.362/1.362, allocations: 222.9 MB / 241.1 MB, free: 15.09 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.05603/0.05603, allocations: 12.05 MB / 303.3 MB, free: 3.102 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 63.89 kB / 420.1 MB, free: 17.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09953/0.1007, allocations: 52.32 MB / 472.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager): time 0.005549/0.1063, allocations: 2.881 MB / 475.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.1083, allocations: 1.071 MB / 476.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002593/0.1086, allocations: 11.94 kB / 476.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003238/0.109, allocations: 67.28 kB / 476.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002601/0.1093, allocations: 51.52 kB / 476.5 MB, free: 8.75 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Packaging.mo:132:9-139:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:141:7-156:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitPack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitPack'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Packaging.mo:65:9-74:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:100:9-107:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.resetPointer' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.resetPointer'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Packaging.mo:158:7-173:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitUnpack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitUnpack'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Packaging.mo:109:9-119:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.1103, allocations: 298.1 kB / 476.7 MB, free: 8.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005152/0.1108, allocations: 403.7 kB / 477.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003561/0.1112, allocations: 206.7 kB / 477.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002701/0.1115, allocations: 191.3 kB / 477.5 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002596/0.1117, allocations: 219 kB / 477.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.993e-05/0.1118, allocations: 40 kB / 477.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002369/0.1121, allocations: 135.9 kB / 477.9 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.1122, allocations: 135.6 kB / 478 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.1124, allocations: 198.9 kB / 478.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006165/0.113, allocations: 0.5797 MB / 478.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.113, allocations: 0 / 478.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.113, allocations: 7.922 kB / 478.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.113, allocations: 0 / 478.8 MB, free: 6.363 MB / 350.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: addBoolean.pkgOut[1].pkg = addBoolean.pkgIn.pkg unpackInt1.pkgOut[1].pkg = unpackInt1.pkgIn.pkg getInteger.pkgOut[1].pkg = getInteger.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt.pkgIn.pkg resetPointer.pkgOut[1].pkg = resetPointer.pkgIn.pkg packInt1.pkgOut[1].pkg = packInt1.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg packInt.pkgOut[1].pkg = packInt.pkgIn.pkg addBoolean.pkgOut[1].pkg = resetPointer.pkgIn.pkg getInteger.pkgOut[1].pkg = getBoolean.pkgIn.pkg addInteger.pkgOut[1].pkg = addBoolean.pkgIn.pkg unpackInt1.pkgOut[1].pkg = getInteger.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt1.pkgIn.pkg resetPointer.pkgOut[1].pkg = unpackInt.pkgIn.pkg packInt1.pkgOut[1].pkg = addInteger.pkgIn.pkg packInt.pkgOut[1].pkg = packInt1.pkgIn.pkg packager.pkgOut.pkg = packInt.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001643/0.1147, allocations: 1.234 MB / 480.1 MB, free: 5.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.1147, allocations: 8.031 kB / 480.1 MB, free: 5.012 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.632e-05/0.1148, allocations: 48.66 kB / 480.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.1152, allocations: 325.5 kB / 480.4 MB, free: 4.605 MB / 350.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: packager.initialized = previous(packager.initialized) to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.87e-05/0.1153, allocations: 59.27 kB / 480.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.92e-05/0.1153, allocations: 40.38 kB / 480.5 MB, free: 4.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/0.117, allocations: 1.231 MB / 481.8 MB, free: 3.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1171, allocations: 4 kB / 481.8 MB, free: 3.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.234e-05/0.1171, allocations: 16 kB / 481.8 MB, free: 3.234 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.1171, allocations: 8 kB / 481.8 MB, free: 3.227 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004272/0.1176, allocations: 250.4 kB / 482 MB, free: 2.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008428/0.1184, allocations: 0.8289 MB / 482.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.1195, allocations: 0.9924 MB / 483.9 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005592/0.1201, allocations: 431.7 kB / 484.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.795e-05/0.1202, allocations: 32.7 kB / 484.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/0.1203, allocations: 99.42 kB / 484.4 MB, free: 412 kB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 2.224e-06/0.1204, allocations: 0 / 484.4 MB, free: 412 kB / 350.1 MB Notification: Performance of matching and sorting (n=84): time 0.001314/0.1217, allocations: 0.7865 MB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000152/0.1218, allocations: 208.7 kB / 485.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.122, allocations: 207 kB / 485.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/0.1221, allocations: 41.7 kB / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.049e-05/0.1222, allocations: 138.3 kB / 485.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.191e-05/0.1222, allocations: 63.78 kB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.1224, allocations: 134.7 kB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1225, allocations: 346.8 kB / 486.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.1227, allocations: 109.9 kB / 486.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004482/0.1231, allocations: 0.6065 MB / 487 MB, free: 13.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006653/0.1238, allocations: 0.7833 MB / 487.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.1238, allocations: 8 kB / 487.8 MB, free: 12.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0008414/0.1246, allocations: 0.6694 MB / 488.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.1247, allocations: 12 kB / 488.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.1247, allocations: 23.98 kB / 488.5 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.975e-05/0.1247, allocations: 24 kB / 488.5 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003919/0.1251, allocations: 151.7 kB / 488.7 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.94e-05/0.1252, allocations: 39.8 kB / 488.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/0.1255, allocations: 64.14 kB / 488.8 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.373e-05/0.1255, allocations: 55.98 kB / 488.8 MB, free: 11.36 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 63 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,sample4.u,integerExpression1.y,integerExpression2.y,integerExpression.y,getBoolean.y_int[1],getBoolean.y[1],getBoolean.pkgIn.autoPkgBitSize,getBoolean.pkgIn.userPkgBitSize,sample4.y,addBoolean.u_int[1],addBoolean.u[1],addBoolean.pkgOut[1].autoPkgBitSize,addBoolean.pkgOut[1].userPkgBitSize,addBoolean.pkgIn.autoPkgBitSize,addBoolean.pkgIn.userPkgBitSize,sample3.y,sample2.y,sample1.y,unpackInt1.y,unpackInt1.pkgOut[1].autoPkgBitSize,unpackInt1.pkgOut[1].userPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.userPkgBitSize,getInteger.y[1],getInteger.pkgOut[1].autoPkgBitSize,getInteger.pkgOut[1].userPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getInteger.pkgIn.userPkgBitSize,unpackInt.y,unpackInt.pkgOut[1].autoPkgBitSize,unpackInt.pkgOut[1].userPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,unpackInt.pkgIn.userPkgBitSize,resetPointer.pkgOut[1].autoPkgBitSize,resetPointer.pkgOut[1].userPkgBitSize,resetPointer.pkgIn.autoPkgBitSize,resetPointer.pkgIn.userPkgBitSize,packInt1.u,packInt1.pkgOut[1].autoPkgBitSize,packInt1.pkgOut[1].userPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt1.pkgIn.userPkgBitSize,addInteger.u[1],addInteger.pkgOut[1].autoPkgBitSize,addInteger.pkgOut[1].userPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addInteger.pkgIn.userPkgBitSize,packInt.u,packInt.pkgOut[1].autoPkgBitSize,packInt.pkgOut[1].userPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt.pkgIn.userPkgBitSize,$CLKPRE.packager.bufferSize,packager.bufferSize,$CLKPRE.packager.backwardPropagatedBufferSize,packager.backwardPropagatedBufferSize,$CLKPRE.packager.initialized,packager.initialized,packager.pkgOut.autoPkgBitSize,packager.pkgOut.userPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 4 (packager.bufferSize,packager.backwardPropagatedBufferSize,packager.dummy,packager.initialized) * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 89 * 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.0002537/0.1258, allocations: 269.5 kB / 489.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008243/0.1266, allocations: 0.5322 MB / 489.6 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009558/0.1276, allocations: 0.6111 MB / 490.3 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.1276, allocations: 12 kB / 490.3 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.1276, allocations: 7.938 kB / 490.3 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.1276, allocations: 3.984 kB / 490.3 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003533/0.128, allocations: 413 kB / 490.7 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/0.128, allocations: 4 kB / 490.7 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003952/0.1284, allocations: 119.8 kB / 490.8 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.1284, allocations: 4 kB / 490.8 MB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/0.1285, allocations: 20 kB / 490.8 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.1285, allocations: 4 kB / 490.8 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.1285, allocations: 3.938 kB / 490.8 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009949/0.1295, allocations: 0.6769 MB / 491.5 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.373e-05/0.1296, allocations: 124.7 kB / 491.6 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.889e-05/0.1297, allocations: 19.98 kB / 491.7 MB, free: 8.441 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.1298, allocations: 20 kB / 491.7 MB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.1299, allocations: 15.92 kB / 491.7 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-05/0.1299, allocations: 31.98 kB / 491.7 MB, free: 8.375 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.293e-05/0.13, allocations: 124.1 kB / 491.8 MB, free: 8.254 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.13, allocations: 0 / 491.8 MB, free: 8.254 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006304/0.1307, allocations: 119.8 kB / 492 MB, free: 8.137 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: 62 ($whenCondition1,sample4.u,booleanPulse.pulseStart,integerExpression1.y,integerExpression2.y,integerExpression.y,$cse1,$cse2,$cse3,packager.pkgOut.userPkgBitSize,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.userPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt.pkgOut[1].userPkgBitSize,packInt.pkgOut[1].autoPkgBitSize,packInt.u,addInteger.pkgIn.userPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addInteger.pkgOut[1].userPkgBitSize,addInteger.pkgOut[1].autoPkgBitSize,addInteger.u[1],packInt1.pkgIn.userPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt1.pkgOut[1].userPkgBitSize,packInt1.pkgOut[1].autoPkgBitSize,packInt1.u,resetPointer.pkgIn.userPkgBitSize,resetPointer.pkgIn.autoPkgBitSize,resetPointer.pkgOut[1].userPkgBitSize,resetPointer.pkgOut[1].autoPkgBitSize,unpackInt.pkgIn.userPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,unpackInt.pkgOut[1].userPkgBitSize,unpackInt.pkgOut[1].autoPkgBitSize,unpackInt.y,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getInteger.pkgOut[1].userPkgBitSize,getInteger.pkgOut[1].autoPkgBitSize,getInteger.y[1],unpackInt1.pkgIn.userPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,unpackInt1.pkgOut[1].userPkgBitSize,unpackInt1.pkgOut[1].autoPkgBitSize,unpackInt1.y,sample1.y,sample2.y,sample3.y,addBoolean.pkgIn.userPkgBitSize,addBoolean.pkgIn.autoPkgBitSize,addBoolean.pkgOut[1].userPkgBitSize,addBoolean.pkgOut[1].autoPkgBitSize,addBoolean.u[1],addBoolean.u_int[1],sample4.y,getBoolean.pkgIn.userPkgBitSize,getBoolean.pkgIn.autoPkgBitSize,getBoolean.y[1],getBoolean.y_int[1]) * Number of discrete states: 0 () * Number of clocked states: 4 (packager.initialized,packager.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize) * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 1 * If-equations: 1 * 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.0005017/0.1312, allocations: 253 kB / 492.2 MB, free: 7.895 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008252/0.132, allocations: 0.526 MB / 492.7 MB, free: 7.375 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.132, allocations: 0 / 492.7 MB, free: 7.375 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.53e-05/0.1321, allocations: 27.91 kB / 492.8 MB, free: 7.348 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/0.1337, allocations: 1.275 MB / 494 MB, free: 6.031 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.1351, allocations: 0.8493 MB / 494.9 MB, free: 5.141 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.1355, allocations: 0.8636 MB / 495.7 MB, free: 4.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.1357, allocations: 40.56 kB / 495.8 MB, free: 4.207 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.505e-05/0.1357, allocations: 39.42 kB / 495.8 MB, free: 4.168 MB / 366.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1357, allocations: 0 / 495.8 MB, free: 4.168 MB / 366.1 MB Notification: Performance of Templates: time 0.01137/0.1471, allocations: 6.33 MB / 0.4904 GB, free: 13.89 MB / 382.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.makefile (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.sim & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.pipe 2>&1)