Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadModel(Modelica): time 1.701/1.701, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.257e-05/3.27e-05, allocations: 4 kB / 225 MB, free: 2.32 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2744, allocations: 38.78 MB / 263.8 MB, free: 9.82 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.959/6.233, allocations: 2.466 GB / 2.724 GB, free: 70.34 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/6.233, allocations: 85.88 kB / 2.724 GB, free: 70.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.828/8.062, allocations: 418.9 MB / 3.133 GB, free: 26.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.28e-06/8.062, allocations: 0 / 3.133 GB, free: 26.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.18e-05/8.062, allocations: 11.5 kB / 3.133 GB, free: 26.91 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.005763/8.068, allocations: 1.226 MB / 3.134 GB, free: 26.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/8.068, allocations: 13.12 kB / 3.134 GB, free: 26.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00181/8.07, allocations: 155.6 kB / 3.134 GB, free: 26.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005182/8.07, allocations: 315.9 kB / 3.135 GB, free: 26.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.12e-05/8.07, allocations: 26.62 kB / 3.135 GB, free: 26.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.448e-05/8.07, allocations: 36.58 kB / 3.135 GB, free: 26.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/8.072, allocations: 0.5477 MB / 3.135 GB, free: 25.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/8.072, allocations: 3.906 kB / 3.135 GB, free: 25.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.563e-05/8.072, allocations: 17.72 kB / 3.135 GB, free: 25.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/8.072, allocations: 7.938 kB / 3.135 GB, free: 25.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/8.074, allocations: 469.8 kB / 3.136 GB, free: 25.89 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.003252/8.077, allocations: 2.628 MB / 3.138 GB, free: 23.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/8.078, allocations: 416.1 kB / 3.139 GB, free: 23.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002635/8.079, allocations: 135.5 kB / 3.139 GB, free: 23.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008128/8.08, allocations: 0.5545 MB / 3.139 GB, free: 23.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/8.08, allocations: 37.94 kB / 3.139 GB, free: 23.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 3.125e-06/8.08, allocations: 1.969 kB / 3.139 GB, free: 23.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.004755/8.084, allocations: 1.253 MB / 3.141 GB, free: 23.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/8.084, allocations: 58.02 kB / 3.141 GB, free: 23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/8.085, allocations: 223.9 kB / 3.141 GB, free: 22.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/8.085, allocations: 31.97 kB / 3.141 GB, free: 22.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.471e-05/8.085, allocations: 182.9 kB / 3.141 GB, free: 22.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.327e-05/8.085, allocations: 113.8 kB / 3.141 GB, free: 22.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/8.085, allocations: 7.688 kB / 3.141 GB, free: 22.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.43e-05/8.085, allocations: 343.3 kB / 3.142 GB, free: 22.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002536/8.085, allocations: 98.16 kB / 3.142 GB, free: 22.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/8.086, allocations: 201.3 kB / 3.142 GB, free: 22.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/8.086, allocations: 127.1 kB / 3.142 GB, free: 22.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.238e-06/8.086, allocations: 0 / 3.142 GB, free: 22.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001053/8.087, allocations: 431.3 kB / 3.142 GB, free: 21.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/8.087, allocations: 6.906 kB / 3.142 GB, free: 21.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/8.087, allocations: 5 kB / 3.142 GB, free: 21.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004761/8.088, allocations: 82.81 kB / 3.142 GB, free: 21.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000506/8.088, allocations: 93.08 kB / 3.143 GB, free: 21.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/8.09, allocations: 2.368 MB / 3.145 GB, free: 19.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005768/8.09, allocations: 54.72 kB / 3.145 GB, free: 19.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.931e-05/8.09, allocations: 23.53 kB / 3.145 GB, free: 19.43 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,volume.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001369/8.091, allocations: 120.8 kB / 3.145 GB, free: 19.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.486e-05/8.091, allocations: 32.97 kB / 3.145 GB, free: 19.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001804/8.092, allocations: 1.339 MB / 3.146 GB, free: 18.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-05/8.093, allocations: 17.64 kB / 3.146 GB, free: 18.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.399e-06/8.093, allocations: 0 / 3.146 GB, free: 18.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001437/8.094, allocations: 1.43 MB / 3.148 GB, free: 17.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002722/8.097, allocations: 2.106 MB / 3.15 GB, free: 16.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.655e-06/8.097, allocations: 0 / 3.15 GB, free: 16.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005866/8.097, allocations: 110 kB / 3.15 GB, free: 16.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004512/8.098, allocations: 68 kB / 3.15 GB, free: 16.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-05/8.098, allocations: 13.59 kB / 3.15 GB, free: 16.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003573/8.098, allocations: 0.5908 MB / 3.151 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/8.098, allocations: 0 / 3.151 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/8.1, allocations: 1.176 MB / 3.152 GB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001707/8.1, allocations: 163.2 kB / 3.152 GB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.773e-05/8.1, allocations: 7.781 kB / 3.152 GB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004289/8.101, allocations: 47.53 kB / 3.152 GB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.406e-05/8.101, allocations: 33.36 kB / 3.152 GB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.972e-05/8.101, allocations: 19.11 kB / 3.152 GB, free: 15.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002804/8.101, allocations: 226.2 kB / 3.152 GB, free: 15.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.05e-07/8.101, allocations: 0 / 3.152 GB, free: 15.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003472/8.105, allocations: 0.8875 MB / 3.153 GB, free: 14.89 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005959/8.111, allocations: 1.342 MB / 3.154 GB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001274/8.112, allocations: 0.5737 MB / 3.155 GB, free: 14.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/8.112, allocations: 3.375 kB / 3.155 GB, free: 14.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005803/8.112, allocations: 372.7 kB / 3.155 GB, free: 14.17 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/8.114, allocations: 185.3 kB / 3.155 GB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/8.116, allocations: 0.9464 MB / 3.156 GB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009634/8.117, allocations: 0.8897 MB / 3.157 GB, free: 29.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005138/8.117, allocations: 148.8 kB / 3.157 GB, free: 29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/8.117, allocations: 31.19 kB / 3.157 GB, free: 29 MB / 378.7 MB Notification: Performance of SimCode: time 1.843e-06/8.117, allocations: 0 / 3.157 GB, free: 29 MB / 378.7 MB Notification: Performance of Templates: time 0.08154/8.199, allocations: 32.2 MB / 3.189 GB, free: 24.56 MB / 378.7 MB