Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadModel(ModelicaTest): time 2.394/2.394, allocations: 270 MB / 282.7 MB, free: 1.754 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.174e-05/3.204e-05, allocations: 4 kB / 347 MB, free: 3.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3304, allocations: 61.87 MB / 408.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.94/7.27, allocations: 2.8 GB / 3.2 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/7.271, allocations: 91 kB / 3.2 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.032/9.303, allocations: 0.4982 GB / 3.698 GB, free: 31.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.941e-06/9.303, allocations: 7.984 kB / 3.698 GB, free: 31.19 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.744e-05/9.303, allocations: 23.05 kB / 3.698 GB, free: 31.17 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.005892/9.309, allocations: 1.707 MB / 3.7 GB, free: 29.44 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/9.309, allocations: 8.031 kB / 3.7 GB, free: 29.43 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003084/9.312, allocations: 322.3 kB / 3.7 GB, free: 29.12 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001638/9.314, allocations: 0.606 MB / 3.701 GB, free: 28.48 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/9.314, allocations: 111.7 kB / 3.701 GB, free: 28.36 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001964/9.314, allocations: 56 kB / 3.701 GB, free: 28.31 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003246/9.318, allocations: 1.194 MB / 3.702 GB, free: 27.02 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.742e-05/9.318, allocations: 4 kB / 3.702 GB, free: 27.01 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/9.318, allocations: 26.98 kB / 3.702 GB, free: 26.99 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.351e-05/9.318, allocations: 45.23 kB / 3.702 GB, free: 26.94 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/9.32, allocations: 0.8339 MB / 3.703 GB, free: 26.11 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.006747/9.327, allocations: 5.506 MB / 3.708 GB, free: 20.27 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/9.329, allocations: 0.5986 MB / 3.709 GB, free: 19.66 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003919/9.329, allocations: 217.7 kB / 3.709 GB, free: 19.44 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4506/9.78, allocations: 46.08 MB / 3.754 GB, free: 67.45 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.614e-05/9.78, allocations: 47.53 kB / 3.754 GB, free: 67.41 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=42): time 6.142e-06/9.78, allocations: 0 / 3.754 GB, free: 67.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=46): time 0.01168/9.791, allocations: 1.829 MB / 3.756 GB, free: 67 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.614e-05/9.792, allocations: 165.8 kB / 3.756 GB, free: 66.82 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/9.793, allocations: 0.536 MB / 3.756 GB, free: 66.68 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001203/9.793, allocations: 36.52 kB / 3.757 GB, free: 66.65 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003934/9.794, allocations: 429.9 kB / 3.757 GB, free: 66.41 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002654/9.794, allocations: 165.8 kB / 3.757 GB, free: 66.33 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.962e-05/9.794, allocations: 16.53 kB / 3.757 GB, free: 66.33 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001408/9.794, allocations: 338.7 kB / 3.757 GB, free: 66.02 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009236/9.795, allocations: 217.8 kB / 3.758 GB, free: 66.02 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/9.796, allocations: 0.5474 MB / 3.758 GB, free: 65.6 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/9.798, allocations: 326.3 kB / 3.758 GB, free: 65.59 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.606e-05/9.798, allocations: 3.312 kB / 3.758 GB, free: 65.59 MB / 0.5417 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003238/9.801, allocations: 0.7873 MB / 3.759 GB, free: 65.53 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.083e-05/9.801, allocations: 10.03 kB / 3.759 GB, free: 65.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.107e-05/9.801, allocations: 14.31 kB / 3.759 GB, free: 65.53 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006018/9.802, allocations: 62.36 kB / 3.759 GB, free: 65.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002984/9.805, allocations: 286.5 kB / 3.76 GB, free: 65.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002466/9.807, allocations: 1.967 MB / 3.762 GB, free: 63.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/9.809, allocations: 65.47 kB / 3.762 GB, free: 63.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/9.809, allocations: 42.09 kB / 3.762 GB, free: 63.68 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.0004031/9.81, allocations: 164.5 kB / 3.762 GB, free: 63.57 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003717/9.81, allocations: 74 kB / 3.762 GB, free: 63.53 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005279/9.815, allocations: 2.214 MB / 3.764 GB, free: 63.29 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-05/9.815, allocations: 32.8 kB / 3.764 GB, free: 63.29 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.352e-06/9.816, allocations: 1.312 kB / 3.764 GB, free: 63.29 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/9.816, allocations: 3.844 kB / 3.764 GB, free: 63.29 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008197/9.824, allocations: 3.278 MB / 3.767 GB, free: 62.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/9.824, allocations: 0 / 3.767 GB, free: 62.83 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002347/9.826, allocations: 193.3 kB / 3.767 GB, free: 62.83 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007815/9.827, allocations: 87.45 kB / 3.768 GB, free: 62.82 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.368e-05/9.827, allocations: 14.5 kB / 3.768 GB, free: 62.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002347/9.83, allocations: 1.99 MB / 3.769 GB, free: 60.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.142e-06/9.83, allocations: 0 / 3.769 GB, free: 60.98 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004861/9.834, allocations: 1.979 MB / 3.771 GB, free: 60.63 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008843/9.835, allocations: 285.2 kB / 3.772 GB, free: 60.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002702/9.836, allocations: 14.22 kB / 3.772 GB, free: 60.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001681/9.837, allocations: 62.02 kB / 3.772 GB, free: 60.47 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/9.838, allocations: 37.34 kB / 3.772 GB, free: 60.47 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/9.838, allocations: 26.56 kB / 3.772 GB, free: 60.47 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001508/9.839, allocations: 0.4922 MB / 3.772 GB, free: 60.38 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.334e-06/9.839, allocations: 5.906 kB / 3.772 GB, free: 60.38 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007884/9.847, allocations: 1.126 MB / 3.773 GB, free: 60.38 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.01326/9.86, allocations: 1.567 MB / 3.775 GB, free: 60.26 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00244/9.863, allocations: 0.8964 MB / 3.776 GB, free: 60.25 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.11e-06/9.863, allocations: 2.719 kB / 3.776 GB, free: 60.25 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00149/9.864, allocations: 0.6413 MB / 3.776 GB, free: 60.24 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002464/9.867, allocations: 359.4 kB / 3.777 GB, free: 60.24 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003195/9.87, allocations: 1.758 MB / 3.778 GB, free: 59.84 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006675/9.871, allocations: 1.13 MB / 3.78 GB, free: 59.13 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002503/9.871, allocations: 68.19 kB / 3.78 GB, free: 59.12 MB / 0.5417 GB Notification: Performance of SimCode: time 1.767e-06/9.871, allocations: 6.25 kB / 3.78 GB, free: 59.12 MB / 0.5417 GB Notification: Performance of Templates: time 0.07524/9.946, allocations: 40.43 MB / 3.819 GB, free: 56.82 MB / 0.5417 GB