Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger") Notification: Performance of loadModel(Modelica_DeviceDrivers): time 2.089/2.089, allocations: 237.8 MB / 250.4 MB, free: 8.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.881e-05/3.892e-05, allocations: 6.953 kB / 306.6 MB, free: 10.95 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1455, allocations: 53.27 MB / 359.9 MB, free: 5.598 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4425/0.5881, allocations: 86.59 MB / 446.5 MB, free: 4.223 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/0.5883, allocations: 75.95 kB / 446.5 MB, free: 4.148 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04266/0.631, allocations: 9.886 MB / 456.4 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.678e-06/0.631, allocations: 0 / 456.4 MB, free: 10.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.781e-05/0.6311, allocations: 8 kB / 456.4 MB, free: 10.25 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001841/0.6329, allocations: 1.02 MB / 457.4 MB, free: 9.145 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.633, allocations: 8.031 kB / 457.5 MB, free: 9.137 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.6331, allocations: 47.44 kB / 457.5 MB, free: 9.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000651/0.6338, allocations: 336.3 kB / 457.8 MB, free: 8.719 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.035e-05/0.6339, allocations: 33 kB / 457.9 MB, free: 8.684 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.841e-05/0.634, allocations: 47.98 kB / 457.9 MB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.635, allocations: 471.5 kB / 458.4 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.635, allocations: 0 / 458.4 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.912e-05/0.6351, allocations: 15.98 kB / 458.4 MB, free: 8.137 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.6351, allocations: 15.95 kB / 458.4 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006408/0.6358, allocations: 256.9 kB / 458.6 MB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002325/0.6381, allocations: 1.417 MB / 460.1 MB, free: 6.379 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007157/0.6389, allocations: 302 kB / 460.4 MB, free: 6.035 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003227/0.6392, allocations: 152.5 kB / 460.5 MB, free: 5.871 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-05/0.6393, allocations: 7.984 kB / 460.5 MB, free: 5.863 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000496/0.6398, allocations: 252.6 kB / 460.8 MB, free: 5.582 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 7.768e-06/0.6398, allocations: 0 / 460.8 MB, free: 5.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.001185/0.641, allocations: 482.5 kB / 461.2 MB, free: 5.105 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001495/0.6412, allocations: 178.2 kB / 461.4 MB, free: 4.895 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/0.6415, allocations: 222.9 kB / 461.6 MB, free: 4.664 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.88e-05/0.6416, allocations: 41.7 kB / 461.7 MB, free: 4.617 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.6418, allocations: 212.9 kB / 461.9 MB, free: 4.402 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.642, allocations: 102.7 kB / 462 MB, free: 4.301 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.642, allocations: 15.94 kB / 462 MB, free: 4.285 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.6422, allocations: 342.8 kB / 462.3 MB, free: 3.941 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/0.6425, allocations: 117.1 kB / 462.4 MB, free: 3.828 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004789/0.643, allocations: 323.9 kB / 462.8 MB, free: 3.414 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004053/0.6434, allocations: 179.8 kB / 462.9 MB, free: 3.238 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.6435, allocations: 0 / 462.9 MB, free: 3.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001119/0.6446, allocations: 476.5 kB / 463.4 MB, free: 2.766 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.6446, allocations: 11.95 kB / 463.4 MB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.6447, allocations: 8.875 kB / 463.4 MB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.641e-05/0.6447, allocations: 12 kB / 463.4 MB, free: 2.734 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004002/0.6451, allocations: 83.83 kB / 463.5 MB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.616e-05/0.6452, allocations: 19.92 kB / 463.5 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/0.6454, allocations: 35.69 kB / 463.6 MB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.057e-05/0.6455, allocations: 28 kB / 463.6 MB, free: 2.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 59 ($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],$whenCondition2,$whenCondition1,addInteger.pkgOut[1].trigger,sampleTrigger.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 (67): * Single equations (assignments): 67 * 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.0002418/0.6458, allocations: 182.9 kB / 463.8 MB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.24e-05/0.6459, allocations: 31.62 kB / 463.8 MB, free: 2.355 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008654/0.6467, allocations: 373.7 kB / 464.2 MB, free: 1.984 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.431e-06/0.6468, allocations: 8 kB / 464.2 MB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.941e-06/0.6468, allocations: 0 / 464.2 MB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-05/0.6468, allocations: 3.984 kB / 464.2 MB, free: 1.973 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001828/0.6487, allocations: 0.9362 MB / 465.1 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.951e-06/0.6487, allocations: 4.062 kB / 465.1 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.9e-05/0.6488, allocations: 15.98 kB / 465.1 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/0.6488, allocations: 4 kB / 465.1 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.365e-05/0.6489, allocations: 11.98 kB / 465.1 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.812e-06/0.6489, allocations: 4 kB / 465.2 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.699e-06/0.6489, allocations: 0 / 465.2 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.6501, allocations: 0.6346 MB / 465.8 MB, free: 264 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.93e-05/0.6502, allocations: 108.7 kB / 465.9 MB, free: 136 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.108e-05/0.6503, allocations: 19.88 kB / 465.9 MB, free: 116 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.6505, allocations: 7.984 kB / 465.9 MB, free: 108 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.943e-05/0.6506, allocations: 27.91 kB / 465.9 MB, free: 80 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.485e-05/0.6507, allocations: 19.98 kB / 466 MB, free: 60 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002003/0.6509, allocations: 135.2 kB / 466.1 MB, free: 15.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.84e-07/0.6509, allocations: 0 / 466.1 MB, free: 15.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008711/0.6518, allocations: 179.5 kB / 466.3 MB, free: 15.75 MB / 394.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: 38 (uDPSend.internalTrigger,uDPReceive.internalTrigger,uDPReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,sampleTrigger.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,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 (35): * Single equations (assignments): 12 * 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.0009922/0.6528, allocations: 386.3 kB / 466.7 MB, free: 15.42 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008582/0.6536, allocations: 348.5 kB / 467 MB, free: 15.08 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.995e-06/0.6537, allocations: 0 / 467 MB, free: 15.08 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003636/0.654, allocations: 159.9 kB / 467.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005322/0.6546, allocations: 69.62 kB / 467.2 MB, free: 14.86 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/0.657, allocations: 0.6809 MB / 467.9 MB, free: 14.15 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007597/0.6578, allocations: 0.8232 MB / 468.7 MB, free: 13.3 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002031/0.658, allocations: 50.94 kB / 468.8 MB, free: 13.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.76e-05/0.6581, allocations: 27.44 kB / 468.8 MB, free: 13.23 MB / 394.7 MB Notification: Performance of SimCode: time 3.964e-06/0.6581, allocations: 0 / 468.8 MB, free: 13.23 MB / 394.7 MB Notification: Performance of Templates: time 0.01581/0.6739, allocations: 5.008 MB / 473.8 MB, free: 8.266 MB / 394.7 MB