Running command: translateModel(ModelicaTest.Media.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="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.FlueGas") Notification: Performance of loadModel(ModelicaTest): time 2.384/2.384, allocations: 269 MB / 284.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.923e-05/2.913e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1303, allocations: 61.91 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.5558/0.6862, allocations: 121.6 MB / 0.52 GB, free: 15.03 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003224/0.6894, allocations: 1.717 MB / 0.5217 GB, free: 13.31 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.055e-05/0.6896, allocations: 0 / 0.5217 GB, free: 13.31 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.6898, allocations: 43.78 kB / 0.5217 GB, free: 13.27 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001344/0.6912, allocations: 378.8 kB / 0.5221 GB, free: 12.9 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003727/0.6916, allocations: 95.73 kB / 0.5222 GB, free: 12.8 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002946/0.6919, allocations: 111.7 kB / 0.5223 GB, free: 12.7 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.337e-05/0.692, allocations: 7.984 kB / 0.5223 GB, free: 12.69 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004736/0.6924, allocations: 167.5 kB / 0.5225 GB, free: 12.52 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.6926, allocations: 55.91 kB / 0.5225 GB, free: 12.47 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002397/0.695, allocations: 0.6672 MB / 0.5232 GB, free: 11.8 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002537/0.6954, allocations: 24 kB / 0.5232 GB, free: 11.78 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.6955, allocations: 79.8 kB / 0.5233 GB, free: 11.7 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.6957, allocations: 20 kB / 0.5233 GB, free: 11.68 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001465/0.6971, allocations: 448.1 kB / 0.5237 GB, free: 11.25 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6972, allocations: 0 / 0.5237 GB, free: 11.25 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.6972, allocations: 0 / 0.5237 GB, free: 11.25 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.935e-05/0.6972, allocations: 0 / 0.5237 GB, free: 11.25 MB / 442.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.0009356/0.6982, allocations: 463.3 kB / 0.5242 GB, free: 10.75 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.6982, allocations: 8.031 kB / 0.5242 GB, free: 10.74 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003194/0.7015, allocations: 283.4 kB / 0.5244 GB, free: 10.46 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004842/0.702, allocations: 254.6 kB / 0.5247 GB, free: 10.17 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.702, allocations: 12.33 kB / 0.5247 GB, free: 10.16 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.7022, allocations: 23.95 kB / 0.5247 GB, free: 10.14 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.7034, allocations: 497.3 kB / 0.5252 GB, free: 9.641 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.7034, allocations: 0 / 0.5252 GB, free: 9.641 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.72e-05/0.7035, allocations: 12 kB / 0.5252 GB, free: 9.629 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.533e-05/0.7036, allocations: 11.98 kB / 0.5252 GB, free: 9.617 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/0.7051, allocations: 0.5972 MB / 0.5258 GB, free: 9.02 MB / 442.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.003055/0.7082, allocations: 0.9489 MB / 0.5267 GB, free: 8.016 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000754/0.7089, allocations: 316.1 kB / 0.527 GB, free: 7.691 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001238/0.7102, allocations: 266.1 kB / 0.5273 GB, free: 7.395 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.7102, allocations: 42.56 kB / 0.5273 GB, free: 7.344 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 2.595e-06/0.7103, allocations: 0 / 0.5273 GB, free: 7.344 MB / 442.7 MB Notification: Performance of matching and sorting (n=29): time 0.003476/0.7137, allocations: 0.6927 MB / 0.528 GB, free: 6.645 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.7138, allocations: 85.09 kB / 0.5281 GB, free: 6.543 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.714, allocations: 113.2 kB / 0.5282 GB, free: 6.426 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.502e-05/0.714, allocations: 29.7 kB / 0.5282 GB, free: 6.391 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.7141, allocations: 186.8 kB / 0.5284 GB, free: 6.207 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.7143, allocations: 106.5 kB / 0.5285 GB, free: 6.102 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.7144, allocations: 8 kB / 0.5285 GB, free: 6.094 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.7145, allocations: 326.8 kB / 0.5288 GB, free: 5.766 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006763/0.7152, allocations: 231.7 kB / 0.529 GB, free: 5.539 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007666/0.716, allocations: 312.2 kB / 0.5293 GB, free: 5.203 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007639/0.7168, allocations: 250.3 kB / 0.5296 GB, free: 4.961 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.7168, allocations: 4 kB / 0.5296 GB, free: 4.957 MB / 442.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001781/0.7186, allocations: 0.5909 MB / 0.5302 GB, free: 4.359 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.7186, allocations: 8 kB / 0.5302 GB, free: 4.352 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.7186, allocations: 4 kB / 0.5302 GB, free: 4.348 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.7187, allocations: 4 kB / 0.5302 GB, free: 4.344 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.7197, allocations: 81.81 kB / 0.5302 GB, free: 4.266 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.7197, allocations: 8 kB / 0.5303 GB, free: 4.258 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007235/0.7205, allocations: 43.75 kB / 0.5303 GB, free: 4.215 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.709e-05/0.7206, allocations: 12 kB / 0.5303 GB, free: 4.203 MB / 442.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.0002442/0.7208, allocations: 145.7 kB / 0.5304 GB, free: 4.051 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.721, allocations: 19.81 kB / 0.5305 GB, free: 4.031 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0018/0.7228, allocations: 0.5677 MB / 0.531 GB, free: 3.457 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.7228, allocations: 4 kB / 0.531 GB, free: 3.453 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.7229, allocations: 4 kB / 0.531 GB, free: 3.449 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.7229, allocations: 3.984 kB / 0.531 GB, free: 3.445 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002228/0.7251, allocations: 0.7924 MB / 0.5318 GB, free: 2.594 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.217e-06/0.7251, allocations: 0 / 0.5318 GB, free: 2.594 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.7262, allocations: 68.77 kB / 0.5319 GB, free: 2.527 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.7262, allocations: 0 / 0.5319 GB, free: 2.527 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.424e-05/0.7263, allocations: 11.98 kB / 0.5319 GB, free: 2.516 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.7263, allocations: 8.031 kB / 0.5319 GB, free: 2.508 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.7263, allocations: 0 / 0.5319 GB, free: 2.508 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/0.7284, allocations: 0.8463 MB / 0.5327 GB, free: 1.633 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.97e-05/0.7285, allocations: 96.86 kB / 0.5328 GB, free: 1.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.7286, allocations: 8.75 kB / 0.5328 GB, free: 1.512 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009138/0.7296, allocations: 27.91 kB / 0.5328 GB, free: 1.484 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.321e-05/0.7297, allocations: 23.86 kB / 0.5329 GB, free: 1.461 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.228e-05/0.7298, allocations: 19.98 kB / 0.5329 GB, free: 1.441 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.885e-05/0.7298, allocations: 91.27 kB / 0.533 GB, free: 1.352 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.7299, allocations: 4 kB / 0.533 GB, free: 1.348 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008977/0.7308, allocations: 163.9 kB / 0.5331 GB, free: 1.188 MB / 442.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.001134/0.7319, allocations: 287 kB / 0.5334 GB, free: 0.8945 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001479/0.7334, allocations: 0.5038 MB / 0.5339 GB, free: 400 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.7334, allocations: 0 / 0.5339 GB, free: 400 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000689/0.7341, allocations: 251.7 kB / 0.5341 GB, free: 148 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.7352, allocations: 96.42 kB / 0.5342 GB, free: 52 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.7375, allocations: 1.1 MB / 0.5353 GB, free: 14.91 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.7379, allocations: 0.7365 MB / 0.536 GB, free: 14.15 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004016/0.7384, allocations: 35.42 kB / 0.5361 GB, free: 14.11 MB / 458.7 MB Notification: Performance of SimCode: time 9.02e-07/0.7384, allocations: 0 / 0.5361 GB, free: 14.11 MB / 458.7 MB Notification: Performance of Templates: time 0.01609/0.7545, allocations: 6.916 MB / 0.5428 GB, free: 7.207 MB / 458.7 MB