Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadModel(ModelicaTest): time 2.321/2.321, allocations: 270 MB / 282.7 MB, free: 1.867 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.049e-05/3.06e-05, allocations: 3.938 kB / 347 MB, free: 3.258 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.327, allocations: 61.88 MB / 408.9 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.469/6.796, allocations: 2.8 GB / 3.2 GB, free: 1.621 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/6.796, allocations: 91.94 kB / 3.2 GB, free: 1.531 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.395/9.191, allocations: 0.4981 GB / 3.698 GB, free: 62.88 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.963e-06/9.191, allocations: 0 / 3.698 GB, free: 62.88 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.531e-05/9.191, allocations: 18.84 kB / 3.698 GB, free: 62.88 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.006228/9.197, allocations: 1.761 MB / 3.7 GB, free: 62.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/9.197, allocations: 10.69 kB / 3.7 GB, free: 62.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003459/9.201, allocations: 325.5 kB / 3.7 GB, free: 62.06 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/9.202, allocations: 0.5983 MB / 3.701 GB, free: 61.79 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/9.203, allocations: 117.4 kB / 3.701 GB, free: 61.73 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/9.203, allocations: 59.53 kB / 3.701 GB, free: 61.73 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003238/9.206, allocations: 1.189 MB / 3.702 GB, free: 61.43 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.212e-05/9.206, allocations: 5.562 kB / 3.702 GB, free: 61.43 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/9.206, allocations: 35.94 kB / 3.702 GB, free: 61.43 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.032e-05/9.206, allocations: 41.31 kB / 3.702 GB, free: 61.43 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003057/9.209, allocations: 0.9727 MB / 3.703 GB, free: 61.43 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.007284/9.217, allocations: 5.61 MB / 3.708 GB, free: 57.71 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002519/9.219, allocations: 0.7322 MB / 3.709 GB, free: 57.66 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005141/9.22, allocations: 249.2 kB / 3.709 GB, free: 57.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03682/9.256, allocations: 15.77 MB / 3.725 GB, free: 47.82 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/9.257, allocations: 40.47 kB / 3.725 GB, free: 47.77 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=45): time 3.964e-06/9.257, allocations: 0 / 3.725 GB, free: 47.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.007556/9.264, allocations: 2.03 MB / 3.727 GB, free: 46.88 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/9.264, allocations: 161.5 kB / 3.727 GB, free: 46.69 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008246/9.265, allocations: 0.5305 MB / 3.727 GB, free: 46.44 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.258e-05/9.265, allocations: 37.3 kB / 3.727 GB, free: 46.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000219/9.265, allocations: 417.4 kB / 3.728 GB, free: 46.04 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/9.266, allocations: 176.9 kB / 3.728 GB, free: 45.91 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.445e-05/9.266, allocations: 15.66 kB / 3.728 GB, free: 45.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.028e-05/9.266, allocations: 343.9 kB / 3.728 GB, free: 45.57 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005182/9.266, allocations: 238.1 kB / 3.729 GB, free: 45.48 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006629/9.267, allocations: 0.5603 MB / 3.729 GB, free: 44.98 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006415/9.268, allocations: 334.2 kB / 3.729 GB, free: 44.87 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.698e-06/9.268, allocations: 3.906 kB / 3.729 GB, free: 44.87 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001782/9.269, allocations: 0.8098 MB / 3.73 GB, free: 44.61 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/9.269, allocations: 9.688 kB / 3.73 GB, free: 44.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/9.269, allocations: 10.38 kB / 3.73 GB, free: 44.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003529/9.27, allocations: 66.47 kB / 3.73 GB, free: 44.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001755/9.272, allocations: 310.6 kB / 3.731 GB, free: 44.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/9.273, allocations: 1.973 MB / 3.733 GB, free: 42.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/9.274, allocations: 84.12 kB / 3.733 GB, free: 42.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.464e-05/9.274, allocations: 44.09 kB / 3.733 GB, free: 42.62 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (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.0002371/9.275, allocations: 170 kB / 3.733 GB, free: 42.47 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/9.275, allocations: 71 kB / 3.733 GB, free: 42.44 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003261/9.278, allocations: 2.566 MB / 3.735 GB, free: 41.24 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.892e-05/9.278, allocations: 38.84 kB / 3.735 GB, free: 41.23 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.327e-06/9.278, allocations: 3.953 kB / 3.735 GB, free: 41.22 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/9.278, allocations: 3.375 kB / 3.735 GB, free: 41.22 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00516/9.283, allocations: 3.761 MB / 3.739 GB, free: 39.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.377e-06/9.284, allocations: 0 / 3.739 GB, free: 39.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001635/9.285, allocations: 238.8 kB / 3.739 GB, free: 39.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004826/9.286, allocations: 87.72 kB / 3.739 GB, free: 39.36 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.947e-05/9.286, allocations: 11.97 kB / 3.739 GB, free: 39.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001397/9.287, allocations: 1.988 MB / 3.741 GB, free: 37.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.232e-06/9.287, allocations: 0 / 3.741 GB, free: 37.41 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003077/9.29, allocations: 2.243 MB / 3.744 GB, free: 36.28 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000597/9.291, allocations: 332.3 kB / 3.744 GB, free: 36.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/9.291, allocations: 10.97 kB / 3.744 GB, free: 36.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000854/9.292, allocations: 69.41 kB / 3.744 GB, free: 36.01 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/9.292, allocations: 48.58 kB / 3.744 GB, free: 36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.815e-05/9.292, allocations: 21.83 kB / 3.744 GB, free: 36 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008976/9.293, allocations: 0.5477 MB / 3.745 GB, free: 35.75 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.11e-07/9.293, allocations: 2.719 kB / 3.745 GB, free: 35.75 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004819/9.298, allocations: 1.131 MB / 3.746 GB, free: 35.54 MB / 0.5261 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: 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.007805/9.306, allocations: 1.573 MB / 3.747 GB, free: 35.21 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002573/9.308, allocations: 0.994 MB / 3.748 GB, free: 34.87 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.624e-06/9.308, allocations: 0 / 3.748 GB, free: 34.87 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001641/9.31, allocations: 0.7416 MB / 3.749 GB, free: 34.55 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/9.313, allocations: 375.8 kB / 3.749 GB, free: 34.48 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/9.316, allocations: 1.942 MB / 3.751 GB, free: 33.65 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006964/9.317, allocations: 1.181 MB / 3.752 GB, free: 32.93 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003119/9.317, allocations: 70.47 kB / 3.752 GB, free: 32.92 MB / 0.5261 GB Notification: Performance of SimCode: time 1.713e-06/9.317, allocations: 0 / 3.752 GB, free: 32.92 MB / 0.5261 GB Notification: Performance of Templates: time 0.06152/9.379, allocations: 41.96 MB / 3.793 GB, free: 4.977 MB / 0.5261 GB