Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP") Notification: Performance of loadModel(Modelica_DeviceDrivers): time 2.094/2.094, allocations: 237.8 MB / 250.4 MB, free: 8.461 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.768e-05/2.743e-05, allocations: 2.953 kB / 306.6 MB, free: 10.95 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09684/0.09689, allocations: 53.26 MB / 359.9 MB, free: 5.602 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3768/0.4737, allocations: 85.93 MB / 445.8 MB, free: 4.883 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/0.474, allocations: 79.95 kB / 445.9 MB, free: 4.805 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04309/0.5171, allocations: 10.53 MB / 456.4 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.662e-06/0.5171, allocations: 0 / 456.4 MB, free: 10.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.058e-05/0.5172, allocations: 19.94 kB / 456.4 MB, free: 10.25 MB / 378.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: getInteger1.pkgIn.pkg = unpackInt1.pkgOut[1].pkg unpackInt.pkgOut[1].pkg = unpackInt1.pkgIn.pkg getReal.pkgOut[1].pkg = unpackInt.pkgIn.pkg getReal.pkgIn.pkg = uDPReceive.pkgOut.pkg addInteger1.pkgOut[1].pkg = uDPSend.pkgIn.pkg addInteger1.pkgIn.pkg = packInt1.pkgOut[1].pkg packInt.pkgOut[1].pkg = packInt1.pkgIn.pkg addReal.pkgOut[1].pkg = packInt.pkgIn.pkg addReal.pkgIn.pkg = packager.pkgOut.pkg getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg unpackInt1.pkgOut[1].pkg = unpackInt1.pkgIn.pkg addInteger1.pkgOut[1].pkg = addInteger1.pkgIn.pkg packInt1.pkgOut[1].pkg = packInt1.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt.pkgIn.pkg packInt.pkgOut[1].pkg = packInt.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002092/0.5193, allocations: 1.174 MB / 457.6 MB, free: 8.969 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.5193, allocations: 8.031 kB / 457.6 MB, free: 8.961 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.5195, allocations: 59.33 kB / 457.7 MB, free: 8.902 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007227/0.5202, allocations: 364.1 kB / 458 MB, free: 8.504 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.618e-05/0.5203, allocations: 44.98 kB / 458.1 MB, free: 8.457 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.842e-05/0.5204, allocations: 47.98 kB / 458.1 MB, free: 8.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.5216, allocations: 0.5321 MB / 458.7 MB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.5217, allocations: 4 kB / 458.7 MB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.181e-05/0.5218, allocations: 19.98 kB / 458.7 MB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.5218, allocations: 16 kB / 458.7 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007542/0.5226, allocations: 293.1 kB / 459 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002693/0.5253, allocations: 1.498 MB / 460.5 MB, free: 5.957 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007849/0.5261, allocations: 335.2 kB / 460.8 MB, free: 5.594 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000367/0.5265, allocations: 167.4 kB / 461 MB, free: 5.418 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.5265, allocations: 4.25 kB / 461 MB, free: 5.414 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005514/0.5271, allocations: 276.3 kB / 461.2 MB, free: 5.117 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 6.419e-06/0.5271, allocations: 0 / 461.2 MB, free: 5.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=46): time 0.001306/0.5284, allocations: 0.5126 MB / 461.8 MB, free: 4.598 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001373/0.5286, allocations: 152.5 kB / 461.9 MB, free: 4.418 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003909/0.529, allocations: 256.6 kB / 462.2 MB, free: 4.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.459e-05/0.5291, allocations: 45.69 kB / 462.2 MB, free: 4.109 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/0.5293, allocations: 236.7 kB / 462.4 MB, free: 3.871 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.5294, allocations: 106.7 kB / 462.5 MB, free: 3.766 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.5295, allocations: 8 kB / 462.5 MB, free: 3.758 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.5297, allocations: 350.8 kB / 462.9 MB, free: 3.406 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003165/0.53, allocations: 121.5 kB / 463 MB, free: 3.289 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005191/0.5306, allocations: 355.3 kB / 463.3 MB, free: 2.836 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004577/0.531, allocations: 199.8 kB / 463.5 MB, free: 2.641 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.331e-06/0.5311, allocations: 4 kB / 463.5 MB, free: 2.637 MB / 378.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001203/0.5323, allocations: 0.5047 MB / 464.1 MB, free: 2.125 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.5323, allocations: 8 kB / 464.1 MB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.5324, allocations: 11.98 kB / 464.1 MB, free: 2.105 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.691e-05/0.5324, allocations: 12 kB / 464.1 MB, free: 2.094 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004122/0.5328, allocations: 84.52 kB / 464.2 MB, free: 2.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-05/0.5329, allocations: 23.88 kB / 464.2 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002965/0.5332, allocations: 51.59 kB / 464.2 MB, free: 1.938 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.199e-05/0.5332, allocations: 32 kB / 464.3 MB, free: 1.906 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: 67 ($PRE.addReal.pkgOut[1].dummy,addReal.pkgOut[1].dummy,$PRE.addInteger1.pkgOut[1].dummy,addInteger1.pkgOut[1].dummy,$PRE.packInt1.pkgOut[1].dummy,packInt1.pkgOut[1].dummy,$PRE.packInt.pkgOut[1].dummy,packInt.pkgOut[1].dummy,$PRE.packager.pkgOut.dummy,packager.pkgOut.dummy,$PRE.uDPSend.dummy,uDPSend.dummy,integerExpression.y,$whenCondition2,addInteger1.pkgOut[1].trigger,addInteger1.pkgOut[1].backwardTrigger,integerExpression1.y,$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.getInteger1.dummy,getInteger1.dummy,$PRE.getInteger1.y[1],getInteger1.y[1],$PRE.unpackInt1.dummy,unpackInt1.dummy,$PRE.unpackInt1.y,unpackInt1.y,$PRE.unpackInt1.pkgOut[1].dummy,unpackInt1.pkgOut[1].dummy,$PRE.unpackInt.dummy,unpackInt.dummy,$PRE.unpackInt.y,unpackInt.y,$PRE.unpackInt.pkgOut[1].dummy,unpackInt.pkgOut[1].dummy,$PRE.uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvbufOverwrites,$PRE.uDPReceive.nRecvBytes,uDPReceive.nRecvBytes,$PRE.uDPReceive.pkgOut.dummy,uDPReceive.pkgOut.dummy,$whenCondition1,unpackInt1.pkgOut[1].trigger,getInteger1.pkgIn.userPkgBitSize,getInteger1.pkgIn.backwardTrigger,uDPReceive.bufferSize,unpackInt.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,getInteger1.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,addInteger1.pkgIn.autoPkgBitSize,addReal.pkgIn.autoPkgBitSize,uDPSend.bufferSize) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * 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.0002544/0.5335, allocations: 184.7 kB / 464.5 MB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.163e-05/0.5336, allocations: 35.61 kB / 464.5 MB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005865/0.5342, allocations: 239.5 kB / 464.7 MB, free: 1.445 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.356e-06/0.5342, allocations: 4 kB / 464.7 MB, free: 1.441 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.918e-06/0.5343, allocations: 0 / 464.7 MB, free: 1.441 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.5343, allocations: 7.938 kB / 464.7 MB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002045/0.5363, allocations: 1.102 MB / 465.8 MB, free: 280 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.778e-06/0.5364, allocations: 0 / 465.8 MB, free: 280 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.202e-05/0.5365, allocations: 16 kB / 465.8 MB, free: 264 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.915e-06/0.5365, allocations: 0 / 465.8 MB, free: 264 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.798e-05/0.5365, allocations: 15.98 kB / 465.9 MB, free: 248 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.033e-05/0.5366, allocations: 7.938 kB / 465.9 MB, free: 240 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.5366, allocations: 4 kB / 465.9 MB, free: 236 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.5379, allocations: 0.7298 MB / 466.6 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.5381, allocations: 116.6 kB / 466.7 MB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.218e-05/0.5381, allocations: 11.98 kB / 466.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.5384, allocations: 8 kB / 466.7 MB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.77e-05/0.5385, allocations: 15.97 kB / 466.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.869e-05/0.5385, allocations: 23.98 kB / 466.8 MB, free: 15.27 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001996/0.5388, allocations: 153.4 kB / 466.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.08e-07/0.5388, allocations: 0 / 466.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000949/0.5397, allocations: 187.4 kB / 467.1 MB, free: 14.93 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: 43 (unpackInt1.pkgOut[1].trigger,$whenCondition1,uDPReceive.pkgOut.dummy,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,unpackInt.pkgOut[1].dummy,unpackInt.y,unpackInt.dummy,unpackInt1.pkgOut[1].dummy,unpackInt1.y,unpackInt1.dummy,getInteger1.y[1],getInteger1.dummy,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,uDPReceive.bufferSize,unpackInt.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,getInteger1.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,addInteger1.pkgIn.autoPkgBitSize,addReal.pkgIn.autoPkgBitSize,addInteger1.pkgOut[1].trigger,$whenCondition2,uDPSend.bufferSize,uDPSend.dummy,integerExpression.y,packager.pkgOut.dummy,packInt.pkgOut[1].dummy,packInt1.pkgOut[1].dummy,addInteger1.pkgOut[1].dummy,addInteger1.pkgOut[1].backwardTrigger,integerExpression1.y,addReal.pkgOut[1].dummy) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 28 * 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.0009715/0.5407, allocations: 399.7 kB / 467.5 MB, free: 14.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009327/0.5417, allocations: 380.8 kB / 467.9 MB, free: 14.23 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.704e-06/0.5417, allocations: 0 / 467.9 MB, free: 14.23 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004567/0.5422, allocations: 184 kB / 468.1 MB, free: 14.05 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005778/0.5428, allocations: 72.17 kB / 468.1 MB, free: 13.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/0.5454, allocations: 0.7628 MB / 468.9 MB, free: 13.19 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006236/0.5461, allocations: 0.8547 MB / 469.7 MB, free: 12.3 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002184/0.5463, allocations: 46.95 kB / 469.8 MB, free: 12.26 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.977e-05/0.5464, allocations: 27.44 kB / 469.8 MB, free: 12.23 MB / 394.7 MB Notification: Performance of SimCode: time 2.058e-06/0.5465, allocations: 0 / 469.8 MB, free: 12.23 MB / 394.7 MB Notification: Performance of Templates: time 0.01574/0.5622, allocations: 5.388 MB / 475.2 MB, free: 6.891 MB / 394.7 MB