Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer") Notification: Performance of loadModel(Modelica_DeviceDrivers): time 2.146/2.146, allocations: 237.8 MB / 250.4 MB, free: 8.254 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.395e-05/3.404e-05, allocations: 4 kB / 306.6 MB, free: 10.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09186/0.09192, allocations: 53.27 MB / 359.9 MB, free: 5.188 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3611/0.4531, allocations: 86.99 MB / 446.9 MB, free: 3.488 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.4533, allocations: 67.97 kB / 446.9 MB, free: 3.422 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03366/0.487, allocations: 8.295 MB / 455.2 MB, free: 11.13 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.88e-06/0.4871, allocations: 0 / 455.2 MB, free: 11.13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.185e-05/0.4871, allocations: 8 kB / 455.2 MB, free: 11.12 MB / 378.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: addInteger.pkgOut[1].pkg = tCPIPSend.pkgIn.pkg addInteger.pkgIn.pkg = packager.pkgOut.pkg getInteger.pkgIn.pkg = tCPIPReceive.pkgOut.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001506/0.4886, allocations: 0.823 MB / 456.1 MB, free: 10.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.4887, allocations: 8.031 kB / 456.1 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.4888, allocations: 51.42 kB / 456.1 MB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006145/0.4894, allocations: 338.2 kB / 456.4 MB, free: 9.805 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.246e-05/0.4895, allocations: 32.77 kB / 456.5 MB, free: 9.773 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.84e-05/0.4896, allocations: 35.98 kB / 456.5 MB, free: 9.738 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000901/0.4905, allocations: 411.9 kB / 456.9 MB, free: 9.305 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.4906, allocations: 4.344 kB / 456.9 MB, free: 9.301 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.519e-05/0.4906, allocations: 23.94 kB / 456.9 MB, free: 9.277 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.4907, allocations: 8 kB / 456.9 MB, free: 9.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000561/0.4912, allocations: 216.9 kB / 457.2 MB, free: 9.055 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002137/0.4934, allocations: 1.297 MB / 458.5 MB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000656/0.4941, allocations: 282.7 kB / 458.7 MB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/0.4944, allocations: 143.5 kB / 458.9 MB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.499e-05/0.4944, allocations: 7.984 kB / 458.9 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004997/0.4949, allocations: 251 kB / 459.1 MB, free: 6.941 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 4.051e-06/0.495, allocations: 0 / 459.1 MB, free: 6.941 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.001036/0.496, allocations: 413.7 kB / 459.5 MB, free: 6.531 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.4962, allocations: 161.3 kB / 459.7 MB, free: 6.344 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003531/0.4965, allocations: 232.8 kB / 459.9 MB, free: 6.109 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.037e-05/0.4966, allocations: 49.62 kB / 460 MB, free: 6.055 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.4968, allocations: 192.5 kB / 460.1 MB, free: 5.863 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.4969, allocations: 102.7 kB / 460.2 MB, free: 5.762 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.497, allocations: 12 kB / 460.3 MB, free: 5.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.4972, allocations: 346.8 kB / 460.6 MB, free: 5.402 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003043/0.4975, allocations: 117.1 kB / 460.7 MB, free: 5.289 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004246/0.498, allocations: 259.9 kB / 461 MB, free: 4.969 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004349/0.4984, allocations: 226.1 kB / 461.2 MB, free: 4.738 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.4984, allocations: 0 / 461.2 MB, free: 4.738 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001186/0.4996, allocations: 0.5274 MB / 461.7 MB, free: 4.191 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.262e-05/0.4997, allocations: 63.39 kB / 461.8 MB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.389e-05/0.4997, allocations: 8 kB / 461.8 MB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/0.4998, allocations: 8 kB / 461.8 MB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.5001, allocations: 64.41 kB / 461.9 MB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-05/0.5001, allocations: 11.94 kB / 461.9 MB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000255/0.5004, allocations: 47.58 kB / 461.9 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.163e-05/0.5005, allocations: 27.98 kB / 461.9 MB, free: 3.953 MB / 378.7 MB Warning: Assuming fixed start value for the following 5 variables: process.y[1]:DISCRETE(fixed = false ) type: Integer [3] process.y[2]:DISCRETE(fixed = false ) type: Integer [3] process.y[3]:DISCRETE(fixed = false ) type: Integer [3] tCPIPSend.dataSent:DISCRETE(fixed = false ) type: Integer tCPIPReceive.nReceivedBytes:DISCRETE(fixed = false ) "Number of received bytes" type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.process.y[1],process.y[1],$PRE.process.y[2],process.y[2],$PRE.process.y[3],process.y[3],$PRE.tCPIPSend.dummy1,tCPIPSend.dummy1,$PRE.tCPIPSend.pkgSize,tCPIPSend.pkgSize,$PRE.tCPIPSend.dataSent,tCPIPSend.dataSent,$PRE.tCPIPSend.dummy2,tCPIPSend.dummy2,$PRE.addInteger.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.packager.pkgOut.dummy,packager.pkgOut.dummy,$PRE.getInteger.dummy,getInteger.dummy,$PRE.getInteger.y[3],getInteger.y[3],$PRE.getInteger.y[2],getInteger.y[2],$PRE.getInteger.y[1],getInteger.y[1],$PRE.tCPIPReceive.pkgOut.dummy,tCPIPReceive.pkgOut.dummy,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,tCPIPReceive.actTrigger,$PRE.tCPIPReceive.nReceivedBytes,tCPIPReceive.nReceivedBytes,$PRE.tCPIPReceive.accepted,tCPIPReceive.accepted,$PRE.tCPIPReceive.block_,tCPIPReceive.block_,addInteger.pkgOut[1].trigger,addInteger.pkgOut[1].backwardTrigger,$PRE.tCPIPSend.accepted,tCPIPSend.accepted,$PRE.tCPIPSend.block_,tCPIPSend.block_,process.trigger,tCPIPSend.internalTrigger,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,packager.backwardPropagatedBufferSize,packager.bufferSize,addInteger.pkgIn.autoPkgBitSize,tCPIPSend.pkgIn.userPkgBitSize,tCPIPSend.pkgIn.autoPkgBitSize,tCPIPSend.bufferSize,tCPIPReceive.bufferSize,getInteger.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 1 * 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.0002707/0.5007, allocations: 171 kB / 462.1 MB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-05/0.5008, allocations: 31.62 kB / 462.1 MB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.165e-05/0.5009, allocations: 31.08 kB / 462.2 MB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.5009, allocations: 4 kB / 462.2 MB, free: 3.711 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.501, allocations: 128 / 462.2 MB, free: 3.711 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.136e-06/0.501, allocations: 3.984 kB / 462.2 MB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001675/0.5027, allocations: 0.8548 MB / 463 MB, free: 2.797 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/0.5027, allocations: 4 kB / 463 MB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.483e-05/0.5028, allocations: 8 kB / 463 MB, free: 2.785 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/0.5028, allocations: 7.984 kB / 463.1 MB, free: 2.777 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/0.5028, allocations: 8 kB / 463.1 MB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.281e-05/0.5028, allocations: 7.891 kB / 463.1 MB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.802e-06/0.5029, allocations: 11.92 kB / 463.1 MB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.5039, allocations: 0.5519 MB / 463.6 MB, free: 2.156 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.639e-05/0.504, allocations: 108.7 kB / 463.7 MB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.703e-05/0.5041, allocations: 7.984 kB / 463.7 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.5043, allocations: 11.97 kB / 463.8 MB, free: 2.012 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.69e-05/0.5044, allocations: 23.97 kB / 463.8 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.22e-05/0.5044, allocations: 23.92 kB / 463.8 MB, free: 1.965 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001929/0.5046, allocations: 153.4 kB / 464 MB, free: 1.812 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.56e-07/0.5046, allocations: 0 / 464 MB, free: 1.812 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007638/0.5054, allocations: 159.6 kB / 464.1 MB, free: 1.656 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: 36 (tCPIPSend.internalTrigger,packager.backwardPropagatedBufferSize,packager.bufferSize,addInteger.pkgIn.autoPkgBitSize,tCPIPSend.pkgIn.userPkgBitSize,tCPIPSend.pkgIn.autoPkgBitSize,addInteger.pkgOut[1].trigger,process.trigger,tCPIPReceive.actTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,tCPIPReceive.pkgOut.dummy,tCPIPReceive.nReceivedBytes,tCPIPReceive.accepted,tCPIPReceive.bufferSize,tCPIPReceive.block_,getInteger.pkgIn.autoPkgBitSize,getInteger.y[1],getInteger.y[2],getInteger.y[3],getInteger.dummy,packager.pkgOut.dummy,addInteger.pkgOut[1].dummy,addInteger.pkgOut[1].backwardTrigger,tCPIPSend.dataSent,tCPIPSend.accepted,tCPIPSend.bufferSize,tCPIPSend.dummy1,tCPIPSend.dummy2,tCPIPSend.pkgSize,tCPIPSend.block_,process.y[1],process.y[2],process.y[3]) * Number of discrete states: 2 (tCPIPReceive.block_,tCPIPSend.block_) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001265/0.5067, allocations: 467.5 kB / 464.6 MB, free: 1.297 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009286/0.5076, allocations: 481.3 kB / 465 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.766e-06/0.5077, allocations: 0 / 465 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003494/0.508, allocations: 174.6 kB / 465.2 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.5084, allocations: 44.3 kB / 465.2 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.5097, allocations: 490.3 kB / 465.7 MB, free: 68 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005798/0.5103, allocations: 0.819 MB / 466.5 MB, free: 15.22 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001431/0.5104, allocations: 47.09 kB / 466.6 MB, free: 15.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.355e-05/0.5105, allocations: 23.44 kB / 466.6 MB, free: 15.16 MB / 394.7 MB Notification: Performance of SimCode: time 1.593e-06/0.5105, allocations: 0 / 466.6 MB, free: 15.16 MB / 394.7 MB Notification: Performance of Templates: time 0.01317/0.5237, allocations: 4.504 MB / 471.1 MB, free: 10.7 MB / 394.7 MB