Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadModel(ModelicaTest): time 2.113/2.113, allocations: 209.3 MB / 221.5 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.095e-05/3.111e-05, allocations: 4 kB / 273.1 MB, free: 3.16 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08937/0.08942, allocations: 48.7 MB / 321.8 MB, free: 2.367 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.437/6.526, allocations: 2.516 GB / 2.83 GB, free: 112.9 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/6.527, allocations: 90.91 kB / 2.83 GB, free: 112.8 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.181/8.707, allocations: 490 MB / 3.309 GB, free: 40.36 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.092e-06/8.707, allocations: 1.5 kB / 3.309 GB, free: 40.36 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.891e-05/8.707, allocations: 22.03 kB / 3.309 GB, free: 40.36 MB / 442.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.00672/8.714, allocations: 1.67 MB / 3.31 GB, free: 39.75 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/8.714, allocations: 9.188 kB / 3.31 GB, free: 39.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003229/8.717, allocations: 311 kB / 3.311 GB, free: 39.71 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001767/8.719, allocations: 0.6142 MB / 3.311 GB, free: 39.46 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/8.719, allocations: 106.8 kB / 3.311 GB, free: 39.39 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/8.72, allocations: 65.25 kB / 3.312 GB, free: 39.39 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003316/8.723, allocations: 1.186 MB / 3.313 GB, free: 39.1 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.812e-05/8.723, allocations: 6.25 kB / 3.313 GB, free: 39.1 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/8.723, allocations: 31 kB / 3.313 GB, free: 39.1 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.477e-05/8.723, allocations: 41.17 kB / 3.313 GB, free: 39.1 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002439/8.726, allocations: 0.8284 MB / 3.314 GB, free: 39.1 MB / 442.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.007808/8.734, allocations: 5.478 MB / 3.319 GB, free: 35.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001812/8.735, allocations: 0.5899 MB / 3.319 GB, free: 35.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000429/8.736, allocations: 212.6 kB / 3.32 GB, free: 35.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1169/8.853, allocations: 49.08 MB / 3.368 GB, free: 21.91 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.314e-05/8.853, allocations: 46.55 kB / 3.368 GB, free: 21.87 MB / 458.7 MB Notification: Performance of pre-optimization done (n=42): time 4.977e-06/8.853, allocations: 4 kB / 3.368 GB, free: 21.87 MB / 458.7 MB Notification: Performance of matching and sorting (n=46): time 0.006319/8.859, allocations: 1.83 MB / 3.369 GB, free: 21.38 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/8.859, allocations: 164.8 kB / 3.37 GB, free: 21.19 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008887/8.86, allocations: 0.5322 MB / 3.37 GB, free: 21.05 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001209/8.861, allocations: 35.27 kB / 3.37 GB, free: 21.02 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002887/8.861, allocations: 400.5 kB / 3.371 GB, free: 20.8 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/8.861, allocations: 171.6 kB / 3.371 GB, free: 20.69 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.761e-05/8.861, allocations: 18.09 kB / 3.371 GB, free: 20.69 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002242/8.861, allocations: 375.5 kB / 3.371 GB, free: 20.38 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004662/8.862, allocations: 223 kB / 3.371 GB, free: 20.38 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006284/8.862, allocations: 0.5778 MB / 3.372 GB, free: 19.91 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006352/8.863, allocations: 341.2 kB / 3.372 GB, free: 19.88 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/8.863, allocations: 3.625 kB / 3.372 GB, free: 19.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001861/8.865, allocations: 0.8425 MB / 3.373 GB, free: 19.79 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/8.865, allocations: 7.688 kB / 3.373 GB, free: 19.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/8.865, allocations: 11.47 kB / 3.373 GB, free: 19.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003593/8.865, allocations: 63.92 kB / 3.373 GB, free: 19.78 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/8.867, allocations: 293.5 kB / 3.373 GB, free: 19.78 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/8.869, allocations: 1.971 MB / 3.375 GB, free: 17.94 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/8.87, allocations: 65.78 kB / 3.375 GB, free: 17.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/8.87, allocations: 42.66 kB / 3.375 GB, free: 17.93 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.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.0003015/8.871, allocations: 169.9 kB / 3.376 GB, free: 17.81 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002295/8.871, allocations: 75.34 kB / 3.376 GB, free: 17.77 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002957/8.874, allocations: 2.206 MB / 3.378 GB, free: 17.48 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.368e-05/8.874, allocations: 30.06 kB / 3.378 GB, free: 17.48 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.53e-06/8.874, allocations: 0 / 3.378 GB, free: 17.48 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/8.874, allocations: 7.609 kB / 3.378 GB, free: 17.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004771/8.879, allocations: 3.264 MB / 3.381 GB, free: 17 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/8.879, allocations: 0.9375 kB / 3.381 GB, free: 17 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/8.88, allocations: 188.8 kB / 3.381 GB, free: 17 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004402/8.881, allocations: 87.36 kB / 3.381 GB, free: 16.99 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.826e-05/8.881, allocations: 17.45 kB / 3.381 GB, free: 16.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002456/8.883, allocations: 1.988 MB / 3.383 GB, free: 31.14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.876e-06/8.883, allocations: 1.328 kB / 3.383 GB, free: 31.14 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00272/8.886, allocations: 1.978 MB / 3.385 GB, free: 30.79 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006253/8.887, allocations: 290 kB / 3.385 GB, free: 30.61 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/8.887, allocations: 7.75 kB / 3.385 GB, free: 30.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008133/8.888, allocations: 60.5 kB / 3.386 GB, free: 30.61 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.512e-05/8.888, allocations: 33.97 kB / 3.386 GB, free: 30.61 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-05/8.888, allocations: 20.78 kB / 3.386 GB, free: 30.61 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000833/8.889, allocations: 498.5 kB / 3.386 GB, free: 30.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.3e-07/8.889, allocations: 0 / 3.386 GB, free: 30.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005076/8.894, allocations: 1.124 MB / 3.387 GB, free: 30.36 MB / 474.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: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.008381/8.902, allocations: 1.568 MB / 3.389 GB, free: 30.02 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002495/8.905, allocations: 0.9126 MB / 3.39 GB, free: 30 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.031e-06/8.905, allocations: 0 / 3.39 GB, free: 30 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001497/8.906, allocations: 0.6542 MB / 3.39 GB, free: 29.99 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00223/8.909, allocations: 357.4 kB / 3.391 GB, free: 29.96 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003246/8.912, allocations: 1.704 MB / 3.392 GB, free: 29.52 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000928/8.913, allocations: 1.136 MB / 3.393 GB, free: 28.81 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001356/8.914, allocations: 439.4 kB / 3.394 GB, free: 28.79 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/8.914, allocations: 69.94 kB / 3.394 GB, free: 28.77 MB / 474.7 MB Notification: Performance of SimCode: time 1.746e-06/8.914, allocations: 3.75 kB / 3.394 GB, free: 28.77 MB / 474.7 MB Notification: Performance of Templates: time 0.07636/8.991, allocations: 41.18 MB / 3.434 GB, free: 26.32 MB / 474.7 MB