Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager") Notification: Performance of loadModel(Modelica_DeviceDrivers): time 2.087/2.087, allocations: 237.8 MB / 250.4 MB, free: 8.512 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.152e-05/3.158e-05, allocations: 4 kB / 306.6 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1458, allocations: 53.27 MB / 359.9 MB, free: 5.582 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.424/0.5698, allocations: 84.96 MB / 444.8 MB, free: 5.828 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.5701, allocations: 73.98 kB / 444.9 MB, free: 5.758 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03806/0.6082, allocations: 9.235 MB / 454.1 MB, free: 12.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.848e-06/0.6082, allocations: 0 / 454.1 MB, free: 12.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.392e-05/0.6083, allocations: 15.94 kB / 454.2 MB, free: 12.5 MB / 378.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: addBoolean.pkgOut[1].pkg = resetPointer.pkgIn.pkg getBoolean.pkgIn.pkg = getInteger.pkgOut[1].pkg addBoolean.pkgIn.pkg = addInteger.pkgOut[1].pkg getInteger.pkgIn.pkg = unpackInt1.pkgOut[1].pkg unpackInt.pkgOut[1].pkg = unpackInt1.pkgIn.pkg resetPointer.pkgOut[1].pkg = unpackInt.pkgIn.pkg addInteger.pkgIn.pkg = packInt1.pkgOut[1].pkg packInt.pkgOut[1].pkg = packInt1.pkgIn.pkg packInt.pkgIn.pkg = packager.pkgOut.pkg 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 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.002086/0.6104, allocations: 1.156 MB / 455.3 MB, free: 11.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.6104, allocations: 8.031 kB / 455.3 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.6106, allocations: 55.42 kB / 455.4 MB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006793/0.6113, allocations: 352.1 kB / 455.7 MB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.271e-05/0.6114, allocations: 32.98 kB / 455.7 MB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-05/0.6115, allocations: 44 kB / 455.8 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.6126, allocations: 485 kB / 456.3 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.6126, allocations: 0 / 456.3 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-05/0.6127, allocations: 19.98 kB / 456.3 MB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.6127, allocations: 19.95 kB / 456.3 MB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007226/0.6134, allocations: 281.4 kB / 456.6 MB, free: 9.902 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002331/0.6158, allocations: 1.218 MB / 457.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009656/0.6168, allocations: 360 kB / 458.1 MB, free: 8.242 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003152/0.6171, allocations: 146.9 kB / 458.3 MB, free: 8.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.714e-05/0.6172, allocations: 8.172 kB / 458.3 MB, free: 8.082 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005052/0.6177, allocations: 234.8 kB / 458.5 MB, free: 7.828 MB / 378.7 MB Notification: Performance of pre-optimization done (n=39): time 5.798e-06/0.6177, allocations: 4 kB / 458.5 MB, free: 7.824 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.001142/0.6189, allocations: 447.9 kB / 459 MB, free: 7.383 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.619, allocations: 131 kB / 459.1 MB, free: 7.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/0.6193, allocations: 210 kB / 459.3 MB, free: 7.016 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.425e-05/0.6194, allocations: 41.7 kB / 459.3 MB, free: 6.969 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002004/0.6196, allocations: 220.8 kB / 459.6 MB, free: 6.746 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.6197, allocations: 90.89 kB / 459.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.6197, allocations: 8 kB / 459.7 MB, free: 6.648 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.6199, allocations: 342.8 kB / 460 MB, free: 6.305 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003024/0.6203, allocations: 109.1 kB / 460.1 MB, free: 6.199 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004524/0.6207, allocations: 293.1 kB / 460.4 MB, free: 5.832 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/0.6211, allocations: 171.9 kB / 460.6 MB, free: 5.664 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-05/0.6212, allocations: 4 kB / 460.6 MB, free: 5.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001019/0.6222, allocations: 429.4 kB / 461 MB, free: 5.234 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.6222, allocations: 12.12 kB / 461 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.6223, allocations: 8 kB / 461 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.089e-05/0.6223, allocations: 8 kB / 461 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/0.6227, allocations: 79.78 kB / 461.1 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.772e-05/0.6227, allocations: 8 kB / 461.1 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000312/0.623, allocations: 43.64 kB / 461.1 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.161e-05/0.6231, allocations: 20 kB / 461.1 MB, free: 5.059 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.getBoolean.dummy,getBoolean.dummy,$PRE.addBoolean.pkgOut[1].dummy,addBoolean.pkgOut[1].dummy,$PRE.unpackInt1.dummy,unpackInt1.dummy,$PRE.unpackInt1.y,unpackInt1.y,$PRE.unpackInt1.pkgOut[1].dummy,unpackInt1.pkgOut[1].dummy,$PRE.getInteger.dummy,getInteger.dummy,$PRE.getInteger.y[1],getInteger.y[1],$PRE.getInteger.pkgOut[1].dummy,getInteger.pkgOut[1].dummy,$PRE.unpackInt.dummy,unpackInt.dummy,$PRE.unpackInt.y,unpackInt.y,$PRE.unpackInt.pkgOut[1].dummy,unpackInt.pkgOut[1].dummy,$PRE.resetPointer.dummy,resetPointer.dummy,$PRE.resetPointer.pkgOut[1].dummy,resetPointer.pkgOut[1].dummy,$PRE.packInt1.pkgOut[1].dummy,packInt1.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.packInt.pkgOut[1].dummy,packInt.pkgOut[1].dummy,$PRE.packager.pkgOut.dummy,packager.pkgOut.dummy,$whenCondition2,integerExpression.y,$whenCondition1,addBoolean.pkgOut[1].trigger,addInteger.u[1],integerExpression1.y,getBoolean.y[1],$PRE.getBoolean.y_int[1],getBoolean.y_int[1],addBoolean.u[1],addBoolean.u_int[1],$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,unpackInt.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,getBoolean.pkgIn.autoPkgBitSize,getBoolean.pkgIn.userPkgBitSize,getBoolean.pkgIn.backwardTrigger,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,resetPointer.pkgIn.autoPkgBitSize,addBoolean.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000236/0.6233, allocations: 184.8 kB / 461.3 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/0.6234, allocations: 27.72 kB / 461.4 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.498e-05/0.6235, allocations: 22.55 kB / 461.4 MB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.753e-06/0.6235, allocations: 11.88 kB / 461.4 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.488e-06/0.6235, allocations: 0 / 461.4 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.974e-06/0.6235, allocations: 0 / 461.4 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001856/0.6254, allocations: 0.9274 MB / 462.3 MB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.683e-06/0.6254, allocations: 0 / 462.3 MB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.332e-05/0.6255, allocations: 11.94 kB / 462.3 MB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.056e-06/0.6256, allocations: 4 kB / 462.3 MB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.031e-05/0.6256, allocations: 11.98 kB / 462.3 MB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.5e-06/0.6256, allocations: 4 kB / 462.3 MB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.292e-06/0.6256, allocations: 0 / 462.3 MB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.6268, allocations: 0.5772 MB / 462.9 MB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.776e-05/0.6269, allocations: 100.8 kB / 463 MB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.642e-05/0.627, allocations: 11.98 kB / 463 MB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.6273, allocations: 19.98 kB / 463.1 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.983e-05/0.6274, allocations: 27.92 kB / 463.1 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.606e-05/0.6275, allocations: 19.98 kB / 463.1 MB, free: 2.984 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001568/0.6276, allocations: 136.8 kB / 463.2 MB, free: 2.852 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.93e-07/0.6276, allocations: 0 / 463.2 MB, free: 2.852 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007441/0.6284, allocations: 143.6 kB / 463.4 MB, free: 2.711 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 39 (unpackInt.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,getBoolean.pkgIn.autoPkgBitSize,addBoolean.pkgOut[1].trigger,$whenCondition2,$whenCondition1,integerExpression.y,packager.pkgOut.dummy,packInt.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],integerExpression1.y,packInt1.pkgOut[1].dummy,resetPointer.pkgOut[1].dummy,resetPointer.dummy,unpackInt.pkgOut[1].dummy,unpackInt.y,unpackInt.dummy,getInteger.pkgOut[1].dummy,getInteger.y[1],getInteger.dummy,unpackInt1.pkgOut[1].dummy,unpackInt1.y,unpackInt1.dummy,addBoolean.pkgOut[1].dummy,addBoolean.u[1],addBoolean.u_int[1],getBoolean.y[1],getBoolean.y_int[1],getBoolean.dummy,booleanPulse.pulseStart,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,resetPointer.pkgIn.autoPkgBitSize,addBoolean.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 26 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005215/0.6289, allocations: 225.1 kB / 463.6 MB, free: 2.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007931/0.6297, allocations: 319.5 kB / 463.9 MB, free: 2.188 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.6298, allocations: 0 / 463.9 MB, free: 2.188 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003924/0.6302, allocations: 155.8 kB / 464.1 MB, free: 2.035 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008701/0.631, allocations: 68.36 kB / 464.1 MB, free: 1.973 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/0.6335, allocations: 0.5113 MB / 464.6 MB, free: 1.438 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006615/0.6342, allocations: 0.8274 MB / 465.5 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000209/0.6344, allocations: 54.92 kB / 465.5 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.906e-05/0.6345, allocations: 23.44 kB / 465.5 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of SimCode: time 1.631e-06/0.6346, allocations: 0 / 465.5 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of Templates: time 0.01418/0.6487, allocations: 4.457 MB / 470 MB, free: 12.09 MB / 394.7 MB