Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize") Notification: Performance of loadModel(Modelica_DeviceDrivers): time 2.097/2.097, allocations: 237.8 MB / 250.4 MB, free: 8.691 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.423e-05/4.455e-05, allocations: 4 kB / 306.6 MB, free: 10.95 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1234, allocations: 53.27 MB / 359.9 MB, free: 5.598 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3862/0.5097, allocations: 85.95 MB / 445.8 MB, free: 4.855 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/0.5101, allocations: 68.94 kB / 445.9 MB, free: 4.789 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05468/0.5648, allocations: 9.48 MB / 455.4 MB, free: 11.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.209e-06/0.5648, allocations: 7.938 kB / 455.4 MB, free: 11.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.261e-05/0.5649, allocations: 8 kB / 455.4 MB, free: 11.29 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.002536/0.5674, allocations: 1.023 MB / 456.4 MB, free: 10.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.5675, allocations: 12.03 kB / 456.4 MB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/0.5677, allocations: 43.44 kB / 456.5 MB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009076/0.5686, allocations: 331.4 kB / 456.8 MB, free: 9.758 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.39e-05/0.5687, allocations: 29 kB / 456.8 MB, free: 9.727 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.5689, allocations: 47.98 kB / 456.9 MB, free: 9.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.5704, allocations: 457.5 kB / 457.3 MB, free: 9.211 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.5705, allocations: 0 / 457.3 MB, free: 9.211 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.005e-05/0.5706, allocations: 19.98 kB / 457.3 MB, free: 9.191 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/0.5706, allocations: 11.95 kB / 457.3 MB, free: 9.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000981/0.5716, allocations: 247.9 kB / 457.6 MB, free: 8.938 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003403/0.575, allocations: 1.351 MB / 458.9 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.5761, allocations: 290.4 kB / 459.2 MB, free: 7.195 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005008/0.5766, allocations: 151.9 kB / 459.4 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.022e-05/0.5767, allocations: 12.3 kB / 459.4 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007667/0.5775, allocations: 255.2 kB / 459.6 MB, free: 6.742 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 4.682e-06/0.5775, allocations: 0 / 459.6 MB, free: 6.742 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.001775/0.5793, allocations: 477 kB / 460.1 MB, free: 6.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001697/0.5795, allocations: 148.5 kB / 460.2 MB, free: 6.094 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004847/0.58, allocations: 218.1 kB / 460.4 MB, free: 5.871 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.712e-05/0.5801, allocations: 41.7 kB / 460.5 MB, free: 5.824 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002562/0.5804, allocations: 204.2 kB / 460.7 MB, free: 5.621 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001969/0.5806, allocations: 110.8 kB / 460.8 MB, free: 5.512 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.5806, allocations: 8 kB / 460.8 MB, free: 5.504 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002382/0.5809, allocations: 342.8 kB / 461.1 MB, free: 5.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004786/0.5814, allocations: 121.1 kB / 461.3 MB, free: 5.043 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007163/0.5821, allocations: 323 kB / 461.6 MB, free: 4.637 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006339/0.5828, allocations: 183.8 kB / 461.7 MB, free: 4.457 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.475e-06/0.5828, allocations: 3.938 kB / 461.7 MB, free: 4.453 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001761/0.5846, allocations: 469.4 kB / 462.2 MB, free: 3.988 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.316e-05/0.5847, allocations: 11.94 kB / 462.2 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.5847, allocations: 12.16 kB / 462.2 MB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.139e-05/0.5848, allocations: 16 kB / 462.2 MB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000582/0.5854, allocations: 83.78 kB / 462.3 MB, free: 3.867 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.342e-05/0.5854, allocations: 15.94 kB / 462.3 MB, free: 3.852 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004549/0.5859, allocations: 43.61 kB / 462.4 MB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.693e-05/0.586, allocations: 24 kB / 462.4 MB, free: 3.785 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.0003246/0.5863, allocations: 176.9 kB / 462.6 MB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.5865, allocations: 35.61 kB / 462.6 MB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008366/0.5873, allocations: 223.2 kB / 462.8 MB, free: 3.348 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.5874, allocations: 8 kB / 462.8 MB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/0.5874, allocations: 3.953 kB / 462.8 MB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.861e-06/0.5874, allocations: 0 / 462.8 MB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002858/0.5903, allocations: 1.022 MB / 463.9 MB, free: 2.258 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.393e-06/0.5903, allocations: 0 / 463.9 MB, free: 2.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.5905, allocations: 15.98 kB / 463.9 MB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.334e-05/0.5905, allocations: 3.953 kB / 463.9 MB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-05/0.5906, allocations: 11.98 kB / 463.9 MB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.775e-06/0.5906, allocations: 4 kB / 463.9 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.5906, allocations: 0 / 463.9 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.5924, allocations: 0.6792 MB / 464.6 MB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.5926, allocations: 112.7 kB / 464.7 MB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.086e-05/0.5927, allocations: 4 kB / 464.7 MB, free: 1.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003932/0.5931, allocations: 15.98 kB / 464.7 MB, free: 1.352 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.701e-05/0.5932, allocations: 19.97 kB / 464.7 MB, free: 1.332 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.314e-05/0.5933, allocations: 19.92 kB / 464.8 MB, free: 1.312 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002361/0.5936, allocations: 135 kB / 464.9 MB, free: 1.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.007e-06/0.5936, allocations: 0 / 464.9 MB, free: 1.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001471/0.5951, allocations: 171.7 kB / 465.1 MB, free: 1.012 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.001385/0.5965, allocations: 393.8 kB / 465.4 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.5977, allocations: 344.4 kB / 465.8 MB, free: 352 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.165e-06/0.5978, allocations: 0 / 465.8 MB, free: 352 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005577/0.5983, allocations: 171.8 kB / 465.9 MB, free: 180 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008651/0.5992, allocations: 60.61 kB / 466 MB, free: 124 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003312/0.6026, allocations: 0.691 MB / 466.7 MB, free: 15.4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007625/0.6034, allocations: 0.8229 MB / 467.5 MB, free: 14.55 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002043/0.6036, allocations: 50.94 kB / 467.6 MB, free: 14.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.65e-05/0.6037, allocations: 35.42 kB / 467.6 MB, free: 14.46 MB / 394.7 MB Notification: Performance of SimCode: time 1.723e-06/0.6037, allocations: 0 / 467.6 MB, free: 14.46 MB / 394.7 MB Notification: Performance of Templates: time 0.01378/0.6175, allocations: 4.93 MB / 472.5 MB, free: 9.566 MB / 394.7 MB