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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadModel(ModelicaTest): time 2.536/2.536, allocations: 270 MB / 283.6 MB, free: 1.738 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.238e-05/3.247e-05, allocations: 4 kB / 348.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3327, allocations: 61.88 MB / 410.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.253/7.586, allocations: 2.8 GB / 3.201 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/7.586, allocations: 98.48 kB / 3.201 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.23/9.816, allocations: 0.4982 GB / 3.699 GB, free: 30.48 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.937e-06/9.816, allocations: 7.938 kB / 3.699 GB, free: 30.48 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.764e-05/9.816, allocations: 14.42 kB / 3.699 GB, free: 30.46 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.005627/9.822, allocations: 1.716 MB / 3.701 GB, free: 28.73 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/9.822, allocations: 8.031 kB / 3.701 GB, free: 28.72 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002991/9.825, allocations: 323.1 kB / 3.701 GB, free: 28.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/9.826, allocations: 0.6024 MB / 3.702 GB, free: 27.77 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/9.827, allocations: 115.5 kB / 3.702 GB, free: 27.65 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/9.827, allocations: 59.75 kB / 3.702 GB, free: 27.59 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002793/9.83, allocations: 1.184 MB / 3.703 GB, free: 26.31 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/9.83, allocations: 3.938 kB / 3.703 GB, free: 26.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/9.83, allocations: 32.88 kB / 3.703 GB, free: 26.27 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.635e-05/9.83, allocations: 49.28 kB / 3.703 GB, free: 26.22 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002015/9.832, allocations: 0.826 MB / 3.704 GB, free: 25.4 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.006498/9.838, allocations: 5.507 MB / 3.71 GB, free: 19.56 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/9.84, allocations: 0.5988 MB / 3.71 GB, free: 18.95 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000419/9.841, allocations: 217.6 kB / 3.71 GB, free: 18.73 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4868/10.33, allocations: 46.07 MB / 3.755 GB, free: 66.91 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/10.33, allocations: 45.41 kB / 3.755 GB, free: 66.87 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=42): time 3.889e-06/10.33, allocations: 0 / 3.755 GB, free: 66.87 MB / 0.5417 GB Notification: Performance of matching and sorting (n=46): time 0.006309/10.33, allocations: 1.831 MB / 3.757 GB, free: 66.46 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/10.33, allocations: 161.8 kB / 3.757 GB, free: 66.28 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008597/10.33, allocations: 0.5437 MB / 3.758 GB, free: 66.14 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.907e-05/10.33, allocations: 34.45 kB / 3.758 GB, free: 66.11 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002678/10.34, allocations: 396.8 kB / 3.758 GB, free: 65.93 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/10.34, allocations: 170.2 kB / 3.758 GB, free: 65.86 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/10.34, allocations: 12.75 kB / 3.758 GB, free: 65.86 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001211/10.34, allocations: 376.5 kB / 3.759 GB, free: 65.54 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000446/10.34, allocations: 217.2 kB / 3.759 GB, free: 65.54 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006188/10.34, allocations: 0.5487 MB / 3.76 GB, free: 65.12 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006262/10.34, allocations: 328.9 kB / 3.76 GB, free: 65.12 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.221e-06/10.34, allocations: 3.781 kB / 3.76 GB, free: 65.12 MB / 0.5417 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001836/10.34, allocations: 0.8177 MB / 3.761 GB, free: 65.04 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/10.34, allocations: 11.84 kB / 3.761 GB, free: 65.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/10.34, allocations: 15.2 kB / 3.761 GB, free: 65.04 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003517/10.34, allocations: 67.81 kB / 3.761 GB, free: 65.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/10.34, allocations: 280.1 kB / 3.761 GB, free: 65.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/10.34, allocations: 1.971 MB / 3.763 GB, free: 63.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/10.34, allocations: 66.2 kB / 3.763 GB, free: 63.18 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-05/10.34, allocations: 40.75 kB / 3.763 GB, free: 63.18 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.000244/10.34, allocations: 164.9 kB / 3.763 GB, free: 63.07 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/10.34, allocations: 74.47 kB / 3.763 GB, free: 63.04 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002974/10.35, allocations: 2.206 MB / 3.765 GB, free: 62.79 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-05/10.35, allocations: 31.56 kB / 3.765 GB, free: 62.79 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.756e-06/10.35, allocations: 0 / 3.765 GB, free: 62.79 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/10.35, allocations: 5.625 kB / 3.765 GB, free: 62.79 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004514/10.35, allocations: 3.29 MB / 3.769 GB, free: 62.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.028e-06/10.35, allocations: 0 / 3.769 GB, free: 62.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001413/10.35, allocations: 190.1 kB / 3.769 GB, free: 62.34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004969/10.35, allocations: 82.98 kB / 3.769 GB, free: 62.33 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.039e-05/10.35, allocations: 11.38 kB / 3.769 GB, free: 62.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001433/10.36, allocations: 1.992 MB / 3.771 GB, free: 60.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.256e-06/10.36, allocations: 6.484 kB / 3.771 GB, free: 60.49 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002753/10.36, allocations: 1.972 MB / 3.773 GB, free: 60.14 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005835/10.36, allocations: 289.2 kB / 3.773 GB, free: 59.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/10.36, allocations: 9.062 kB / 3.773 GB, free: 59.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009112/10.36, allocations: 67.95 kB / 3.773 GB, free: 59.98 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/10.36, allocations: 38.27 kB / 3.773 GB, free: 59.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.605e-05/10.36, allocations: 22.36 kB / 3.773 GB, free: 59.98 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008386/10.36, allocations: 0.4998 MB / 3.774 GB, free: 59.88 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.66e-07/10.36, allocations: 1.969 kB / 3.774 GB, free: 59.88 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005102/10.37, allocations: 1.127 MB / 3.775 GB, free: 59.88 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.008476/10.37, allocations: 1.555 MB / 3.776 GB, free: 59.77 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002414/10.38, allocations: 0.9109 MB / 3.777 GB, free: 59.75 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/10.38, allocations: 0 / 3.777 GB, free: 59.75 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001473/10.38, allocations: 0.653 MB / 3.778 GB, free: 59.75 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002411/10.38, allocations: 364.3 kB / 3.778 GB, free: 59.75 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003435/10.38, allocations: 1.719 MB / 3.78 GB, free: 59.39 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006582/10.39, allocations: 1.132 MB / 3.781 GB, free: 58.68 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001444/10.39, allocations: 452.3 kB / 3.781 GB, free: 58.66 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/10.39, allocations: 67.81 kB / 3.782 GB, free: 58.66 MB / 0.5417 GB Notification: Performance of SimCode: time 1.823e-06/10.39, allocations: 0 / 3.782 GB, free: 58.66 MB / 0.5417 GB Notification: Performance of Templates: time 0.0768/10.46, allocations: 41.62 MB / 3.822 GB, free: 57.3 MB / 0.5417 GB