Running command: translateModel(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas") Notification: Performance of loadModel(Modelica): time 1.788/1.788, allocations: 194.9 MB / 210.6 MB, free: 8.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.63e-05/2.642e-05, allocations: 4 kB / 258.8 MB, free: 7.863 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2826, allocations: 44.5 MB / 303.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.187/0.4697, allocations: 121.6 MB / 424.9 MB, free: 3.688 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00289/0.4727, allocations: 1.633 MB / 426.5 MB, free: 2.055 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.755e-05/0.4728, allocations: 0 / 426.5 MB, free: 2.055 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00025/0.4731, allocations: 47.72 kB / 426.5 MB, free: 2.008 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001155/0.4742, allocations: 374.8 kB / 426.9 MB, free: 1.641 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003514/0.4746, allocations: 91.73 kB / 427 MB, free: 1.551 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.4748, allocations: 107.8 kB / 427.1 MB, free: 1.445 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.579e-05/0.4749, allocations: 7.938 kB / 427.1 MB, free: 1.438 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004486/0.4753, allocations: 175.5 kB / 427.3 MB, free: 1.266 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.4755, allocations: 55.84 kB / 427.3 MB, free: 1.211 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001902/0.4774, allocations: 0.6555 MB / 428 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.4776, allocations: 24 kB / 428 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.4777, allocations: 71.86 kB / 428.1 MB, free: 472 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.4779, allocations: 24 kB / 428.1 MB, free: 448 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009683/0.4788, allocations: 437.6 kB / 428.5 MB, free: 12 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.4789, allocations: 0 / 428.5 MB, free: 12 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4789, allocations: 0 / 428.5 MB, free: 12 kB / 362.7 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.4789, allocations: 0 / 428.5 MB, free: 12 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.2718/0.7507, allocations: 464.5 kB / 429 MB, free: 123.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.7508, allocations: 8.625 kB / 429 MB, free: 123.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004554/0.7554, allocations: 275.8 kB / 429.3 MB, free: 123.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005685/0.756, allocations: 251.2 kB / 429.5 MB, free: 123.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.797e-05/0.756, allocations: 13.84 kB / 429.5 MB, free: 123.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/0.7562, allocations: 21.09 kB / 429.6 MB, free: 123.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004841/0.7611, allocations: 0.4948 MB / 430 MB, free: 123.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.7611, allocations: 0 / 430 MB, free: 123.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/0.7613, allocations: 10.78 kB / 430.1 MB, free: 123.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.273e-05/0.7614, allocations: 8.188 kB / 430.1 MB, free: 123.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002425/0.7638, allocations: 0.622 MB / 430.7 MB, free: 123 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00296/0.7668, allocations: 0.9468 MB / 431.6 MB, free: 122.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006981/0.7675, allocations: 318.3 kB / 431.9 MB, free: 122.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001196/0.7687, allocations: 270.9 kB / 432.2 MB, free: 121.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.7688, allocations: 42.06 kB / 432.3 MB, free: 121.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 2.845e-06/0.7688, allocations: 0 / 432.3 MB, free: 121.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.003232/0.772, allocations: 0.7039 MB / 433 MB, free: 121.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.7721, allocations: 81.09 kB / 433 MB, free: 121.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.544e-05/0.7722, allocations: 115.2 kB / 433.1 MB, free: 121.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.073e-05/0.7723, allocations: 34.7 kB / 433.2 MB, free: 121.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.434e-05/0.7723, allocations: 109.5 kB / 433.3 MB, free: 121.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.7724, allocations: 109.6 kB / 433.4 MB, free: 121.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.7725, allocations: 5.25 kB / 433.4 MB, free: 121.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.391e-05/0.7726, allocations: 330.8 kB / 433.7 MB, free: 120.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00058/0.7732, allocations: 241.9 kB / 434 MB, free: 120.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006287/0.7738, allocations: 299.6 kB / 434.3 MB, free: 120.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000655/0.7745, allocations: 256.2 kB / 434.5 MB, free: 119.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.7745, allocations: 0 / 434.5 MB, free: 119.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001523/0.776, allocations: 0.5945 MB / 435.1 MB, free: 119.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.7761, allocations: 10.78 kB / 435.1 MB, free: 119.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.7761, allocations: 0 / 435.1 MB, free: 119.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.7761, allocations: 8 kB / 435.1 MB, free: 119.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.7771, allocations: 87.81 kB / 435.2 MB, free: 119.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.7772, allocations: 4 kB / 435.2 MB, free: 119.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007263/0.7779, allocations: 43.31 kB / 435.2 MB, free: 119.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.22e-05/0.778, allocations: 12 kB / 435.3 MB, free: 119.2 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 41 * 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.0002016/0.7782, allocations: 149.7 kB / 435.4 MB, free: 119 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.7783, allocations: 19.84 kB / 435.4 MB, free: 119 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001587/0.7799, allocations: 0.565 MB / 436 MB, free: 118.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.78, allocations: 7.938 kB / 436 MB, free: 118.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.78, allocations: 0 / 436 MB, free: 118.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.78, allocations: 7.984 kB / 436 MB, free: 118.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001948/0.782, allocations: 0.8031 MB / 436.8 MB, free: 117.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.782, allocations: 4 kB / 436.8 MB, free: 117.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009816/0.783, allocations: 59.95 kB / 436.9 MB, free: 117.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.783, allocations: 4 kB / 436.9 MB, free: 117.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.842e-05/0.7831, allocations: 8 kB / 436.9 MB, free: 117.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.7831, allocations: 3.938 kB / 436.9 MB, free: 117.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.7831, allocations: 8.016 kB / 436.9 MB, free: 117.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.7849, allocations: 0.8391 MB / 437.7 MB, free: 116.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/0.7849, allocations: 96.95 kB / 437.8 MB, free: 116.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.917e-05/0.785, allocations: 8.047 kB / 437.8 MB, free: 116.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009075/0.786, allocations: 35.91 kB / 437.9 MB, free: 116.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.164e-05/0.7861, allocations: 19.97 kB / 437.9 MB, free: 116.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.767e-05/0.7861, allocations: 19.98 kB / 437.9 MB, free: 116.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.584e-05/0.7862, allocations: 95.2 kB / 438 MB, free: 116.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.7862, allocations: 0 / 438 MB, free: 116.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008063/0.787, allocations: 167.8 kB / 438.2 MB, free: 116.2 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (state.p,state.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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 Backend phase and start with SimCode phase: time 0.001046/0.7881, allocations: 279.2 kB / 438.4 MB, free: 115.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001318/0.7894, allocations: 0.5173 MB / 439 MB, free: 115.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.7894, allocations: 0 / 439 MB, free: 115.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006317/0.7901, allocations: 254 kB / 439.2 MB, free: 115.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.7911, allocations: 88.75 kB / 439.3 MB, free: 115.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.7931, allocations: 1.079 MB / 440.4 MB, free: 113.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.7934, allocations: 0.748 MB / 441.1 MB, free: 113.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001233/0.7946, allocations: 125.8 kB / 441.2 MB, free: 113 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002608/0.7949, allocations: 23.44 kB / 441.3 MB, free: 113 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/0.7949, allocations: 0 / 441.3 MB, free: 113 MB / 362.7 MB Notification: Performance of Templates: time 0.01737/0.8123, allocations: 7.889 MB / 449.2 MB, free: 105.2 MB / 362.7 MB