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_cpp_Modelica.Media.Examples.TestOnly.FlueGas") Notification: Performance of loadModel(Modelica): time 2.232/2.232, allocations: 194.9 MB / 211.2 MB, free: 7.867 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.762e-05/2.761e-05, allocations: 0 / 258.8 MB, free: 8.227 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3021, allocations: 44.49 MB / 303.3 MB, free: 12.83 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.2001/0.5022, allocations: 121.6 MB / 424.8 MB, free: 3.742 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003324/0.5056, allocations: 1.637 MB / 426.5 MB, free: 2.102 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.533e-05/0.5057, allocations: 0 / 426.5 MB, free: 2.102 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.506, allocations: 39.8 kB / 426.5 MB, free: 2.062 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001464/0.5075, allocations: 386.8 kB / 426.9 MB, free: 1.684 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003975/0.5079, allocations: 83.75 kB / 427 MB, free: 1.602 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003182/0.5083, allocations: 115.8 kB / 427.1 MB, free: 1.488 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.5083, allocations: 0 / 427.1 MB, free: 1.488 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004957/0.5088, allocations: 171.5 kB / 427.3 MB, free: 1.32 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.509, allocations: 59.88 kB / 427.3 MB, free: 1.262 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002196/0.5112, allocations: 0.6593 MB / 428 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001984/0.5115, allocations: 24 kB / 428 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.5116, allocations: 75.83 kB / 428.1 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.5117, allocations: 24 kB / 428.1 MB, free: 492 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.513, allocations: 437.1 kB / 428.5 MB, free: 56 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.513, allocations: 4 kB / 428.5 MB, free: 52 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.513, allocations: 0 / 428.5 MB, free: 52 kB / 362.7 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.513, allocations: 0 / 428.5 MB, free: 52 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.2989/0.8119, allocations: 462.5 kB / 429 MB, free: 123.4 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.812, allocations: 9.531 kB / 429 MB, free: 123.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003264/0.8152, allocations: 277.8 kB / 429.3 MB, free: 123.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005129/0.8158, allocations: 246.4 kB / 429.5 MB, free: 123.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.319e-05/0.8159, allocations: 11.89 kB / 429.5 MB, free: 123.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.816, allocations: 18.02 kB / 429.5 MB, free: 123.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.8175, allocations: 0.4941 MB / 430 MB, free: 123.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.8176, allocations: 0 / 430 MB, free: 123.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-05/0.8177, allocations: 17.64 kB / 430 MB, free: 123.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-05/0.8177, allocations: 7.656 kB / 430 MB, free: 123.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0017/0.8195, allocations: 0.6108 MB / 430.7 MB, free: 122.9 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.003132/0.8226, allocations: 0.9476 MB / 431.6 MB, free: 122.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007567/0.8234, allocations: 323.5 kB / 431.9 MB, free: 122 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001352/0.8248, allocations: 270.9 kB / 432.2 MB, free: 121.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.8249, allocations: 36.81 kB / 432.2 MB, free: 121.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 3.747e-06/0.8249, allocations: 0 / 432.2 MB, free: 121.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.003571/0.8285, allocations: 0.7033 MB / 432.9 MB, free: 121.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.8286, allocations: 84.23 kB / 433 MB, free: 121.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.8287, allocations: 114.1 kB / 433.1 MB, free: 121.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.484e-05/0.8288, allocations: 33.67 kB / 433.2 MB, free: 121.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.93e-05/0.8289, allocations: 175.8 kB / 433.3 MB, free: 121 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.829, allocations: 108.8 kB / 433.4 MB, free: 120.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/0.8291, allocations: 11.91 kB / 433.4 MB, free: 120.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.711e-05/0.8291, allocations: 325.2 kB / 433.8 MB, free: 120.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006044/0.8298, allocations: 234.3 kB / 434 MB, free: 120.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006331/0.8304, allocations: 314.3 kB / 434.3 MB, free: 120.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006567/0.8311, allocations: 253.3 kB / 434.5 MB, free: 119.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.8311, allocations: 0 / 434.5 MB, free: 119.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00158/0.8327, allocations: 0.5854 MB / 435.1 MB, free: 119.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.8327, allocations: 11.98 kB / 435.1 MB, free: 119.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.8328, allocations: 0 / 435.1 MB, free: 119.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.722e-05/0.8328, allocations: 6.812 kB / 435.1 MB, free: 119.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.8338, allocations: 88.58 kB / 435.2 MB, free: 119.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.8339, allocations: 7.984 kB / 435.2 MB, free: 119.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007391/0.8346, allocations: 43.42 kB / 435.3 MB, free: 119.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-05/0.8347, allocations: 19.98 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.0002323/0.835, allocations: 145.7 kB / 435.4 MB, free: 119 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.8352, allocations: 11.91 kB / 435.5 MB, free: 119 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001693/0.8369, allocations: 0.5703 MB / 436 MB, free: 118.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.8369, allocations: 0 / 436 MB, free: 118.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.8369, allocations: 11.92 kB / 436 MB, free: 118.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.8369, allocations: 0 / 436 MB, free: 118.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/0.839, allocations: 0.8033 MB / 436.8 MB, free: 117.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.8391, allocations: 0 / 436.8 MB, free: 117.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.8401, allocations: 59.95 kB / 436.9 MB, free: 117.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/0.8402, allocations: 0 / 436.9 MB, free: 117.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-05/0.8403, allocations: 15.92 kB / 436.9 MB, free: 117.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.8403, allocations: 4.078 kB / 436.9 MB, free: 117.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.8403, allocations: 5.984 kB / 436.9 MB, free: 117.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/0.8422, allocations: 0.8399 MB / 437.8 MB, free: 116.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.58e-05/0.8424, allocations: 96.8 kB / 437.9 MB, free: 116.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.8425, allocations: 15.94 kB / 437.9 MB, free: 116.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009619/0.8434, allocations: 28.25 kB / 437.9 MB, free: 116.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.035e-05/0.8436, allocations: 19.98 kB / 437.9 MB, free: 116.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.454e-05/0.8437, allocations: 16.02 kB / 437.9 MB, free: 116.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.309e-05/0.8438, allocations: 99.2 kB / 438 MB, free: 116.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.8438, allocations: 0 / 438 MB, free: 116.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000943/0.8447, 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.001206/0.846, allocations: 282.9 kB / 438.5 MB, free: 115.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001426/0.8474, allocations: 0.514 MB / 439 MB, free: 115.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.8475, allocations: 64 / 439 MB, free: 115.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006148/0.8481, allocations: 255.8 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.001068/0.8492, allocations: 87.95 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.002075/0.8513, allocations: 1.107 MB / 440.4 MB, free: 113.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.8515, allocations: 0.748 MB / 441.2 MB, free: 113.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004274/0.852, allocations: 27.44 kB / 441.2 MB, free: 113.1 MB / 362.7 MB Notification: Performance of SimCode: time 1.222e-06/0.852, allocations: 3.938 kB / 441.2 MB, free: 113.1 MB / 362.7 MB Notification: Performance of Templates: time 0.01474/0.8667, allocations: 7.046 MB / 448.3 MB, free: 106.1 MB / 362.7 MB