Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT") Notification: Performance of loadModel(Modelica_DeviceDrivers): time 2.112/2.112, allocations: 237.8 MB / 250.4 MB, free: 8.629 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.702e-05/2.713e-05, allocations: 6.188 kB / 306.6 MB, free: 10.95 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09225/0.0923, allocations: 53.27 MB / 359.9 MB, free: 5.602 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.361/0.4533, allocations: 87.19 MB / 447.1 MB, free: 3.602 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/0.4536, allocations: 71.95 kB / 447.1 MB, free: 3.531 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04778/0.5014, allocations: 12.46 MB / 459.6 MB, free: 7.074 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.281e-06/0.5014, allocations: 0 / 459.6 MB, free: 7.074 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.143e-05/0.5015, allocations: 19.94 kB / 459.6 MB, free: 7.055 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 = mqttSend.pkgIn.pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addFloat.pkgIn.pkg = addReal.pkgOut[1].pkg getReal.pkgIn.pkg = mqttReceive.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.001898/0.5034, allocations: 1.077 MB / 460.7 MB, free: 5.883 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.5034, allocations: 12.03 kB / 460.7 MB, free: 5.871 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.5036, allocations: 67.19 kB / 460.8 MB, free: 5.805 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007456/0.5043, allocations: 368.6 kB / 461.1 MB, free: 5.406 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.046e-05/0.5044, allocations: 32.98 kB / 461.2 MB, free: 5.375 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.359e-05/0.5045, allocations: 40 kB / 461.2 MB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009984/0.5055, allocations: 461.5 kB / 461.7 MB, free: 4.859 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.5056, allocations: 3.938 kB / 461.7 MB, free: 4.855 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/0.5056, allocations: 23.98 kB / 461.7 MB, free: 4.832 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.5057, allocations: 8 kB / 461.7 MB, free: 4.824 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006128/0.5063, allocations: 247.8 kB / 461.9 MB, free: 4.582 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002417/0.5087, allocations: 1.386 MB / 463.3 MB, free: 3.125 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006706/0.5094, allocations: 290.4 kB / 463.6 MB, free: 2.805 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003095/0.5097, allocations: 147.4 kB / 463.7 MB, free: 2.648 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.657e-05/0.5098, allocations: 16 kB / 463.8 MB, free: 2.633 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004771/0.5103, allocations: 240.6 kB / 464 MB, free: 2.367 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 3.148e-06/0.5103, allocations: 0 / 464 MB, free: 2.367 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.001153/0.5115, allocations: 463.4 kB / 464.4 MB, free: 1.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.5116, allocations: 156.5 kB / 464.6 MB, free: 1.727 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006258/0.5122, allocations: 363.3 kB / 465 MB, free: 1.363 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.128e-05/0.5123, allocations: 45.69 kB / 465 MB, free: 1.312 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.5126, allocations: 240.2 kB / 465.2 MB, free: 1.074 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.5127, allocations: 102.7 kB / 465.3 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.5127, allocations: 12 kB / 465.3 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.513, allocations: 350.8 kB / 465.7 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003204/0.5133, allocations: 121.1 kB / 465.8 MB, free: 500 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004731/0.5138, allocations: 321.8 kB / 466.1 MB, free: 92 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004352/0.5142, allocations: 179.9 kB / 466.3 MB, free: 15.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.645e-06/0.5143, allocations: 0 / 466.3 MB, free: 15.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001154/0.5154, allocations: 485.3 kB / 466.8 MB, free: 15.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.5155, allocations: 12 kB / 466.8 MB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.5155, allocations: 4 kB / 466.8 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.862e-05/0.5155, allocations: 12 kB / 466.8 MB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003537/0.5159, allocations: 71.84 kB / 466.9 MB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.43e-05/0.5159, allocations: 23.88 kB / 466.9 MB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/0.5162, allocations: 39.59 kB / 466.9 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-05/0.5163, allocations: 24 kB / 467 MB, free: 15.25 MB / 394.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.mqttSend.dummy,mqttSend.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.mqttReceive.pkgOut.dummy,mqttReceive.pkgOut.dummy,$whenCondition1,getFloat.pkgOut[1].trigger,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,mqttReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,mqttSend.bufferSize,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,mqttSend.pkgIn.userPkgBitSize,mqttSend.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.0002245/0.5165, allocations: 174 kB / 467.1 MB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.5167, allocations: 39.53 kB / 467.2 MB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000567/0.5172, allocations: 240.6 kB / 467.4 MB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.956e-06/0.5173, allocations: 4 kB / 467.4 MB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.551e-06/0.5173, allocations: 4 kB / 467.4 MB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.684e-06/0.5173, allocations: 3.953 kB / 467.4 MB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001985/0.5193, allocations: 1.06 MB / 468.5 MB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.953e-06/0.5193, allocations: 0 / 468.5 MB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.365e-05/0.5194, allocations: 15.98 kB / 468.5 MB, free: 13.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.407e-06/0.5194, allocations: 0 / 468.5 MB, free: 13.65 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.103e-05/0.5195, allocations: 19.94 kB / 468.5 MB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.13e-06/0.5195, allocations: 0 / 468.5 MB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.612e-06/0.5195, allocations: 4 kB / 468.5 MB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.5207, allocations: 0.6854 MB / 469.2 MB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.5208, allocations: 116.6 kB / 469.3 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.788e-05/0.5209, allocations: 11.98 kB / 469.3 MB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.5212, allocations: 8 kB / 469.3 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.5212, allocations: 27.89 kB / 469.4 MB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.047e-05/0.5213, allocations: 15.98 kB / 469.4 MB, free: 12.71 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003442/0.5217, allocations: 230.2 kB / 469.6 MB, free: 12.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.63e-07/0.5217, allocations: 0 / 469.6 MB, free: 12.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009176/0.5226, allocations: 187.5 kB / 469.8 MB, free: 12.3 MB / 394.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,mqttReceive.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,mqttReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,addInteger.pkgOut[1].trigger,$whenCondition2,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,mqttSend.bufferSize,mqttSend.dummy,addInteger.pkgOut[1].dummy,addInteger.pkgOut[1].backwardTrigger,addInteger.u[1],addFloat.pkgOut[1].dummy,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,mqttSend.pkgIn.userPkgBitSize,mqttSend.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.001371/0.524, allocations: 474.9 kB / 470.2 MB, free: 11.91 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008281/0.5249, allocations: 348.6 kB / 470.6 MB, free: 11.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.5249, allocations: 0 / 470.6 MB, free: 11.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003562/0.5252, allocations: 155.9 kB / 470.7 MB, free: 11.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007146/0.526, allocations: 105.9 kB / 470.8 MB, free: 11.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.5276, allocations: 0.6114 MB / 471.5 MB, free: 10.67 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006087/0.5283, allocations: 0.8541 MB / 472.3 MB, free: 9.793 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002311/0.5285, allocations: 67.39 kB / 472.4 MB, free: 9.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.5287, allocations: 35.42 kB / 472.4 MB, free: 9.695 MB / 394.7 MB Notification: Performance of SimCode: time 1.378e-06/0.5287, allocations: 0 / 472.4 MB, free: 9.695 MB / 394.7 MB Notification: Performance of Templates: time 0.01663/0.5453, allocations: 6.437 MB / 478.8 MB, free: 3.293 MB / 394.7 MB