Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadModel(ModelicaTest): time 2.359/2.359, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.621e-05/3.644e-05, allocations: 6.5 kB / 305 MB, free: 5.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.33, allocations: 54.85 MB / 359.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.311/6.641, allocations: 2.627 GB / 2.978 GB, free: 53.08 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/6.641, allocations: 91.94 kB / 2.978 GB, free: 52.99 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.319/8.96, allocations: 0.4905 GB / 3.469 GB, free: 46.17 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.218e-06/8.96, allocations: 2.25 kB / 3.469 GB, free: 46.17 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.127e-05/8.96, allocations: 25.11 kB / 3.469 GB, free: 46.17 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.006014/8.966, allocations: 1.756 MB / 3.47 GB, free: 45.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/8.966, allocations: 9.75 kB / 3.47 GB, free: 45.39 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003004/8.969, allocations: 318.2 kB / 3.471 GB, free: 45.36 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/8.971, allocations: 0.6126 MB / 3.471 GB, free: 45.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/8.971, allocations: 121 kB / 3.471 GB, free: 45.03 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/8.971, allocations: 55.42 kB / 3.471 GB, free: 45.03 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002828/8.974, allocations: 1.184 MB / 3.473 GB, free: 44.74 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/8.974, allocations: 2.719 kB / 3.473 GB, free: 44.74 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/8.974, allocations: 34.22 kB / 3.473 GB, free: 44.74 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.767e-05/8.974, allocations: 44.2 kB / 3.473 GB, free: 44.74 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002783/8.977, allocations: 0.9742 MB / 3.474 GB, free: 44.73 MB / 490.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.006774/8.984, allocations: 5.598 MB / 3.479 GB, free: 41.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002241/8.986, allocations: 0.7257 MB / 3.48 GB, free: 40.97 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000475/8.987, allocations: 242.6 kB / 3.48 GB, free: 40.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04107/9.028, allocations: 18.85 MB / 3.498 GB, free: 29.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/9.028, allocations: 40.28 kB / 3.499 GB, free: 29.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=45): time 3.511e-06/9.028, allocations: 0 / 3.499 GB, free: 29.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=49): time 0.00685/9.035, allocations: 2.013 MB / 3.5 GB, free: 28.78 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/9.035, allocations: 173.3 kB / 3.501 GB, free: 28.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000826/9.036, allocations: 0.5207 MB / 3.501 GB, free: 28.46 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.199e-05/9.036, allocations: 37.73 kB / 3.501 GB, free: 28.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002446/9.036, allocations: 398.8 kB / 3.502 GB, free: 28.21 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/9.036, allocations: 175.2 kB / 3.502 GB, free: 28.11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-05/9.036, allocations: 17.88 kB / 3.502 GB, free: 28.11 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/9.036, allocations: 372.2 kB / 3.502 GB, free: 27.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005238/9.037, allocations: 249.2 kB / 3.502 GB, free: 27.79 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006756/9.038, allocations: 0.5835 MB / 3.503 GB, free: 27.35 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006558/9.038, allocations: 340.1 kB / 3.503 GB, free: 27.35 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.972e-06/9.038, allocations: 5.656 kB / 3.503 GB, free: 27.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001862/9.04, allocations: 0.8762 MB / 3.504 GB, free: 27.27 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/9.04, allocations: 14.08 kB / 3.504 GB, free: 27.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/9.04, allocations: 10.66 kB / 3.504 GB, free: 27.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003368/9.041, allocations: 64.8 kB / 3.504 GB, free: 27.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/9.042, allocations: 315.7 kB / 3.504 GB, free: 27.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/9.044, allocations: 1.98 MB / 3.506 GB, free: 25.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/9.045, allocations: 81.64 kB / 3.506 GB, free: 25.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-05/9.045, allocations: 42.53 kB / 3.507 GB, free: 25.41 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 10 (volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 97 * 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: 1 * 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: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002222/9.045, allocations: 178.8 kB / 3.507 GB, free: 25.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/9.045, allocations: 70.81 kB / 3.507 GB, free: 25.26 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003201/9.048, allocations: 2.567 MB / 3.509 GB, free: 24.94 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.054e-05/9.048, allocations: 37.14 kB / 3.509 GB, free: 24.94 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.883e-06/9.049, allocations: 6.344 kB / 3.509 GB, free: 24.94 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/9.049, allocations: 3.281 kB / 3.509 GB, free: 24.94 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004967/9.054, allocations: 3.745 MB / 3.513 GB, free: 24.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/9.054, allocations: 0 / 3.513 GB, free: 24.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/9.055, allocations: 241.2 kB / 3.513 GB, free: 24.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004569/9.056, allocations: 83.42 kB / 3.513 GB, free: 24.42 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.759e-05/9.056, allocations: 17.91 kB / 3.513 GB, free: 24.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001397/9.057, allocations: 1.993 MB / 3.515 GB, free: 22.58 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.562e-06/9.057, allocations: 3.812 kB / 3.515 GB, free: 22.58 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003103/9.06, allocations: 2.229 MB / 3.517 GB, free: 22.22 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005829/9.061, allocations: 328.5 kB / 3.518 GB, free: 22.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/9.061, allocations: 17.48 kB / 3.518 GB, free: 22.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007691/9.062, allocations: 61.28 kB / 3.518 GB, free: 22.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/9.062, allocations: 50.53 kB / 3.518 GB, free: 22.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.985e-05/9.062, allocations: 20.62 kB / 3.518 GB, free: 22.02 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009172/9.063, allocations: 0.537 MB / 3.518 GB, free: 21.92 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.67e-07/9.063, allocations: 0 / 3.518 GB, free: 21.92 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004981/9.068, allocations: 1.134 MB / 3.52 GB, free: 21.77 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008028/9.076, allocations: 1.563 MB / 3.521 GB, free: 21.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002524/9.079, allocations: 1.011 MB / 3.522 GB, free: 21.49 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.539e-06/9.079, allocations: 0 / 3.522 GB, free: 21.49 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001599/9.08, allocations: 0.7551 MB / 3.523 GB, free: 21.49 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002396/9.083, allocations: 366.6 kB / 3.523 GB, free: 21.47 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003451/9.086, allocations: 1.897 MB / 3.525 GB, free: 20.73 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006886/9.087, allocations: 1.187 MB / 3.526 GB, free: 20.01 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001289/9.088, allocations: 436 kB / 3.527 GB, free: 20 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/9.088, allocations: 64.88 kB / 3.527 GB, free: 19.98 MB / 490.7 MB Notification: Performance of SimCode: time 2.693e-06/9.088, allocations: 0 / 3.527 GB, free: 19.98 MB / 490.7 MB Notification: Performance of Templates: time 0.0756/9.164, allocations: 42.04 MB / 3.568 GB, free: 13.75 MB / 490.7 MB