Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadModel(Modelica): time 2.008/2.008, allocations: 194.9 MB / 208 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.842e-05/2.865e-05, allocations: 4 kB / 255.4 MB, free: 2.672 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07742/0.07747, allocations: 44.5 MB / 299.9 MB, free: 6.109 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.649/6.726, allocations: 2.576 GB / 2.869 GB, free: 14.63 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004402/6.727, allocations: 93.2 kB / 2.869 GB, free: 14.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.968/8.695, allocations: 429.7 MB / 3.288 GB, free: 42.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.676e-06/8.695, allocations: 0 / 3.288 GB, free: 42.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.429e-05/8.695, allocations: 14.45 kB / 3.288 GB, free: 42.22 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.004402/8.699, allocations: 1.198 MB / 3.29 GB, free: 41.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/8.699, allocations: 11.62 kB / 3.29 GB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001787/8.701, allocations: 160.5 kB / 3.29 GB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005666/8.702, allocations: 313.7 kB / 3.29 GB, free: 41.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/8.702, allocations: 23.84 kB / 3.29 GB, free: 41.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.634e-05/8.702, allocations: 38.77 kB / 3.29 GB, free: 41.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/8.704, allocations: 0.5322 MB / 3.291 GB, free: 40.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/8.704, allocations: 10.73 kB / 3.291 GB, free: 40.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-05/8.704, allocations: 15.91 kB / 3.291 GB, free: 40.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/8.704, allocations: 10.06 kB / 3.291 GB, free: 40.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008143/8.705, allocations: 328.7 kB / 3.291 GB, free: 40.8 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.003206/8.708, allocations: 2.56 MB / 3.293 GB, free: 38.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008215/8.709, allocations: 279.3 kB / 3.294 GB, free: 38.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/8.709, allocations: 115.7 kB / 3.294 GB, free: 38.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07161/8.781, allocations: 30.88 MB / 3.324 GB, free: 19.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/8.781, allocations: 45.44 kB / 3.324 GB, free: 19.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 3.472e-06/8.781, allocations: 0 / 3.324 GB, free: 19.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.004149/8.785, allocations: 1.089 MB / 3.325 GB, free: 18.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/8.785, allocations: 55.38 kB / 3.325 GB, free: 18.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/8.785, allocations: 226.8 kB / 3.325 GB, free: 18.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.154e-05/8.785, allocations: 37.67 kB / 3.325 GB, free: 18.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.333e-05/8.785, allocations: 185.7 kB / 3.326 GB, free: 18.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.15e-05/8.786, allocations: 108.5 kB / 3.326 GB, free: 18.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.137e-05/8.786, allocations: 7.938 kB / 3.326 GB, free: 18.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.15e-05/8.786, allocations: 338.2 kB / 3.326 GB, free: 18.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/8.786, allocations: 89.88 kB / 3.326 GB, free: 18.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/8.786, allocations: 207 kB / 3.326 GB, free: 17.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/8.786, allocations: 126.2 kB / 3.326 GB, free: 17.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.382e-06/8.786, allocations: 0 / 3.326 GB, free: 17.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008799/8.787, allocations: 401 kB / 3.327 GB, free: 17.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.868e-05/8.787, allocations: 3.969 kB / 3.327 GB, free: 17.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.276e-06/8.787, allocations: 7.75 kB / 3.327 GB, free: 17.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003393/8.788, allocations: 65.27 kB / 3.327 GB, free: 17.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004507/8.788, allocations: 86.27 kB / 3.327 GB, free: 17.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/8.79, allocations: 2.418 MB / 3.329 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004286/8.79, allocations: 37.25 kB / 3.329 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/8.79, allocations: 15.62 kB / 3.329 GB, free: 15.21 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001448/8.79, allocations: 132.4 kB / 3.33 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.534e-05/8.79, allocations: 35.11 kB / 3.33 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/8.792, allocations: 0.8629 MB / 3.33 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/8.792, allocations: 11.42 kB / 3.33 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.395e-06/8.792, allocations: 0 / 3.33 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001005/8.793, allocations: 1.035 MB / 3.331 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002083/8.795, allocations: 1.486 MB / 3.333 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.066e-06/8.795, allocations: 0 / 3.333 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003327/8.795, allocations: 57.42 kB / 3.333 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004505/8.796, allocations: 74.98 kB / 3.333 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/8.796, allocations: 7.5 kB / 3.333 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003538/8.796, allocations: 0.5853 MB / 3.334 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.516e-06/8.796, allocations: 1.531 kB / 3.334 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/8.797, allocations: 0.8212 MB / 3.334 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/8.798, allocations: 138.3 kB / 3.335 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.316e-05/8.798, allocations: 4 kB / 3.335 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005416/8.798, allocations: 38.38 kB / 3.335 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/8.798, allocations: 30.89 kB / 3.335 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.444e-05/8.798, allocations: 15.53 kB / 3.335 GB, free: 11.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002888/8.799, allocations: 228.6 kB / 3.335 GB, free: 11.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.3e-07/8.799, allocations: 0 / 3.335 GB, free: 11.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003926/8.803, allocations: 0.9002 MB / 3.336 GB, free: 11.55 MB / 410.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: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.007249/8.81, allocations: 1.336 MB / 3.337 GB, free: 11.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001262/8.811, allocations: 466.6 kB / 3.337 GB, free: 10.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.716e-06/8.811, allocations: 1 kB / 3.337 GB, free: 10.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000462/8.812, allocations: 246.3 kB / 3.338 GB, free: 10.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/8.813, allocations: 172.1 kB / 3.338 GB, free: 10.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/8.815, allocations: 0.7267 MB / 3.339 GB, free: 10.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/8.815, allocations: 0.8272 MB / 3.339 GB, free: 9.738 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006295/8.816, allocations: 192.5 kB / 3.34 GB, free: 9.711 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/8.816, allocations: 38.5 kB / 3.34 GB, free: 9.699 MB / 410.7 MB Notification: Performance of SimCode: time 1.799e-06/8.816, allocations: 0 / 3.34 GB, free: 9.699 MB / 410.7 MB Notification: Performance of Templates: time 0.05761/8.873, allocations: 31.62 MB / 3.37 GB, free: 436 kB / 426.7 MB