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.828/1.828, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.195e-05/3.211e-05, allocations: 4 kB / 255.4 MB, free: 2.699 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07725/0.0773, allocations: 44.5 MB / 299.9 MB, free: 6.129 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.825/1.902, allocations: 0.7504 GB / 1.043 GB, free: 135.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/1.903, allocations: 74.89 kB / 1.043 GB, free: 135.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1848/2.087, allocations: 61.72 MB / 1.104 GB, free: 72.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.494e-06/2.087, allocations: 0 / 1.104 GB, free: 72.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.523e-05/2.088, allocations: 8 kB / 1.104 GB, free: 72.86 MB / 410.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.0007028/2.088, allocations: 473.8 kB / 1.104 GB, free: 72.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/2.088, allocations: 15.97 kB / 1.104 GB, free: 72.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006737/2.095, allocations: 0.6946 MB / 1.105 GB, free: 71.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005633/2.096, allocations: 282.7 kB / 1.105 GB, free: 71.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/2.096, allocations: 12.33 kB / 1.105 GB, free: 71.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/2.096, allocations: 23.91 kB / 1.105 GB, free: 71.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/2.097, allocations: 0.6564 MB / 1.106 GB, free: 70.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/2.097, allocations: 0 / 1.106 GB, free: 70.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/2.097, allocations: 7.984 kB / 1.106 GB, free: 70.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.097e-05/2.097, allocations: 8 kB / 1.106 GB, free: 70.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/2.099, allocations: 0.7144 MB / 1.106 GB, free: 69.88 MB / 410.7 MB Warning: The model contains alias variables with conflicting start and/or 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.00326/2.102, allocations: 1.226 MB / 1.108 GB, free: 68.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006128/2.103, allocations: 281.1 kB / 1.108 GB, free: 68.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000359/2.103, allocations: 189.7 kB / 1.108 GB, free: 68.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006194/2.104, allocations: 250.1 kB / 1.108 GB, free: 67.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/2.104, allocations: 34.56 kB / 1.108 GB, free: 67.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 3.428e-06/2.104, allocations: 0 / 1.108 GB, free: 67.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001055/2.105, allocations: 371.9 kB / 1.109 GB, free: 67.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/2.105, allocations: 85.05 kB / 1.109 GB, free: 67.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/2.105, allocations: 121.9 kB / 1.109 GB, free: 67.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.549e-05/2.105, allocations: 37.69 kB / 1.109 GB, free: 67.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/2.105, allocations: 112.3 kB / 1.109 GB, free: 67.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.416e-05/2.105, allocations: 98.03 kB / 1.109 GB, free: 66.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/2.106, allocations: 8 kB / 1.109 GB, free: 66.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.823e-05/2.106, allocations: 322.8 kB / 1.109 GB, free: 66.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/2.106, allocations: 171.7 kB / 1.11 GB, free: 66.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003862/2.106, allocations: 260.8 kB / 1.11 GB, free: 66.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004114/2.107, allocations: 193.2 kB / 1.11 GB, free: 65.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.838e-06/2.107, allocations: 4 kB / 1.11 GB, free: 65.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001115/2.108, allocations: 481 kB / 1.11 GB, free: 65.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/2.108, allocations: 4 kB / 1.11 GB, free: 65.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.105e-06/2.108, allocations: 4 kB / 1.11 GB, free: 65.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/2.108, allocations: 8 kB / 1.11 GB, free: 65.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006612/2.109, allocations: 79.88 kB / 1.111 GB, free: 65.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/2.109, allocations: 12.34 kB / 1.111 GB, free: 65.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005068/2.109, allocations: 43.67 kB / 1.111 GB, free: 65.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.515e-05/2.109, allocations: 19.98 kB / 1.111 GB, free: 65.32 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0001559/2.11, allocations: 120.9 kB / 1.111 GB, free: 65.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/2.11, allocations: 19.77 kB / 1.111 GB, free: 65.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/2.111, allocations: 459.6 kB / 1.111 GB, free: 64.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.879e-06/2.111, allocations: 7.938 kB / 1.111 GB, free: 64.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.729e-06/2.111, allocations: 4 kB / 1.111 GB, free: 64.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.839e-06/2.111, allocations: 0 / 1.111 GB, free: 64.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009879/2.112, allocations: 0.4977 MB / 1.112 GB, free: 64.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/2.112, allocations: 0 / 1.112 GB, free: 64.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006205/2.113, allocations: 59.89 kB / 1.112 GB, free: 64.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.922e-06/2.113, allocations: 4 kB / 1.112 GB, free: 64.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.638e-05/2.113, allocations: 15.98 kB / 1.112 GB, free: 64.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.834e-06/2.113, allocations: 3.938 kB / 1.112 GB, free: 64.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.211e-06/2.113, allocations: 0 / 1.112 GB, free: 64.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/2.114, allocations: 0.6377 MB / 1.112 GB, free: 63.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.297e-05/2.114, allocations: 88.95 kB / 1.112 GB, free: 63.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.435e-05/2.114, allocations: 8 kB / 1.112 GB, free: 63.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005773/2.115, allocations: 31.88 kB / 1.113 GB, free: 63.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/2.115, allocations: 15.92 kB / 1.113 GB, free: 63.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.148e-05/2.115, allocations: 19.98 kB / 1.113 GB, free: 63.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.83e-05/2.115, allocations: 99.2 kB / 1.113 GB, free: 63.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.86e-07/2.115, allocations: 0 / 1.113 GB, free: 63.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00108/2.116, allocations: 204 kB / 1.113 GB, free: 62.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (25): * Single equations (assignments): 25 * 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.001563/2.118, allocations: 0.7529 MB / 1.114 GB, free: 62.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008906/2.119, allocations: 395.1 kB / 1.114 GB, free: 61.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.494e-06/2.119, allocations: 0 / 1.114 GB, free: 61.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003673/2.119, allocations: 195.8 kB / 1.114 GB, free: 61.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007678/2.12, allocations: 88.67 kB / 1.114 GB, free: 61.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/2.121, allocations: 0.7697 MB / 1.115 GB, free: 60.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/2.121, allocations: 0.7445 MB / 1.116 GB, free: 59.94 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001152/2.123, allocations: 113.4 kB / 1.116 GB, free: 59.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002321/2.123, allocations: 31.41 kB / 1.116 GB, free: 59.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.71e-06/2.123, allocations: 0 / 1.116 GB, free: 59.8 MB / 410.7 MB Notification: Performance of Templates: time 0.02736/2.15, allocations: 16.35 MB / 1.132 GB, free: 43.45 MB / 410.7 MB