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.001426/0.001426, allocations: 107.5 kB / 17.07 MB, free: 5.68 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.001494/0.001494, allocations: 194.9 kB / 18.01 MB, free: 5.02 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.296/1.296, allocations: 222.9 MB / 241.7 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.05502/0.05502, allocations: 12.04 MB / 303.9 MB, free: 3.102 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.91 kB / 367.9 MB, free: 3.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.193, allocations: 52.33 MB / 420.2 MB, free: 20.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager): time 0.003732/0.1967, allocations: 2.877 MB / 423.1 MB, free: 18.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.198, allocations: 1.067 MB / 424.2 MB, free: 16.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.1982, allocations: 15.88 kB / 424.2 MB, free: 16.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.1984, allocations: 67.34 kB / 424.3 MB, free: 16.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.1986, allocations: 42.28 kB / 424.3 MB, free: 16.85 MB / 302.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.0007124/0.1993, allocations: 294.9 kB / 424.6 MB, free: 16.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002948/0.1996, allocations: 403.7 kB / 425 MB, free: 16.17 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003149/0.1999, allocations: 225.8 kB / 425.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.2001, allocations: 183.4 kB / 425.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002281/0.2003, allocations: 223 kB / 425.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.555e-05/0.2004, allocations: 44 kB / 425.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.2006, allocations: 123.9 kB / 425.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.2007, allocations: 139.6 kB / 425.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.2009, allocations: 198.9 kB / 426.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004683/0.2013, allocations: 0.574 MB / 426.7 MB, free: 14.47 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2013, allocations: 0 / 426.7 MB, free: 14.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2014, allocations: 0 / 426.7 MB, free: 14.47 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.2014, allocations: 0 / 426.7 MB, free: 14.47 MB / 302.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.001526/0.2029, allocations: 1.207 MB / 427.9 MB, free: 13.17 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.2029, allocations: 8.031 kB / 427.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.272e-05/0.203, allocations: 44.41 kB / 427.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.2033, allocations: 321.4 kB / 428.2 MB, free: 12.76 MB / 302.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 6.915e-05/0.2034, allocations: 63.27 kB / 428.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.295e-05/0.2035, allocations: 40.38 kB / 428.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.2049, allocations: 1.239 MB / 429.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.2049, allocations: 0 / 429.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.2049, allocations: 16 kB / 429.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.2049, allocations: 12 kB / 429.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000354/0.2053, allocations: 250.4 kB / 429.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006686/0.206, allocations: 0.8326 MB / 430.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008659/0.2068, allocations: 0.9963 MB / 431.7 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004485/0.2073, allocations: 431.7 kB / 432.1 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.026e-05/0.2074, allocations: 36.7 kB / 432.1 MB, free: 8.656 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.012e-05/0.2075, allocations: 95.42 kB / 432.2 MB, free: 8.535 MB / 302.1 MB Notification: Performance of pre-optimization done (n=84): time 2.936e-06/0.2075, allocations: 0 / 432.2 MB, free: 8.535 MB / 302.1 MB Notification: Performance of matching and sorting (n=84): time 0.001086/0.2086, allocations: 0.7829 MB / 433 MB, free: 7.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.278e-05/0.2087, allocations: 212.7 kB / 433.2 MB, free: 7.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.2088, allocations: 203.8 kB / 433.4 MB, free: 7.293 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.2089, allocations: 41.7 kB / 433.5 MB, free: 7.246 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.2089, allocations: 129.9 kB / 433.6 MB, free: 7.117 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/0.209, allocations: 59.61 kB / 433.7 MB, free: 7.059 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.2091, allocations: 134.7 kB / 433.8 MB, free: 6.918 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.055e-05/0.2091, allocations: 350.8 kB / 434.1 MB, free: 6.566 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.2093, allocations: 113.9 kB / 434.2 MB, free: 6.457 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/0.2095, allocations: 0.6104 MB / 434.9 MB, free: 5.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004451/0.21, allocations: 0.7833 MB / 435.6 MB, free: 4.551 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.21, allocations: 4 kB / 435.6 MB, free: 4.547 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0006825/0.2107, allocations: 0.6656 MB / 436.3 MB, free: 3.875 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.2107, allocations: 12.22 kB / 436.3 MB, free: 3.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.2107, allocations: 24 kB / 436.3 MB, free: 3.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.2108, allocations: 24 kB / 436.4 MB, free: 3.816 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003325/0.2111, allocations: 159.6 kB / 436.5 MB, free: 3.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.02e-05/0.2111, allocations: 39.8 kB / 436.6 MB, free: 3.621 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002767/0.2114, allocations: 67.52 kB / 436.6 MB, free: 3.555 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-05/0.2115, allocations: 44.23 kB / 436.7 MB, free: 3.512 MB / 302.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.0001863/0.2116, allocations: 265.4 kB / 436.9 MB, free: 3.242 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000658/0.2123, allocations: 0.5398 MB / 437.5 MB, free: 2.695 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008097/0.2131, allocations: 0.5997 MB / 438.1 MB, free: 2.094 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.2131, allocations: 8 kB / 438.1 MB, free: 2.086 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2132, allocations: 3.938 kB / 438.1 MB, free: 2.082 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.2132, allocations: 7.984 kB / 438.1 MB, free: 2.074 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.2134, allocations: 408.8 kB / 438.5 MB, free: 1.625 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.2134, allocations: 4 kB / 438.5 MB, free: 1.621 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003402/0.2138, allocations: 123.8 kB / 438.6 MB, free: 1.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.2138, allocations: 4 kB / 438.6 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.476e-05/0.2138, allocations: 23.98 kB / 438.6 MB, free: 1.473 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.2138, allocations: 8 kB / 438.6 MB, free: 1.465 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2138, allocations: 7.922 kB / 438.7 MB, free: 1.457 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007508/0.2146, allocations: 0.669 MB / 439.3 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.482e-05/0.2146, allocations: 128.4 kB / 439.4 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.04e-05/0.2147, allocations: 16 kB / 439.5 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.2148, allocations: 23.98 kB / 439.5 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.2149, allocations: 11.94 kB / 439.5 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.972e-05/0.215, allocations: 27.98 kB / 439.5 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.387e-05/0.215, allocations: 128.3 kB / 439.6 MB, free: 416 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.215, allocations: 4 kB / 439.7 MB, free: 412 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.000537/0.2156, allocations: 119.9 kB / 439.8 MB, free: 292 kB / 302.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.0003774/0.216, allocations: 258.1 kB / 440 MB, free: 44 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007394/0.2167, allocations: 0.5258 MB / 440.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2167, allocations: 0 / 440.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.496e-05/0.2168, allocations: 19.98 kB / 440.6 MB, free: 15.5 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/0.2182, allocations: 1.285 MB / 441.9 MB, free: 14.18 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.2194, allocations: 0.8346 MB / 442.7 MB, free: 13.3 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.2198, allocations: 0.8558 MB / 443.5 MB, free: 12.41 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.2199, allocations: 48.27 kB / 443.6 MB, free: 12.37 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.194e-05/0.22, allocations: 43.38 kB / 443.6 MB, free: 12.32 MB / 318.1 MB Notification: Performance of SimCode: time 1.793e-06/0.22, allocations: 0 / 443.6 MB, free: 12.32 MB / 318.1 MB Notification: Performance of Templates: time 0.01018/0.2301, allocations: 6.24 MB / 449.9 MB, free: 6.133 MB / 318.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 -s cvode -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.pipe 2>&1)