Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM") Notification: Performance of loadModel(Modelica_DeviceDrivers): time 2.142/2.142, allocations: 237.8 MB / 250.4 MB, free: 8.512 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.357e-05/3.362e-05, allocations: 7.984 kB / 306.6 MB, free: 10.95 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09346/0.09351, allocations: 53.27 MB / 359.9 MB, free: 5.594 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3635/0.457, allocations: 86.09 MB / 446 MB, free: 4.723 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.4573, allocations: 79.95 kB / 446 MB, free: 4.645 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03905/0.4963, allocations: 9.739 MB / 455.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.92e-06/0.4964, allocations: 0 / 455.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.138e-05/0.4964, allocations: 8 kB / 455.8 MB, free: 10.91 MB / 378.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: getFloat.pkgOut[1].pkg = getInteger.pkgIn.pkg getFloat.pkgIn.pkg = getReal.pkgOut[1].pkg addInteger.pkgOut[1].pkg = lcmSend.pkgIn.pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addFloat.pkgIn.pkg = addReal.pkgOut[1].pkg getReal.pkgIn.pkg = lcmReceive.pkgOut.pkg addReal.pkgIn.pkg = packager.pkgOut.pkg getFloat.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addFloat.pkgIn.pkg getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001813/0.4982, allocations: 1.016 MB / 456.8 MB, free: 9.801 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.4983, allocations: 12.03 kB / 456.8 MB, free: 9.789 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.4985, allocations: 55.38 kB / 456.9 MB, free: 9.734 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006347/0.4991, allocations: 339.2 kB / 457.2 MB, free: 9.363 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.95e-05/0.4992, allocations: 36.98 kB / 457.2 MB, free: 9.324 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.497e-05/0.4993, allocations: 32 kB / 457.3 MB, free: 9.293 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009747/0.5003, allocations: 469.4 kB / 457.7 MB, free: 8.812 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.5003, allocations: 0 / 457.7 MB, free: 8.812 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.617e-05/0.5004, allocations: 16 kB / 457.7 MB, free: 8.797 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.5004, allocations: 12 kB / 457.8 MB, free: 8.785 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006123/0.501, allocations: 247.8 kB / 458 MB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00223/0.5033, allocations: 1.359 MB / 459.4 MB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006549/0.5039, allocations: 287 kB / 459.6 MB, free: 6.797 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.5043, allocations: 155.4 kB / 459.8 MB, free: 6.633 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.616e-05/0.5043, allocations: 12.22 kB / 459.8 MB, free: 6.621 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004708/0.5048, allocations: 244.6 kB / 460 MB, free: 6.348 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 3.231e-06/0.5048, allocations: 0 / 460 MB, free: 6.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.001092/0.5059, allocations: 453.1 kB / 460.5 MB, free: 5.898 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.5061, allocations: 164.4 kB / 460.6 MB, free: 5.707 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003467/0.5064, allocations: 236.7 kB / 460.9 MB, free: 5.473 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.884e-05/0.5065, allocations: 45.69 kB / 460.9 MB, free: 5.422 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.5067, allocations: 208.3 kB / 461.1 MB, free: 5.215 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.5069, allocations: 98.73 kB / 461.2 MB, free: 5.117 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/0.5069, allocations: 12 kB / 461.2 MB, free: 5.105 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.5071, allocations: 346.8 kB / 461.6 MB, free: 4.758 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002933/0.5074, allocations: 113.1 kB / 461.7 MB, free: 4.645 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004524/0.5079, allocations: 309.3 kB / 462 MB, free: 4.258 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004112/0.5083, allocations: 171.8 kB / 462.2 MB, free: 4.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.035e-06/0.5083, allocations: 4 kB / 462.2 MB, free: 4.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001045/0.5094, allocations: 457.2 kB / 462.6 MB, free: 3.633 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.5094, allocations: 8 kB / 462.6 MB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.5094, allocations: 4 kB / 462.6 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/0.5095, allocations: 12 kB / 462.6 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003482/0.5098, allocations: 79.83 kB / 462.7 MB, free: 3.531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.42e-05/0.5099, allocations: 15.98 kB / 462.7 MB, free: 3.516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002608/0.5101, allocations: 35.69 kB / 462.8 MB, free: 3.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.769e-05/0.5102, allocations: 27.98 kB / 462.8 MB, free: 3.453 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.addFloat.pkgOut[1].dummy,addFloat.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.lcmSend.dummy,lcmSend.dummy,$PRE.addReal.pkgOut[1].dummy,addReal.pkgOut[1].dummy,$PRE.packager.pkgOut.dummy,packager.pkgOut.dummy,$whenCondition2,addInteger.pkgOut[1].trigger,addInteger.pkgOut[1].backwardTrigger,addInteger.u[1],$PRE.getFloat.dummy,getFloat.dummy,$PRE.getFloat.y[2],getFloat.y[2],$PRE.getFloat.y[1],getFloat.y[1],$PRE.getFloat.pkgOut[1].dummy,getFloat.pkgOut[1].dummy,$PRE.getInteger.dummy,getInteger.dummy,$PRE.getInteger.y[1],getInteger.y[1],$PRE.getReal.dummy,getReal.dummy,$PRE.getReal.y[3],getReal.y[3],$PRE.getReal.y[2],getReal.y[2],$PRE.getReal.y[1],getReal.y[1],$PRE.getReal.pkgOut[1].dummy,getReal.pkgOut[1].dummy,$PRE.lcmReceive.pkgOut.dummy,lcmReceive.pkgOut.dummy,$whenCondition1,getFloat.pkgOut[1].trigger,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,lcmReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,lcmSend.bufferSize,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,lcmSend.pkgIn.userPkgBitSize,lcmSend.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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.0002292/0.5105, allocations: 170.3 kB / 462.9 MB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.808e-05/0.5106, allocations: 31.62 kB / 463 MB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005392/0.5111, allocations: 235.4 kB / 463.2 MB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.158e-06/0.5111, allocations: 4 kB / 463.2 MB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.421e-06/0.5111, allocations: 0 / 463.2 MB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.5112, allocations: 15.94 kB / 463.2 MB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.513, allocations: 1.005 MB / 464.2 MB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.082e-06/0.5131, allocations: 0 / 464.2 MB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.408e-05/0.5131, allocations: 15.98 kB / 464.2 MB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/0.5132, allocations: 7.938 kB / 464.3 MB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.12e-05/0.5132, allocations: 16 kB / 464.3 MB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.469e-06/0.5132, allocations: 4 kB / 464.3 MB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.519e-06/0.5133, allocations: 8 kB / 464.3 MB, free: 1.879 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.5144, allocations: 0.666 MB / 464.9 MB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.402e-05/0.5145, allocations: 108.7 kB / 465.1 MB, free: 1.047 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.875e-05/0.5146, allocations: 7.984 kB / 465.1 MB, free: 1.039 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.5148, allocations: 11.98 kB / 465.1 MB, free: 1.027 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.047e-05/0.5149, allocations: 23.91 kB / 465.1 MB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-05/0.515, allocations: 15.98 kB / 465.1 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000183/0.5152, allocations: 153.4 kB / 465.3 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.89e-07/0.5152, allocations: 0 / 465.3 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008579/0.516, allocations: 167.5 kB / 465.4 MB, free: 0.6758 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 35 (getFloat.pkgOut[1].trigger,$whenCondition1,lcmReceive.pkgOut.dummy,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,lcmReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,addInteger.pkgOut[1].trigger,$whenCondition2,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,lcmSend.bufferSize,lcmSend.dummy,addInteger.pkgOut[1].dummy,addInteger.pkgOut[1].backwardTrigger,addInteger.u[1],addFloat.pkgOut[1].dummy,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,lcmSend.pkgIn.userPkgBitSize,lcmSend.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 23 * 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.001142/0.5172, allocations: 407.3 kB / 465.8 MB, free: 348 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007638/0.518, allocations: 325.5 kB / 466.1 MB, free: 24 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.518, allocations: 0.625 kB / 466.1 MB, free: 24 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003705/0.5184, allocations: 163.9 kB / 466.3 MB, free: 15.86 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005638/0.519, allocations: 80.17 kB / 466.4 MB, free: 15.79 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.5204, allocations: 0.526 MB / 466.9 MB, free: 15.23 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005675/0.521, allocations: 0.8268 MB / 467.7 MB, free: 14.38 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001939/0.5212, allocations: 55.12 kB / 467.8 MB, free: 14.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.414e-05/0.5213, allocations: 27.42 kB / 467.8 MB, free: 14.3 MB / 394.7 MB Notification: Performance of SimCode: time 1.869e-06/0.5214, allocations: 3.938 kB / 467.8 MB, free: 14.29 MB / 394.7 MB Notification: Performance of Templates: time 0.01407/0.5354, allocations: 5.056 MB / 472.9 MB, free: 9.277 MB / 394.7 MB