Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadModel(Modelica): time 2.043/2.043, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.453e-05/2.457e-05, allocations: 0 / 269.4 MB, free: 6.398 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08478/0.08483, allocations: 47.58 MB / 316.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.891/6.976, allocations: 2.74 GB / 3.049 GB, free: 30.12 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/6.977, allocations: 101.8 kB / 3.05 GB, free: 30.05 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.452/8.428, allocations: 294.5 MB / 3.337 GB, free: 56.58 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.915e-06/8.428, allocations: 0 / 3.337 GB, free: 56.58 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.308e-05/8.428, allocations: 7.844 kB / 3.337 GB, free: 56.58 MB / 426.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.002744/8.431, allocations: 0.9167 MB / 3.338 GB, free: 55.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/8.431, allocations: 11.69 kB / 3.338 GB, free: 55.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009871/8.432, allocations: 93.86 kB / 3.338 GB, free: 55.94 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004424/8.433, allocations: 294.8 kB / 3.338 GB, free: 55.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/8.433, allocations: 20.25 kB / 3.338 GB, free: 55.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.314e-05/8.433, allocations: 38.06 kB / 3.338 GB, free: 55.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000998/8.434, allocations: 443.3 kB / 3.339 GB, free: 55.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.231e-05/8.434, allocations: 0 / 3.339 GB, free: 55.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.752e-05/8.434, allocations: 15.97 kB / 3.339 GB, free: 55.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/8.434, allocations: 10.41 kB / 3.339 GB, free: 55.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000878/8.435, allocations: 324.2 kB / 3.339 GB, free: 55.3 MB / 426.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.002736/8.438, allocations: 2.623 MB / 3.342 GB, free: 52.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000669/8.438, allocations: 256.6 kB / 3.342 GB, free: 52.87 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/8.439, allocations: 95.33 kB / 3.342 GB, free: 52.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03531/8.474, allocations: 15.38 MB / 3.357 GB, free: 43.26 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/8.474, allocations: 38.5 kB / 3.357 GB, free: 43.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 3.026e-06/8.474, allocations: 0 / 3.357 GB, free: 43.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.005057/8.479, allocations: 1.176 MB / 3.358 GB, free: 42.63 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/8.479, allocations: 55.28 kB / 3.358 GB, free: 42.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/8.479, allocations: 237.2 kB / 3.359 GB, free: 42.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/8.48, allocations: 33.61 kB / 3.359 GB, free: 42.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/8.48, allocations: 197.8 kB / 3.359 GB, free: 42.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.345e-05/8.48, allocations: 107.3 kB / 3.359 GB, free: 42.14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/8.48, allocations: 11.88 kB / 3.359 GB, free: 42.14 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.354e-05/8.48, allocations: 337.1 kB / 3.359 GB, free: 41.81 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/8.48, allocations: 94.59 kB / 3.359 GB, free: 41.78 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/8.48, allocations: 216.8 kB / 3.36 GB, free: 41.58 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002898/8.481, allocations: 132.4 kB / 3.36 GB, free: 41.53 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.738e-06/8.481, allocations: 0 / 3.36 GB, free: 41.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001316/8.482, allocations: 413.7 kB / 3.36 GB, free: 41.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/8.482, allocations: 10.77 kB / 3.36 GB, free: 41.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/8.482, allocations: 2.562 kB / 3.36 GB, free: 41.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004057/8.486, allocations: 264.1 kB / 3.36 GB, free: 41.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000424/8.487, allocations: 80.31 kB / 3.36 GB, free: 41.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/8.488, allocations: 1.864 MB / 3.362 GB, free: 39.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004141/8.488, allocations: 27.41 kB / 3.362 GB, free: 39.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/8.489, allocations: 19.48 kB / 3.362 GB, free: 39.4 MB / 426.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): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001236/8.489, allocations: 140.7 kB / 3.362 GB, free: 39.26 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.921e-05/8.489, allocations: 31.5 kB / 3.362 GB, free: 39.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/8.49, allocations: 0.937 MB / 3.363 GB, free: 38.79 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/8.49, allocations: 7.594 kB / 3.363 GB, free: 38.79 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.613e-06/8.49, allocations: 6.328 kB / 3.363 GB, free: 38.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001039/8.491, allocations: 1.114 MB / 3.364 GB, free: 38.01 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002188/8.493, allocations: 1.581 MB / 3.366 GB, free: 36.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.417e-06/8.493, allocations: 4 kB / 3.366 GB, free: 36.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002667/8.494, allocations: 51.55 kB / 3.366 GB, free: 36.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002091/8.496, allocations: 284.9 kB / 3.366 GB, free: 36.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.826e-05/8.496, allocations: 4 kB / 3.366 GB, free: 36.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005388/8.496, allocations: 0.6757 MB / 3.367 GB, free: 36.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.84e-06/8.496, allocations: 0 / 3.367 GB, free: 36.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/8.498, allocations: 0.9399 MB / 3.368 GB, free: 35.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001883/8.498, allocations: 139.9 kB / 3.368 GB, free: 35.01 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.565e-05/8.498, allocations: 8 kB / 3.368 GB, free: 35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000347/8.499, allocations: 19.7 kB / 3.368 GB, free: 34.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/8.499, allocations: 19.34 kB / 3.368 GB, free: 34.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.215e-05/8.499, allocations: 16.06 kB / 3.368 GB, free: 34.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002938/8.499, allocations: 237.1 kB / 3.368 GB, free: 34.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.91e-07/8.499, allocations: 0 / 3.368 GB, free: 34.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002452/8.501, allocations: 0.5456 MB / 3.369 GB, free: 34.2 MB / 426.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.T) * 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 (30): * Single equations (assignments): 27 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00388/8.505, allocations: 0.847 MB / 3.37 GB, free: 33.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001052/8.506, allocations: 0.5055 MB / 3.37 GB, free: 33.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.817e-06/8.506, allocations: 0 / 3.37 GB, free: 33.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004847/8.507, allocations: 291.2 kB / 3.37 GB, free: 32.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/8.508, allocations: 180.5 kB / 3.371 GB, free: 32.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/8.51, allocations: 0.7575 MB / 3.371 GB, free: 31.94 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/8.51, allocations: 0.831 MB / 3.372 GB, free: 31.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004316/8.51, allocations: 100.7 kB / 3.372 GB, free: 31.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.789e-05/8.51, allocations: 35.33 kB / 3.372 GB, free: 31.04 MB / 426.7 MB Notification: Performance of SimCode: time 3.528e-06/8.51, allocations: 4 kB / 3.372 GB, free: 31.04 MB / 426.7 MB Notification: Performance of Templates: time 0.04056/8.551, allocations: 23.68 MB / 3.395 GB, free: 11.23 MB / 426.7 MB