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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadModel(ModelicaTest): time 2.319/2.319, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.152e-05/3.165e-05, allocations: 4 kB / 348.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.141, allocations: 61.89 MB / 410.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.344/7.485, allocations: 2.8 GB / 3.201 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/7.486, allocations: 93.19 kB / 3.201 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.152/9.638, allocations: 0.4982 GB / 3.699 GB, free: 32.64 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.938e-06/9.638, allocations: 0 / 3.699 GB, free: 32.64 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.984e-05/9.638, allocations: 18.69 kB / 3.699 GB, free: 32.62 MB / 0.5261 GB 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.005939/9.644, allocations: 1.721 MB / 3.701 GB, free: 30.88 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/9.644, allocations: 8.031 kB / 3.701 GB, free: 30.87 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003007/9.647, allocations: 319.1 kB / 3.701 GB, free: 30.56 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/9.648, allocations: 0.604 MB / 3.702 GB, free: 29.93 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/9.649, allocations: 108.5 kB / 3.702 GB, free: 29.81 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/9.649, allocations: 60 kB / 3.702 GB, free: 29.75 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002819/9.652, allocations: 1.192 MB / 3.703 GB, free: 28.46 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/9.652, allocations: 4.812 kB / 3.703 GB, free: 28.46 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/9.652, allocations: 32 kB / 3.703 GB, free: 28.43 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.736e-05/9.652, allocations: 45.3 kB / 3.703 GB, free: 28.38 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002028/9.654, allocations: 0.8299 MB / 3.704 GB, free: 27.55 MB / 0.5261 GB 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.00651/9.66, allocations: 5.506 MB / 3.71 GB, free: 21.72 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/9.662, allocations: 0.5953 MB / 3.71 GB, free: 21.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003922/9.662, allocations: 217.7 kB / 3.71 GB, free: 20.88 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5343/10.2, allocations: 46.08 MB / 3.755 GB, free: 63.71 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/10.2, allocations: 43.22 kB / 3.755 GB, free: 63.67 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=42): time 3.255e-06/10.2, allocations: 0 / 3.755 GB, free: 63.67 MB / 0.5417 GB Notification: Performance of matching and sorting (n=46): time 0.006667/10.2, allocations: 1.837 MB / 3.757 GB, free: 63.27 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/10.2, allocations: 163.2 kB / 3.757 GB, free: 63.08 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/10.2, allocations: 0.5399 MB / 3.758 GB, free: 62.95 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001079/10.2, allocations: 35.67 kB / 3.758 GB, free: 62.92 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/10.21, allocations: 392.6 kB / 3.758 GB, free: 62.74 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/10.21, allocations: 165.5 kB / 3.758 GB, free: 62.66 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-05/10.21, allocations: 14.81 kB / 3.758 GB, free: 62.66 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001318/10.21, allocations: 383.6 kB / 3.759 GB, free: 62.35 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005053/10.21, allocations: 215.4 kB / 3.759 GB, free: 62.35 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006479/10.21, allocations: 0.5456 MB / 3.76 GB, free: 61.93 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006622/10.21, allocations: 328.5 kB / 3.76 GB, free: 61.92 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/10.21, allocations: 6.312 kB / 3.76 GB, free: 61.92 MB / 0.5417 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001988/10.21, allocations: 0.8192 MB / 3.761 GB, free: 61.84 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/10.21, allocations: 10.22 kB / 3.761 GB, free: 61.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/10.21, allocations: 10.75 kB / 3.761 GB, free: 61.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003696/10.21, allocations: 69.3 kB / 3.761 GB, free: 61.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/10.21, allocations: 284.2 kB / 3.761 GB, free: 61.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/10.21, allocations: 1.972 MB / 3.763 GB, free: 59.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/10.21, allocations: 60.58 kB / 3.763 GB, free: 59.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.677e-05/10.21, allocations: 42 kB / 3.763 GB, free: 59.98 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (95): * Single equations (assignments): 93 * 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.0002451/10.21, allocations: 165.2 kB / 3.763 GB, free: 59.88 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/10.21, allocations: 72.69 kB / 3.763 GB, free: 59.84 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003244/10.22, allocations: 2.214 MB / 3.765 GB, free: 59.59 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.376e-05/10.22, allocations: 27.11 kB / 3.765 GB, free: 59.59 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.758e-06/10.22, allocations: 1.031 kB / 3.765 GB, free: 59.59 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/10.22, allocations: 5.953 kB / 3.765 GB, free: 59.59 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005653/10.22, allocations: 3.285 MB / 3.769 GB, free: 59.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/10.22, allocations: 3.266 kB / 3.769 GB, free: 59.14 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/10.23, allocations: 190.6 kB / 3.769 GB, free: 59.14 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004605/10.23, allocations: 84.09 kB / 3.769 GB, free: 59.13 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.858e-05/10.23, allocations: 12.86 kB / 3.769 GB, free: 59.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/10.23, allocations: 1.993 MB / 3.771 GB, free: 57.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.317e-06/10.23, allocations: 1.406 kB / 3.771 GB, free: 57.29 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003165/10.23, allocations: 1.973 MB / 3.773 GB, free: 56.94 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000683/10.23, allocations: 291.8 kB / 3.773 GB, free: 56.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/10.23, allocations: 8.062 kB / 3.773 GB, free: 56.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008971/10.23, allocations: 69.56 kB / 3.773 GB, free: 56.78 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/10.23, allocations: 30.75 kB / 3.773 GB, free: 56.78 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-05/10.23, allocations: 23.84 kB / 3.773 GB, free: 56.78 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009496/10.23, allocations: 0.4983 MB / 3.774 GB, free: 56.68 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.74e-07/10.23, allocations: 1.312 kB / 3.774 GB, free: 56.68 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005169/10.24, allocations: 1.127 MB / 3.775 GB, free: 56.68 MB / 0.5417 GB 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.008358/10.25, allocations: 1.564 MB / 3.776 GB, free: 56.57 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002588/10.25, allocations: 0.9005 MB / 3.777 GB, free: 56.55 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.168e-06/10.25, allocations: 10.47 kB / 3.777 GB, free: 56.55 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001644/10.25, allocations: 0.6495 MB / 3.778 GB, free: 56.55 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002519/10.25, allocations: 369.4 kB / 3.778 GB, free: 56.54 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003324/10.26, allocations: 1.707 MB / 3.78 GB, free: 56.18 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006553/10.26, allocations: 1.143 MB / 3.781 GB, free: 55.47 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001357/10.26, allocations: 440.7 kB / 3.781 GB, free: 55.46 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001919/10.26, allocations: 62.56 kB / 3.781 GB, free: 55.45 MB / 0.5417 GB Notification: Performance of SimCode: time 1.841e-06/10.26, allocations: 0 / 3.781 GB, free: 55.45 MB / 0.5417 GB Notification: Performance of Templates: time 0.07676/10.34, allocations: 41.63 MB / 3.822 GB, free: 54.28 MB / 0.5417 GB