Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP") Notification: Performance of loadModel(Modelica_DeviceDrivers): time 2.091/2.091, allocations: 237.8 MB / 250.4 MB, free: 8.027 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.459e-05/3.468e-05, allocations: 4 kB / 306.6 MB, free: 10.56 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09674/0.0968, allocations: 53.27 MB / 359.9 MB, free: 5.203 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3792/0.4761, allocations: 85.94 MB / 445.8 MB, free: 4.562 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.4763, allocations: 72.66 kB / 445.9 MB, free: 4.492 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03943/0.5158, allocations: 9.498 MB / 455.4 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.389e-06/0.5158, allocations: 4 kB / 455.4 MB, free: 11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.782e-05/0.5159, allocations: 12 kB / 455.4 MB, free: 10.99 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001839/0.5177, allocations: 1.015 MB / 456.4 MB, free: 9.887 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.5178, allocations: 12.02 kB / 456.4 MB, free: 9.875 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.5179, allocations: 47.44 kB / 456.5 MB, free: 9.828 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006439/0.5186, allocations: 331.4 kB / 456.8 MB, free: 9.465 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.266e-05/0.5187, allocations: 32.98 kB / 456.8 MB, free: 9.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.136e-05/0.5188, allocations: 40 kB / 456.9 MB, free: 9.391 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.5198, allocations: 465.5 kB / 457.3 MB, free: 8.914 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.5198, allocations: 0 / 457.3 MB, free: 8.914 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.753e-05/0.5199, allocations: 16 kB / 457.3 MB, free: 8.898 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.5199, allocations: 15.95 kB / 457.4 MB, free: 8.883 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006287/0.5206, allocations: 239.9 kB / 457.6 MB, free: 8.648 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002358/0.523, allocations: 1.363 MB / 459 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006769/0.5237, allocations: 282.5 kB / 459.2 MB, free: 6.902 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003218/0.524, allocations: 151.9 kB / 459.4 MB, free: 6.742 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/0.5241, allocations: 7.984 kB / 459.4 MB, free: 6.734 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005057/0.5246, allocations: 259.2 kB / 459.6 MB, free: 6.449 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 3.429e-06/0.5246, allocations: 0 / 459.6 MB, free: 6.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.001191/0.5258, allocations: 473.2 kB / 460.1 MB, free: 5.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/0.5259, allocations: 156.5 kB / 460.3 MB, free: 5.797 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003248/0.5263, allocations: 214.1 kB / 460.5 MB, free: 5.578 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.095e-05/0.5264, allocations: 45.69 kB / 460.5 MB, free: 5.527 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.5266, allocations: 208.2 kB / 460.7 MB, free: 5.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.5267, allocations: 106.7 kB / 460.8 MB, free: 5.215 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.5268, allocations: 12 kB / 460.8 MB, free: 5.203 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.527, allocations: 342.8 kB / 461.2 MB, free: 4.859 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002932/0.5273, allocations: 117.1 kB / 461.3 MB, free: 4.746 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004691/0.5277, allocations: 323.1 kB / 461.6 MB, free: 4.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00042/0.5282, allocations: 179.8 kB / 461.8 MB, free: 4.164 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.535e-06/0.5282, allocations: 4 kB / 461.8 MB, free: 4.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0011/0.5293, allocations: 473.3 kB / 462.2 MB, free: 3.691 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.5294, allocations: 14.95 kB / 462.2 MB, free: 3.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.5294, allocations: 12.09 kB / 462.3 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/0.5294, allocations: 8 kB / 462.3 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/0.5298, allocations: 83.8 kB / 462.4 MB, free: 3.578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.472e-05/0.5299, allocations: 15.92 kB / 462.4 MB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000265/0.5301, allocations: 39.62 kB / 462.4 MB, free: 3.523 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.228e-05/0.5302, allocations: 28 kB / 462.4 MB, free: 3.496 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 58 ($PRE.addFloat.pkgOut[1].dummy,addFloat.pkgOut[1].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,$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.uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvbufOverwrites,$PRE.uDPReceive.nRecvBytes,uDPReceive.nRecvBytes,$PRE.uDPReceive.pkgOut.dummy,uDPReceive.pkgOut.dummy,$whenCondition1,getFloat.pkgOut[1].trigger,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 (66): * Single equations (assignments): 66 * 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.0002454/0.5305, allocations: 184.8 kB / 462.6 MB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.504e-05/0.5306, allocations: 27.62 kB / 462.6 MB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005623/0.5311, allocations: 232.1 kB / 462.9 MB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.981e-06/0.5312, allocations: 4 kB / 462.9 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.754e-06/0.5312, allocations: 3.953 kB / 462.9 MB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.5312, allocations: 7.984 kB / 462.9 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001917/0.5331, allocations: 1.014 MB / 463.9 MB, free: 1.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.942e-06/0.5332, allocations: 0 / 463.9 MB, free: 1.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.73e-05/0.5333, allocations: 12 kB / 463.9 MB, free: 1.953 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.138e-05/0.5333, allocations: 7.953 kB / 463.9 MB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.028e-05/0.5333, allocations: 11.98 kB / 463.9 MB, free: 1.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.803e-06/0.5333, allocations: 7.938 kB / 463.9 MB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.516e-06/0.5334, allocations: 0 / 463.9 MB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.5346, allocations: 0.6825 MB / 464.6 MB, free: 1.199 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.315e-05/0.5347, allocations: 104.8 kB / 464.7 MB, free: 1.078 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.392e-05/0.5347, allocations: 7.984 kB / 464.7 MB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.535, allocations: 16.06 kB / 464.7 MB, free: 1.055 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/0.5351, allocations: 19.97 kB / 464.8 MB, free: 1.035 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-05/0.5351, allocations: 23.92 kB / 464.8 MB, free: 1.012 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001626/0.5353, allocations: 135 kB / 464.9 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.63e-07/0.5353, allocations: 3.938 kB / 464.9 MB, free: 0.875 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008901/0.5362, allocations: 171.8 kB / 465.1 MB, free: 0.707 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: 37 (getFloat.pkgOut[1].trigger,$whenCondition1,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,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,uDPReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,addInteger.pkgOut[1].trigger,$whenCondition2,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,uDPSend.bufferSize,uDPSend.dummy,addInteger.pkgOut[1].dummy,addInteger.pkgOut[1].backwardTrigger,addInteger.u[1],addFloat.pkgOut[1].dummy,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 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.001024/0.5373, allocations: 383.6 kB / 465.5 MB, free: 392 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008389/0.5381, allocations: 344.4 kB / 465.8 MB, free: 48 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.058e-06/0.5381, allocations: 3.938 kB / 465.8 MB, free: 44 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003863/0.5385, allocations: 159.8 kB / 466 MB, free: 15.89 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005167/0.5391, allocations: 56.12 kB / 466 MB, free: 15.84 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.5414, allocations: 0.6945 MB / 466.7 MB, free: 15.11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005975/0.542, allocations: 0.819 MB / 467.5 MB, free: 14.27 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002015/0.5422, allocations: 50.94 kB / 467.6 MB, free: 14.21 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.251e-05/0.5423, allocations: 27.44 kB / 467.6 MB, free: 14.18 MB / 394.7 MB Notification: Performance of SimCode: time 1.589e-06/0.5423, allocations: 192 / 467.6 MB, free: 14.18 MB / 394.7 MB Notification: Performance of Templates: time 0.01428/0.5566, allocations: 4.94 MB / 472.5 MB, free: 9.285 MB / 394.7 MB