Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients") Notification: Performance of loadModel(Modelica_DeviceDrivers): time 2.159/2.159, allocations: 237.8 MB / 250.4 MB, free: 8.523 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.083e-05/4.094e-05, allocations: 10.17 kB / 306.6 MB, free: 10.94 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09943/0.09949, allocations: 53.26 MB / 359.9 MB, free: 5.586 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3684/0.4679, allocations: 86.95 MB / 446.8 MB, free: 3.805 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.4682, allocations: 76.78 kB / 446.9 MB, free: 3.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04883/0.5171, allocations: 12.1 MB / 459 MB, free: 7.625 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.199e-06/0.5171, allocations: 0 / 459 MB, free: 7.625 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.958e-05/0.5172, allocations: 19.94 kB / 459 MB, free: 7.605 MB / 378.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: addInteger[2].pkgOut[1].pkg = tCPIPSend[2].pkgIn.pkg addInteger[1].pkgOut[1].pkg = tCPIPSend[1].pkgIn.pkg addInteger[2].pkgIn.pkg = packager[2].pkgOut.pkg addInteger[1].pkgIn.pkg = packager[1].pkgOut.pkg getInteger[2].pkgIn.pkg = tCPIPReceive[2].pkgOut.pkg getInteger[1].pkgIn.pkg = tCPIPReceive[1].pkgOut.pkg addInteger[2].pkgOut[1].pkg = addInteger[2].pkgIn.pkg addInteger[1].pkgOut[1].pkg = addInteger[1].pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.002493/0.5197, allocations: 1.322 MB / 460.3 MB, free: 6.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.5197, allocations: 8.031 kB / 460.3 MB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002019/0.52, allocations: 83.05 kB / 460.4 MB, free: 6.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.521, allocations: 0.5052 MB / 460.9 MB, free: 5.543 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.4e-05/0.5211, allocations: 49.3 kB / 461 MB, free: 5.492 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.5213, allocations: 67.98 kB / 461 MB, free: 5.426 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.5231, allocations: 0.8853 MB / 461.9 MB, free: 4.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.5231, allocations: 0 / 461.9 MB, free: 4.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.885e-05/0.5232, allocations: 27.98 kB / 462 MB, free: 4.473 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/0.5233, allocations: 20 kB / 462 MB, free: 4.453 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.5245, allocations: 0.5678 MB / 462.5 MB, free: 3.883 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003828/0.5284, allocations: 2.325 MB / 464.9 MB, free: 1.465 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.5299, allocations: 0.7531 MB / 465.6 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007093/0.5306, allocations: 395.5 kB / 466 MB, free: 248 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.309e-05/0.5307, allocations: 15.94 kB / 466 MB, free: 232 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001079/0.5318, allocations: 0.5742 MB / 466.6 MB, free: 15.63 MB / 394.7 MB Notification: Performance of pre-optimization done (n=78): time 4.606e-06/0.5318, allocations: 4 kB / 466.6 MB, free: 15.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=78): time 0.002242/0.534, allocations: 1.028 MB / 467.6 MB, free: 14.59 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002112/0.5343, allocations: 269.5 kB / 467.9 MB, free: 14.28 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006051/0.5349, allocations: 383.1 kB / 468.3 MB, free: 13.89 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.535, allocations: 73.73 kB / 468.3 MB, free: 13.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/0.5353, allocations: 276.7 kB / 468.6 MB, free: 13.54 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000245/0.5356, allocations: 185.8 kB / 468.8 MB, free: 13.36 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.581e-05/0.5357, allocations: 16 kB / 468.8 MB, free: 13.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002357/0.5359, allocations: 378.8 kB / 469.2 MB, free: 12.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007654/0.5367, allocations: 370.1 kB / 469.5 MB, free: 12.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.5377, allocations: 0.6497 MB / 470.2 MB, free: 11.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.5388, allocations: 0.5911 MB / 470.8 MB, free: 11.21 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.5388, allocations: 4 kB / 470.8 MB, free: 11.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002687/0.5415, allocations: 1.323 MB / 472.1 MB, free: 9.848 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.5417, allocations: 118.8 kB / 472.2 MB, free: 9.707 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.318e-05/0.5417, allocations: 11.98 kB / 472.2 MB, free: 9.695 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.674e-05/0.5418, allocations: 20.7 kB / 472.3 MB, free: 9.676 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005138/0.5423, allocations: 115.8 kB / 472.4 MB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.187e-05/0.5423, allocations: 24.08 kB / 472.4 MB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004753/0.5428, allocations: 71.42 kB / 472.5 MB, free: 9.469 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.5429, allocations: 51.97 kB / 472.5 MB, free: 9.418 MB / 394.7 MB Warning: Assuming fixed start value for the following 10 variables: process[1].y[1]:DISCRETE(fixed = false ) type: Integer [2,3] process[1].y[2]:DISCRETE(fixed = false ) type: Integer [2,3] process[1].y[3]:DISCRETE(fixed = false ) type: Integer [2,3] tCPIPSend[1].dataSent:DISCRETE(fixed = false ) type: Integer [2] tCPIPReceive[1].nReceivedBytes:DISCRETE(fixed = false ) "Number of received bytes" type: Integer [2] process[2].y[1]:DISCRETE(fixed = false ) type: Integer [2,3] process[2].y[2]:DISCRETE(fixed = false ) type: Integer [2,3] process[2].y[3]:DISCRETE(fixed = false ) type: Integer [2,3] tCPIPSend[2].dataSent:DISCRETE(fixed = false ) type: Integer [2] tCPIPReceive[2].nReceivedBytes:DISCRETE(fixed = false ) "Number of received bytes" type: Integer [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 114 ($PRE.process[1].y[1],process[1].y[1],$PRE.process[1].y[2],process[1].y[2],$PRE.process[1].y[3],process[1].y[3],$PRE.tCPIPSend[1].dummy1,tCPIPSend[1].dummy1,$PRE.tCPIPSend[1].pkgSize,tCPIPSend[1].pkgSize,$PRE.tCPIPSend[1].dataSent,tCPIPSend[1].dataSent,$PRE.tCPIPSend[1].dummy2,tCPIPSend[1].dummy2,$PRE.addInteger[1].pkgOut[1].dummy,addInteger[1].pkgOut[1].dummy,$PRE.packager[1].pkgOut.dummy,packager[1].pkgOut.dummy,$PRE.getInteger[1].dummy,getInteger[1].dummy,$PRE.getInteger[1].y[3],getInteger[1].y[3],$PRE.getInteger[1].y[2],getInteger[1].y[2],$PRE.getInteger[1].y[1],getInteger[1].y[1],$PRE.tCPIPReceive[1].pkgOut.dummy,tCPIPReceive[1].pkgOut.dummy,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,tCPIPReceive[1].actTrigger,$PRE.tCPIPReceive[1].nReceivedBytes,tCPIPReceive[1].nReceivedBytes,$PRE.tCPIPReceive[1].accepted,tCPIPReceive[1].accepted,$PRE.tCPIPReceive[1].block_,tCPIPReceive[1].block_,addInteger[1].pkgOut[1].trigger,addInteger[1].pkgOut[1].backwardTrigger,$PRE.tCPIPSend[1].accepted,tCPIPSend[1].accepted,$PRE.tCPIPSend[1].block_,tCPIPSend[1].block_,process[1].trigger,$PRE.process[2].y[1],process[2].y[1],$PRE.process[2].y[2],process[2].y[2],$PRE.process[2].y[3],process[2].y[3],$PRE.tCPIPSend[2].dummy1,tCPIPSend[2].dummy1,$PRE.tCPIPSend[2].pkgSize,tCPIPSend[2].pkgSize,$PRE.tCPIPSend[2].dataSent,tCPIPSend[2].dataSent,$PRE.tCPIPSend[2].dummy2,tCPIPSend[2].dummy2,$PRE.addInteger[2].pkgOut[1].dummy,addInteger[2].pkgOut[1].dummy,$PRE.packager[2].pkgOut.dummy,packager[2].pkgOut.dummy,$PRE.getInteger[2].dummy,getInteger[2].dummy,$PRE.getInteger[2].y[3],getInteger[2].y[3],$PRE.getInteger[2].y[2],getInteger[2].y[2],$PRE.getInteger[2].y[1],getInteger[2].y[1],$PRE.tCPIPReceive[2].pkgOut.dummy,tCPIPReceive[2].pkgOut.dummy,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,tCPIPReceive[2].actTrigger,$PRE.tCPIPReceive[2].nReceivedBytes,tCPIPReceive[2].nReceivedBytes,$PRE.tCPIPReceive[2].accepted,tCPIPReceive[2].accepted,$PRE.tCPIPReceive[2].block_,tCPIPReceive[2].block_,addInteger[2].pkgOut[1].trigger,addInteger[2].pkgOut[1].backwardTrigger,$PRE.tCPIPSend[2].accepted,tCPIPSend[2].accepted,$PRE.tCPIPSend[2].block_,tCPIPSend[2].block_,process[2].trigger,tCPIPSend[2].internalTrigger,tCPIPSend[1].internalTrigger,getInteger[2].pkgIn.userPkgBitSize,getInteger[2].pkgIn.backwardTrigger,getInteger[1].pkgIn.userPkgBitSize,getInteger[1].pkgIn.backwardTrigger,packager[2].backwardPropagatedBufferSize,packager[2].bufferSize,addInteger[2].pkgIn.autoPkgBitSize,tCPIPSend[2].pkgIn.userPkgBitSize,tCPIPSend[2].pkgIn.autoPkgBitSize,tCPIPSend[2].bufferSize,packager[1].backwardPropagatedBufferSize,packager[1].bufferSize,addInteger[1].pkgIn.autoPkgBitSize,tCPIPSend[1].pkgIn.userPkgBitSize,tCPIPSend[1].pkgIn.autoPkgBitSize,tCPIPSend[1].bufferSize,tCPIPReceive[2].bufferSize,getInteger[2].pkgIn.autoPkgBitSize,tCPIPReceive[1].bufferSize,getInteger[1].pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 4 * 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.0005108/0.5435, allocations: 290.9 kB / 472.8 MB, free: 9.125 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.5436, allocations: 51.44 kB / 472.8 MB, free: 9.074 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.5438, allocations: 48.06 kB / 472.9 MB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/0.5438, allocations: 11.95 kB / 472.9 MB, free: 9.012 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.5438, allocations: 4 kB / 472.9 MB, free: 9.008 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.624e-06/0.5438, allocations: 4 kB / 472.9 MB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00347/0.5473, allocations: 1.79 MB / 474.7 MB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-05/0.5474, allocations: 8 kB / 474.7 MB, free: 7.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.26e-05/0.5474, allocations: 11.94 kB / 474.7 MB, free: 7.141 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-05/0.5475, allocations: 7.938 kB / 474.7 MB, free: 7.133 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.736e-05/0.5475, allocations: 19.97 kB / 474.7 MB, free: 7.113 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.098e-05/0.5476, allocations: 8 kB / 474.8 MB, free: 7.105 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.5476, allocations: 7.938 kB / 474.8 MB, free: 7.098 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002259/0.5498, allocations: 1.291 MB / 476.1 MB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.55, allocations: 132.4 kB / 476.2 MB, free: 5.586 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.5501, allocations: 15.98 kB / 476.2 MB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003549/0.5505, allocations: 23.97 kB / 476.2 MB, free: 5.547 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.5506, allocations: 43.94 kB / 476.3 MB, free: 5.504 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/0.5508, allocations: 35.98 kB / 476.3 MB, free: 5.469 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003388/0.5511, allocations: 230.1 kB / 476.5 MB, free: 5.246 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.66e-07/0.5511, allocations: 0 / 476.5 MB, free: 5.246 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001185/0.5523, allocations: 247.4 kB / 476.8 MB, free: 5.004 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 72 (tCPIPSend[1].internalTrigger,tCPIPSend[2].internalTrigger,packager[2].backwardPropagatedBufferSize,packager[2].bufferSize,addInteger[2].pkgIn.autoPkgBitSize,tCPIPSend[2].pkgIn.userPkgBitSize,tCPIPSend[2].pkgIn.autoPkgBitSize,packager[1].backwardPropagatedBufferSize,packager[1].bufferSize,addInteger[1].pkgIn.autoPkgBitSize,tCPIPSend[1].pkgIn.userPkgBitSize,tCPIPSend[1].pkgIn.autoPkgBitSize,addInteger[2].pkgOut[1].trigger,process[2].trigger,tCPIPReceive[2].actTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,tCPIPReceive[2].pkgOut.dummy,tCPIPReceive[2].nReceivedBytes,tCPIPReceive[2].accepted,tCPIPReceive[2].bufferSize,tCPIPReceive[2].block_,getInteger[2].pkgIn.autoPkgBitSize,getInteger[2].y[1],getInteger[2].y[2],getInteger[2].y[3],getInteger[2].dummy,packager[2].pkgOut.dummy,addInteger[2].pkgOut[1].dummy,addInteger[2].pkgOut[1].backwardTrigger,tCPIPSend[2].dataSent,tCPIPSend[2].accepted,tCPIPSend[2].bufferSize,tCPIPSend[2].dummy1,tCPIPSend[2].dummy2,tCPIPSend[2].pkgSize,tCPIPSend[2].block_,process[2].y[1],process[2].y[2],process[2].y[3],addInteger[1].pkgOut[1].trigger,process[1].trigger,tCPIPReceive[1].actTrigger,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,tCPIPReceive[1].pkgOut.dummy,tCPIPReceive[1].nReceivedBytes,tCPIPReceive[1].accepted,tCPIPReceive[1].bufferSize,tCPIPReceive[1].block_,getInteger[1].pkgIn.autoPkgBitSize,getInteger[1].y[1],getInteger[1].y[2],getInteger[1].y[3],getInteger[1].dummy,packager[1].pkgOut.dummy,addInteger[1].pkgOut[1].dummy,addInteger[1].pkgOut[1].backwardTrigger,tCPIPSend[1].dataSent,tCPIPSend[1].accepted,tCPIPSend[1].bufferSize,tCPIPSend[1].dummy1,tCPIPSend[1].dummy2,tCPIPSend[1].pkgSize,tCPIPSend[1].block_,process[1].y[1],process[1].y[2],process[1].y[3]) * Number of discrete states: 4 (tCPIPReceive[1].block_,tCPIPSend[1].block_,tCPIPReceive[2].block_,tCPIPSend[2].block_) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 42 * 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.001372/0.5537, allocations: 0.5228 MB / 477.3 MB, free: 4.574 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002158/0.5559, allocations: 1.159 MB / 478.4 MB, free: 3.355 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.5559, allocations: 0 / 478.4 MB, free: 3.355 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007733/0.5567, allocations: 409.3 kB / 478.8 MB, free: 2.949 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000625/0.5573, allocations: 80 kB / 478.9 MB, free: 2.875 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/0.5597, allocations: 1.072 MB / 480 MB, free: 1.754 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000797/0.5605, allocations: 0.977 MB / 481 MB, free: 0.75 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003216/0.5609, allocations: 112.8 kB / 481.1 MB, free: 0.6367 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.561, allocations: 35.44 kB / 481.1 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of SimCode: time 1.482e-06/0.561, allocations: 0 / 481.1 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of Templates: time 0.02153/0.5826, allocations: 8.38 MB / 489.5 MB, free: 8.289 MB / 410.7 MB