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.1_Modelica.Media.Examples.TestOnly.FlueGas") Notification: Performance of loadModel(Modelica): time 1.7/1.7, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.291e-05/3.309e-05, allocations: 7.984 kB / 225 MB, free: 2.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2737, allocations: 38.76 MB / 263.8 MB, free: 9.82 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.743/2.017, allocations: 0.738 GB / 0.9956 GB, free: 57.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/2.017, allocations: 72.89 kB / 0.9957 GB, free: 57.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.184/2.201, allocations: 61.45 MB / 1.056 GB, free: 1.793 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.282e-06/2.201, allocations: 4 kB / 1.056 GB, free: 1.789 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.406e-05/2.201, allocations: 4 kB / 1.056 GB, free: 1.785 MB / 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.0007099/2.202, allocations: 474.2 kB / 1.056 GB, free: 1.273 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/2.202, allocations: 8.031 kB / 1.056 GB, free: 1.266 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006863/2.209, allocations: 0.6981 MB / 1.057 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005155/2.209, allocations: 278.7 kB / 1.057 GB, free: 260 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/2.209, allocations: 20.27 kB / 1.057 GB, free: 240 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/2.21, allocations: 16 kB / 1.057 GB, free: 224 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2251/2.435, allocations: 0.6521 MB / 1.058 GB, free: 114 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/2.435, allocations: 0.5312 kB / 1.058 GB, free: 114 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/2.435, allocations: 13.16 kB / 1.058 GB, free: 114 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.434e-05/2.435, allocations: 10.06 kB / 1.058 GB, free: 114 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001972/2.437, allocations: 0.7089 MB / 1.059 GB, free: 114 MB / 362.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.003814/2.441, allocations: 1.231 MB / 1.06 GB, free: 113.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006128/2.441, allocations: 290.1 kB / 1.06 GB, free: 113.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003884/2.442, allocations: 181.4 kB / 1.06 GB, free: 113.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006645/2.442, allocations: 250.8 kB / 1.06 GB, free: 113.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/2.443, allocations: 42.3 kB / 1.06 GB, free: 113.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 4.3e-06/2.443, allocations: 0 / 1.06 GB, free: 113.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001092/2.444, allocations: 370.7 kB / 1.061 GB, free: 113.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/2.444, allocations: 81.08 kB / 1.061 GB, free: 113 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/2.444, allocations: 122 kB / 1.061 GB, free: 112.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.787e-05/2.444, allocations: 32.33 kB / 1.061 GB, free: 112.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.282e-05/2.444, allocations: 116.5 kB / 1.061 GB, free: 112.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.664e-05/2.444, allocations: 98.86 kB / 1.061 GB, free: 112.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.256e-05/2.444, allocations: 3.875 kB / 1.061 GB, free: 112.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.991e-05/2.444, allocations: 335.4 kB / 1.062 GB, free: 112.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/2.445, allocations: 164.5 kB / 1.062 GB, free: 112.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00043/2.445, allocations: 267.1 kB / 1.062 GB, free: 112.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004202/2.445, allocations: 198.1 kB / 1.062 GB, free: 112.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/2.445, allocations: 0 / 1.062 GB, free: 112.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.00116/2.447, allocations: 474.4 kB / 1.063 GB, free: 112.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/2.447, allocations: 10.03 kB / 1.063 GB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.952e-06/2.447, allocations: 3.375 kB / 1.063 GB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/2.447, allocations: 3.969 kB / 1.063 GB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006753/2.447, allocations: 82.09 kB / 1.063 GB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/2.447, allocations: 5.75 kB / 1.063 GB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005173/2.448, allocations: 48.73 kB / 1.063 GB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.272e-05/2.448, allocations: 20.75 kB / 1.063 GB, free: 112.2 MB / 362.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.0001581/2.448, allocations: 124.5 kB / 1.063 GB, free: 112.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/2.448, allocations: 20.66 kB / 1.063 GB, free: 112.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/2.45, allocations: 461.1 kB / 1.063 GB, free: 112.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.219e-06/2.45, allocations: 3.375 kB / 1.063 GB, free: 112.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.911e-06/2.45, allocations: 0 / 1.063 GB, free: 112.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.49e-06/2.45, allocations: 4.406 kB / 1.063 GB, free: 112.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/2.451, allocations: 0.4984 MB / 1.064 GB, free: 111.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/2.451, allocations: 0 / 1.064 GB, free: 111.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007328/2.451, allocations: 61.69 kB / 1.064 GB, free: 111.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.481e-06/2.452, allocations: 0 / 1.064 GB, free: 111.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.977e-05/2.452, allocations: 17.41 kB / 1.064 GB, free: 111.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.563e-06/2.452, allocations: 0 / 1.064 GB, free: 111.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.777e-06/2.452, allocations: 5.844 kB / 1.064 GB, free: 111.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/2.453, allocations: 0.6358 MB / 1.065 GB, free: 111.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.353e-05/2.453, allocations: 91.33 kB / 1.065 GB, free: 111.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.149e-05/2.453, allocations: 14.73 kB / 1.065 GB, free: 111.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006372/2.454, allocations: 23.17 kB / 1.065 GB, free: 111.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/2.454, allocations: 19.47 kB / 1.065 GB, free: 111.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.332e-05/2.454, allocations: 26.17 kB / 1.065 GB, free: 111.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.131e-05/2.454, allocations: 101.6 kB / 1.065 GB, free: 111.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.08e-07/2.454, allocations: 0 / 1.065 GB, free: 111.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001102/2.455, allocations: 196.1 kB / 1.065 GB, free: 111.4 MB / 362.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.001669/2.457, allocations: 0.7387 MB / 1.066 GB, free: 111.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008973/2.458, allocations: 406 kB / 1.066 GB, free: 111.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.782e-06/2.458, allocations: 0 / 1.066 GB, free: 111.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003804/2.458, allocations: 189.7 kB / 1.066 GB, free: 111.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008119/2.459, allocations: 90.72 kB / 1.066 GB, free: 111.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/2.46, allocations: 0.7701 MB / 1.067 GB, free: 111 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/2.461, allocations: 0.7385 MB / 1.068 GB, free: 110.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001233/2.462, allocations: 108.4 kB / 1.068 GB, free: 110.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/2.462, allocations: 32.91 kB / 1.068 GB, free: 110.3 MB / 362.7 MB Notification: Performance of SimCode: time 1.671e-06/2.462, allocations: 0 / 1.068 GB, free: 110.3 MB / 362.7 MB Notification: Performance of Templates: time 0.03455/2.497, allocations: 16.36 MB / 1.084 GB, free: 109.2 MB / 362.7 MB