Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread") Notification: Performance of loadModel(Modelica_DeviceDrivers): time 2.085/2.085, allocations: 237.8 MB / 250.4 MB, free: 8.469 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.852e-05/2.854e-05, allocations: 4 kB / 306.6 MB, free: 10.96 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1232, allocations: 53.28 MB / 359.9 MB, free: 5.602 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3759/0.4992, allocations: 86.18 MB / 446.1 MB, free: 4.602 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.4994, allocations: 72.91 kB / 446.1 MB, free: 4.531 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0394/0.5388, allocations: 9.618 MB / 455.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.066e-06/0.5389, allocations: 0 / 455.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.564e-05/0.5389, allocations: 16 kB / 455.8 MB, free: 10.9 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 = uDPSend.pkgIn.pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addFloat.pkgIn.pkg = addReal.pkgOut[1].pkg getReal.pkgIn.pkg = uDPReceive.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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001805/0.5407, allocations: 1.02 MB / 456.8 MB, free: 9.789 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.5408, allocations: 12.03 kB / 456.8 MB, free: 9.777 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.5409, allocations: 47.44 kB / 456.9 MB, free: 9.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006352/0.5416, allocations: 335.3 kB / 457.2 MB, free: 9.363 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.777e-05/0.5416, allocations: 29 kB / 457.2 MB, free: 9.332 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.31e-05/0.5417, allocations: 43.98 kB / 457.2 MB, free: 9.289 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.5428, allocations: 483.4 kB / 457.7 MB, free: 8.793 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.5428, allocations: 0 / 457.7 MB, free: 8.793 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.875e-05/0.5429, allocations: 16 kB / 457.7 MB, free: 8.777 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.5429, allocations: 15.95 kB / 457.8 MB, free: 8.762 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006234/0.5435, allocations: 245 kB / 458 MB, free: 8.523 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002315/0.5459, allocations: 1.432 MB / 459.4 MB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000672/0.5466, allocations: 289.9 kB / 459.7 MB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003259/0.5469, allocations: 153 kB / 459.9 MB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.963e-05/0.547, allocations: 12.17 kB / 459.9 MB, free: 6.508 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004904/0.5475, allocations: 252.2 kB / 460.1 MB, free: 6.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 3.941e-06/0.5475, allocations: 0 / 460.1 MB, free: 6.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.001197/0.5487, allocations: 488.8 kB / 460.6 MB, free: 5.746 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001402/0.5489, allocations: 174.2 kB / 460.8 MB, free: 5.539 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003337/0.5492, allocations: 213.8 kB / 461 MB, free: 5.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.311e-05/0.5493, allocations: 49.69 kB / 461 MB, free: 5.266 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.5495, allocations: 209 kB / 461.2 MB, free: 5.055 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.5496, allocations: 98.8 kB / 461.3 MB, free: 4.957 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.5497, allocations: 16 kB / 461.3 MB, free: 4.941 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.5499, allocations: 342.8 kB / 461.7 MB, free: 4.598 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/0.5502, allocations: 113.1 kB / 461.8 MB, free: 4.488 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004785/0.5507, allocations: 337.6 kB / 462.1 MB, free: 4.062 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004307/0.5511, allocations: 187.8 kB / 462.3 MB, free: 3.879 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.5511, allocations: 0 / 462.3 MB, free: 3.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001114/0.5523, allocations: 493.2 kB / 462.8 MB, free: 3.391 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.5523, allocations: 8 kB / 462.8 MB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.5523, allocations: 8 kB / 462.8 MB, free: 3.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.803e-05/0.5524, allocations: 12 kB / 462.8 MB, free: 3.363 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000373/0.5527, allocations: 87.72 kB / 462.9 MB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.131e-05/0.5528, allocations: 16.08 kB / 462.9 MB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.5531, allocations: 43.56 kB / 462.9 MB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.027e-05/0.5531, allocations: 28 kB / 463 MB, free: 3.191 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 61 ($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.addFloat.pkgOut[1].dummy,addFloat.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.uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvbufOverwrites,$PRE.uDPReceive.nRecvBytes,uDPReceive.nRecvBytes,$PRE.uDPReceive.pkgOut.dummy,uDPReceive.pkgOut.dummy,$PRE.addInteger.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.uDPSend.dummy,uDPSend.dummy,$PRE.addReal.pkgOut[1].dummy,addReal.pkgOut[1].dummy,$PRE.packager.pkgOut.dummy,packager.pkgOut.dummy,addInteger.u[1],$whenCondition1,addInteger.pkgOut[1].trigger,trigger.y,$whenCondition2,$PRE.trigger.y,pre_trigger.y,uDPReceive.internalTrigger,uDPSend.internalTrigger,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,uDPReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,uDPSend.bufferSize,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0002417/0.5534, allocations: 185 kB / 463.2 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.356e-05/0.5535, allocations: 31.62 kB / 463.2 MB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008379/0.5543, allocations: 377.3 kB / 463.6 MB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.5544, allocations: 4 kB / 463.6 MB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.803e-06/0.5544, allocations: 7.953 kB / 463.6 MB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.5544, allocations: 3.984 kB / 463.6 MB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001948/0.5564, allocations: 0.9322 MB / 464.5 MB, free: 1.594 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.488e-06/0.5564, allocations: 0 / 464.5 MB, free: 1.594 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.189e-05/0.5565, allocations: 23.88 kB / 464.5 MB, free: 1.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.5565, allocations: 0 / 464.5 MB, free: 1.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.472e-05/0.5566, allocations: 15.98 kB / 464.5 MB, free: 1.555 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.224e-06/0.5566, allocations: 4 kB / 464.5 MB, free: 1.551 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.5566, allocations: 4 kB / 464.5 MB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.5578, allocations: 0.6356 MB / 465.2 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.302e-05/0.5579, allocations: 100.8 kB / 465.3 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.495e-05/0.558, allocations: 11.98 kB / 465.3 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.5581, allocations: 7.938 kB / 465.3 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.5582, allocations: 23.92 kB / 465.3 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.486e-05/0.5583, allocations: 19.98 kB / 465.3 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000168/0.5585, allocations: 146.8 kB / 465.5 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.68e-07/0.5585, allocations: 0 / 465.5 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009068/0.5594, allocations: 175.5 kB / 465.7 MB, free: 372 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 39 (uDPSend.internalTrigger,uDPReceive.internalTrigger,uDPReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,pre_trigger.y,addInteger.pkgOut[1].trigger,$whenCondition2,$whenCondition1,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,uDPSend.bufferSize,uDPSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],uDPReceive.pkgOut.dummy,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,addFloat.pkgOut[1].dummy,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,trigger.y,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 1 (trigger.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 13 * 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.0009668/0.5604, allocations: 395.5 kB / 466 MB, free: 28 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008636/0.5613, allocations: 345.1 kB / 466.4 MB, free: 15.69 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.5613, allocations: 0 / 466.4 MB, free: 15.69 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003649/0.5617, allocations: 175.9 kB / 466.6 MB, free: 15.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005044/0.5622, allocations: 55.8 kB / 466.6 MB, free: 15.47 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.5643, allocations: 0.653 MB / 467.3 MB, free: 14.79 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005729/0.5649, allocations: 0.8233 MB / 468.1 MB, free: 13.93 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002007/0.5651, allocations: 51.09 kB / 468.1 MB, free: 13.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.522e-05/0.5652, allocations: 27.42 kB / 468.2 MB, free: 13.86 MB / 394.7 MB Notification: Performance of SimCode: time 1.558e-06/0.5652, allocations: 8 kB / 468.2 MB, free: 13.85 MB / 394.7 MB Notification: Performance of Templates: time 0.01434/0.5796, allocations: 4.975 MB / 473.1 MB, free: 8.91 MB / 394.7 MB