Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP") Notification: Performance of loadModel(Modelica_DeviceDrivers): time 2.339/2.339, allocations: 237.8 MB / 250.4 MB, free: 8.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.045e-05/3.051e-05, allocations: 4 kB / 306.6 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09453/0.09458, allocations: 53.27 MB / 359.9 MB, free: 5.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4066/0.5013, allocations: 85.63 MB / 445.5 MB, free: 5.121 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/0.5015, allocations: 68.47 kB / 445.6 MB, free: 5.055 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03532/0.5369, allocations: 8.926 MB / 454.5 MB, free: 12.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.18e-06/0.5369, allocations: 0 / 454.5 MB, free: 12.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.924e-05/0.537, allocations: 12 kB / 454.5 MB, free: 12.12 MB / 378.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: addInteger.pkgOut[1].pkg = tcpipClient.pkgIn.pkg getReal.pkgIn.pkg = tcpipClient.pkgOut.pkg getFloat.pkgOut[1].pkg = getInteger.pkgIn.pkg getFloat.pkgIn.pkg = getReal.pkgOut[1].pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addFloat.pkgIn.pkg = addReal.pkgOut[1].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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001705/0.5387, allocations: 0.9925 MB / 455.5 MB, free: 11.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.5387, allocations: 12.03 kB / 455.5 MB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.5389, allocations: 47.42 kB / 455.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006048/0.5395, allocations: 323.6 kB / 455.9 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.879e-05/0.5395, allocations: 24.78 kB / 455.9 MB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.137e-05/0.5396, allocations: 39.98 kB / 456 MB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009454/0.5406, allocations: 440.9 kB / 456.4 MB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.5406, allocations: 3.984 kB / 456.4 MB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.718e-05/0.5407, allocations: 12 kB / 456.4 MB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.5407, allocations: 12 kB / 456.4 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005973/0.5413, allocations: 236.9 kB / 456.6 MB, free: 9.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002082/0.5434, allocations: 1.241 MB / 457.9 MB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006086/0.5441, allocations: 251.9 kB / 458.1 MB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002912/0.5444, allocations: 138.5 kB / 458.3 MB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.5444, allocations: 7.984 kB / 458.3 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004384/0.5449, allocations: 226.3 kB / 458.5 MB, free: 7.852 MB / 378.7 MB Notification: Performance of pre-optimization done (n=37): time 3.215e-06/0.5449, allocations: 0 / 458.5 MB, free: 7.852 MB / 378.7 MB Notification: Performance of matching and sorting (n=37): time 0.001048/0.546, allocations: 436.2 kB / 458.9 MB, free: 7.426 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.5461, allocations: 123 kB / 459 MB, free: 7.281 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.5464, allocations: 203.1 kB / 459.2 MB, free: 7.078 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/0.5464, allocations: 33.7 kB / 459.3 MB, free: 7.039 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.5466, allocations: 200.3 kB / 459.5 MB, free: 6.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.5467, allocations: 90.89 kB / 459.6 MB, free: 6.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.5468, allocations: 8 kB / 459.6 MB, free: 6.742 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.547, allocations: 338.8 kB / 459.9 MB, free: 6.402 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000251/0.5472, allocations: 101.1 kB / 460 MB, free: 6.305 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004109/0.5477, allocations: 288.9 kB / 460.3 MB, free: 5.941 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003597/0.548, allocations: 164.1 kB / 460.4 MB, free: 5.781 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.666e-06/0.5481, allocations: 3.938 kB / 460.4 MB, free: 5.777 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009436/0.549, allocations: 416.9 kB / 460.8 MB, free: 5.363 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.5491, allocations: 8 kB / 460.9 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.5491, allocations: 12.77 kB / 460.9 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.5491, allocations: 8 kB / 460.9 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.5495, allocations: 75.83 kB / 460.9 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.942e-05/0.5495, allocations: 11.95 kB / 461 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/0.5497, allocations: 43.53 kB / 461 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.848e-05/0.5498, allocations: 20 kB / 461 MB, free: 5.188 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 50 ($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.addInteger.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.tcpipClient.pkgOut.dummy,tcpipClient.pkgOut.dummy,$PRE.addReal.pkgOut[1].dummy,addReal.pkgOut[1].dummy,$PRE.packager.pkgOut.dummy,packager.pkgOut.dummy,$whenCondition2,$whenCondition1,addInteger.pkgOut[1].trigger,addInteger.pkgOut[1].backwardTrigger,addInteger.u[1],tcpipClient.isConnected,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,tcpipClient.pkgIn.userPkgBitSize,tcpipClient.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * 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.0001961/0.55, allocations: 170 kB / 461.2 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.208e-05/0.5501, allocations: 27.72 kB / 461.2 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008054/0.5509, allocations: 349.2 kB / 461.6 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.228e-06/0.5509, allocations: 4 kB / 461.6 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.551, allocations: 0 / 461.6 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.551, allocations: 11.94 kB / 461.6 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.5526, allocations: 0.8735 MB / 462.4 MB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.336e-06/0.5526, allocations: 7.984 kB / 462.5 MB, free: 3.695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.24e-05/0.5527, allocations: 16 kB / 462.5 MB, free: 3.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.5527, allocations: 3.953 kB / 462.5 MB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/0.5528, allocations: 7.984 kB / 462.5 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.217e-06/0.5528, allocations: 4 kB / 462.5 MB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5528, allocations: 3.938 kB / 462.5 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.5538, allocations: 0.564 MB / 463.1 MB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.335e-05/0.5539, allocations: 100.8 kB / 463.1 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.173e-05/0.554, allocations: 11.98 kB / 463.2 MB, free: 2.934 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.5542, allocations: 4 kB / 463.2 MB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/0.5542, allocations: 19.91 kB / 463.2 MB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.902e-05/0.5543, allocations: 23.98 kB / 463.2 MB, free: 2.887 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001361/0.5545, allocations: 121.5 kB / 463.3 MB, free: 2.766 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.07e-07/0.5545, allocations: 0 / 463.3 MB, free: 2.766 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007326/0.5552, allocations: 171.5 kB / 463.5 MB, free: 2.598 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 (getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,addInteger.pkgOut[1].backwardTrigger,addInteger.pkgOut[1].trigger,$whenCondition2,$whenCondition1,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,tcpipClient.pkgOut.dummy,tcpipClient.isConnected,addInteger.pkgOut[1].dummy,addInteger.u[1],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,tcpipClient.pkgIn.userPkgBitSize,tcpipClient.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 21 * 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.0009543/0.5562, allocations: 385.8 kB / 463.9 MB, free: 2.285 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006926/0.5569, allocations: 304.7 kB / 464.2 MB, free: 1.988 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.874e-06/0.5569, allocations: 4.312 kB / 464.2 MB, free: 1.984 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003251/0.5572, allocations: 151.8 kB / 464.3 MB, free: 1.836 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/0.5577, allocations: 60.11 kB / 464.4 MB, free: 1.777 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.5595, allocations: 0.5656 MB / 464.9 MB, free: 1.184 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005306/0.56, allocations: 0.8149 MB / 465.8 MB, free: 352 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001732/0.5602, allocations: 51.25 kB / 465.8 MB, free: 304 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.246e-05/0.5603, allocations: 27.42 kB / 465.8 MB, free: 276 kB / 378.7 MB Notification: Performance of SimCode: time 1.408e-06/0.5603, allocations: 4 kB / 465.8 MB, free: 272 kB / 378.7 MB Notification: Performance of Templates: time 0.01288/0.5732, allocations: 4.586 MB / 470.4 MB, free: 11.71 MB / 394.7 MB