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.001117/0.001117, allocations: 110.8 kB / 17.09 MB, free: 5.773 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.001015/0.001015, allocations: 195 kB / 18.03 MB, free: 4.953 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.291/1.291, allocations: 222.9 MB / 241.7 MB, free: 15.17 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.05695/0.05695, allocations: 12.03 MB / 303.9 MB, free: 3.168 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 63.89 kB / 367.9 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1855, allocations: 52.33 MB / 420.2 MB, free: 20.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager): time 0.00351/0.189, allocations: 2.874 MB / 423.1 MB, free: 18.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.1903, allocations: 1.075 MB / 424.2 MB, free: 17.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.1904, allocations: 11.94 kB / 424.2 MB, free: 17.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.1906, allocations: 71.28 kB / 424.3 MB, free: 16.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.1907, allocations: 43.53 kB / 424.3 MB, free: 16.91 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.0006197/0.1913, allocations: 301.8 kB / 424.6 MB, free: 16.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002839/0.1916, allocations: 391.7 kB / 425 MB, free: 16.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002401/0.1919, allocations: 216.8 kB / 425.2 MB, free: 16.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.192, allocations: 187.3 kB / 425.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.1922, allocations: 227 kB / 425.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.693e-05/0.1923, allocations: 44 kB / 425.7 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.1924, allocations: 123.9 kB / 425.8 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.1925, allocations: 135.6 kB / 425.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.1926, allocations: 202.9 kB / 426.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003724/0.193, allocations: 0.5663 MB / 426.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.193, allocations: 0 / 426.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.193, allocations: 0 / 426.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.193, allocations: 0 / 426.7 MB, free: 14.55 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.001255/0.1943, allocations: 1.223 MB / 427.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.767e-05/0.1943, allocations: 8.031 kB / 427.9 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.684e-05/0.1944, allocations: 40.47 kB / 427.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.1947, allocations: 325.3 kB / 428.3 MB, free: 12.82 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 5.988e-05/0.1948, allocations: 67.25 kB / 428.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.371e-05/0.1948, allocations: 36.38 kB / 428.4 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.1962, allocations: 1.235 MB / 429.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.1962, allocations: 0 / 429.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.251e-05/0.1962, allocations: 16 kB / 429.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.1963, allocations: 8 kB / 429.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003688/0.1966, allocations: 246.4 kB / 429.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006529/0.1973, allocations: 0.8442 MB / 430.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008656/0.1982, allocations: 0.996 MB / 431.7 MB, free: 9.195 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004658/0.1986, allocations: 427.7 kB / 432.1 MB, free: 8.762 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.404e-05/0.1987, allocations: 32.7 kB / 432.2 MB, free: 8.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.325e-05/0.1988, allocations: 107.4 kB / 432.3 MB, free: 8.598 MB / 302.1 MB Notification: Performance of pre-optimization done (n=84): time 2.254e-06/0.1988, allocations: 0 / 432.3 MB, free: 8.598 MB / 302.1 MB Notification: Performance of matching and sorting (n=84): time 0.001092/0.1999, allocations: 0.7825 MB / 433 MB, free: 7.812 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.21e-05/0.2, allocations: 209.1 kB / 433.2 MB, free: 7.566 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.2002, allocations: 206.8 kB / 433.4 MB, free: 7.355 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.2002, allocations: 41.7 kB / 433.5 MB, free: 7.309 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.2003, allocations: 129.9 kB / 433.6 MB, free: 7.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.214e-05/0.2003, allocations: 63.61 kB / 433.7 MB, free: 7.117 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.2004, allocations: 134.7 kB / 433.8 MB, free: 6.977 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.354e-05/0.2005, allocations: 346.8 kB / 434.1 MB, free: 6.629 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.2006, allocations: 109.9 kB / 434.3 MB, free: 6.523 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.2009, allocations: 0.6026 MB / 434.9 MB, free: 5.664 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004292/0.2013, allocations: 0.7911 MB / 435.6 MB, free: 4.617 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.2013, allocations: 4 kB / 435.7 MB, free: 4.613 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0006772/0.202, allocations: 0.6648 MB / 436.3 MB, free: 3.941 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.202, allocations: 13 kB / 436.3 MB, free: 3.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.2021, allocations: 20 kB / 436.3 MB, free: 3.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.2021, allocations: 28 kB / 436.4 MB, free: 3.883 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/0.2024, allocations: 159.7 kB / 436.5 MB, free: 3.727 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.009e-05/0.2025, allocations: 39.8 kB / 436.6 MB, free: 3.688 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/0.2027, allocations: 63.53 kB / 436.6 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/0.2028, allocations: 44 kB / 436.7 MB, free: 3.582 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.0001797/0.203, allocations: 265.6 kB / 436.9 MB, free: 3.312 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006705/0.2036, allocations: 0.5398 MB / 437.5 MB, free: 2.766 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007856/0.2044, allocations: 0.6031 MB / 438.1 MB, free: 2.164 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.2045, allocations: 8 kB / 438.1 MB, free: 2.156 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2045, allocations: 7.875 kB / 438.1 MB, free: 2.148 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.2045, allocations: 7.984 kB / 438.1 MB, free: 2.141 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.2047, allocations: 412.8 kB / 438.5 MB, free: 1.688 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.2047, allocations: 4 kB / 438.5 MB, free: 1.684 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003403/0.2051, allocations: 119.8 kB / 438.6 MB, free: 1.566 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.2051, allocations: 4 kB / 438.6 MB, free: 1.562 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/0.2051, allocations: 28 kB / 438.7 MB, free: 1.535 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.2051, allocations: 4 kB / 438.7 MB, free: 1.531 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2051, allocations: 3.938 kB / 438.7 MB, free: 1.527 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007338/0.2059, allocations: 0.6651 MB / 439.3 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-05/0.2059, allocations: 128.5 kB / 439.5 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.778e-05/0.206, allocations: 16 kB / 439.5 MB, free: 0.668 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.2061, allocations: 23.98 kB / 439.5 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.2062, allocations: 11.92 kB / 439.5 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/0.2062, allocations: 31.98 kB / 439.5 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.856e-05/0.2063, allocations: 129.2 kB / 439.7 MB, free: 488 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2063, allocations: 0 / 439.7 MB, free: 488 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005158/0.2068, allocations: 119.9 kB / 439.8 MB, free: 368 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.0003466/0.2072, allocations: 264.1 kB / 440 MB, free: 108 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007019/0.2079, allocations: 0.5185 MB / 440.6 MB, free: 15.59 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2079, allocations: 4.125 kB / 440.6 MB, free: 15.59 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.564e-05/0.208, allocations: 27.91 kB / 440.6 MB, free: 15.56 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/0.2093, allocations: 1.274 MB / 441.9 MB, free: 14.24 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.2105, allocations: 0.8347 MB / 442.7 MB, free: 13.36 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.2109, allocations: 0.8558 MB / 443.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.627e-05/0.211, allocations: 44.27 kB / 443.6 MB, free: 12.44 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.145e-05/0.2111, allocations: 43.42 kB / 443.6 MB, free: 12.39 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2111, allocations: 4 kB / 443.6 MB, free: 12.39 MB / 318.1 MB Notification: Performance of Templates: time 0.009839/0.2209, allocations: 6.232 MB / 449.9 MB, free: 6.207 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 gbode -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.pipe 2>&1)