Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadModel(ModelicaTest): time 2.383/2.383, allocations: 270 MB / 282.7 MB, free: 1.922 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.288e-05/3.321e-05, allocations: 4 kB / 347 MB, free: 3.281 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3322, allocations: 61.86 MB / 408.9 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.925/7.257, allocations: 2.799 GB / 3.198 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/7.258, allocations: 94.81 kB / 3.198 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.115/9.373, allocations: 0.4958 GB / 3.694 GB, free: 35.51 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.526e-06/9.373, allocations: 0 / 3.694 GB, free: 35.51 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.019e-05/9.373, allocations: 21.64 kB / 3.694 GB, free: 35.49 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.005692/9.378, allocations: 1.699 MB / 3.696 GB, free: 33.77 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/9.378, allocations: 12.03 kB / 3.696 GB, free: 33.76 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002091/9.381, allocations: 227.2 kB / 3.696 GB, free: 33.54 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/9.382, allocations: 0.5767 MB / 3.696 GB, free: 32.93 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/9.382, allocations: 111.4 kB / 3.697 GB, free: 32.81 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/9.382, allocations: 62.73 kB / 3.697 GB, free: 32.75 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002225/9.384, allocations: 1.08 MB / 3.698 GB, free: 31.56 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/9.384, allocations: 4 kB / 3.698 GB, free: 31.56 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/9.385, allocations: 28 kB / 3.698 GB, free: 31.53 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.779e-05/9.385, allocations: 44.92 kB / 3.698 GB, free: 31.49 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001917/9.387, allocations: 0.8053 MB / 3.698 GB, free: 30.68 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.006149/9.393, allocations: 5.544 MB / 3.704 GB, free: 24.82 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/9.394, allocations: 0.5538 MB / 3.704 GB, free: 24.24 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003624/9.395, allocations: 206.5 kB / 3.705 GB, free: 24.03 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4328/9.827, allocations: 47.35 MB / 3.751 GB, free: 70.58 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/9.827, allocations: 44.41 kB / 3.751 GB, free: 70.54 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=39): time 3.863e-06/9.828, allocations: 0 / 3.751 GB, free: 70.54 MB / 0.5417 GB Notification: Performance of matching and sorting (n=44): time 0.007362/9.835, allocations: 1.994 MB / 3.753 GB, free: 70.09 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/9.835, allocations: 188.1 kB / 3.753 GB, free: 69.87 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008493/9.836, allocations: 0.558 MB / 3.754 GB, free: 69.73 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.114e-05/9.836, allocations: 35.67 kB / 3.754 GB, free: 69.7 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/9.836, allocations: 436 kB / 3.754 GB, free: 69.45 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/9.836, allocations: 157.5 kB / 3.754 GB, free: 69.38 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/9.836, allocations: 15.19 kB / 3.754 GB, free: 69.38 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.048e-05/9.836, allocations: 344.6 kB / 3.755 GB, free: 69.06 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004434/9.837, allocations: 223.8 kB / 3.755 GB, free: 69.06 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006033/9.838, allocations: 0.5641 MB / 3.755 GB, free: 68.62 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000635/9.838, allocations: 334 kB / 3.756 GB, free: 68.62 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/9.838, allocations: 3.562 kB / 3.756 GB, free: 68.62 MB / 0.5417 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001779/9.84, allocations: 0.8147 MB / 3.756 GB, free: 68.55 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/9.84, allocations: 11.17 kB / 3.756 GB, free: 68.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/9.84, allocations: 10.62 kB / 3.756 GB, free: 68.55 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00457/9.845, allocations: 274.6 kB / 3.757 GB, free: 68.54 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001728/9.846, allocations: 285.3 kB / 3.757 GB, free: 68.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/9.848, allocations: 2.018 MB / 3.759 GB, free: 66.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/9.849, allocations: 54.67 kB / 3.759 GB, free: 66.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.142e-05/9.849, allocations: 48.91 kB / 3.759 GB, free: 66.7 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (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,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * 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 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002275/9.85, allocations: 165.3 kB / 3.759 GB, free: 66.59 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/9.85, allocations: 72.98 kB / 3.759 GB, free: 66.56 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002713/9.852, allocations: 2.01 MB / 3.761 GB, free: 66.34 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.719e-05/9.853, allocations: 24.5 kB / 3.761 GB, free: 66.34 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.841e-06/9.853, allocations: 0 / 3.761 GB, free: 66.34 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.525e-06/9.853, allocations: 3.844 kB / 3.761 GB, free: 66.34 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004272/9.857, allocations: 2.988 MB / 3.764 GB, free: 65.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/9.857, allocations: 0 / 3.764 GB, free: 65.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001307/9.858, allocations: 188.1 kB / 3.764 GB, free: 65.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002359/9.861, allocations: 299 kB / 3.765 GB, free: 65.89 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.709e-05/9.861, allocations: 10.5 kB / 3.765 GB, free: 65.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/9.862, allocations: 2.077 MB / 3.767 GB, free: 64.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.187e-06/9.862, allocations: 2.625 kB / 3.767 GB, free: 64.06 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002528/9.865, allocations: 1.945 MB / 3.769 GB, free: 63.64 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005007/9.865, allocations: 296.4 kB / 3.769 GB, free: 63.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/9.866, allocations: 11 kB / 3.769 GB, free: 63.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000754/9.866, allocations: 29.66 kB / 3.769 GB, free: 63.48 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.01e-05/9.866, allocations: 32.78 kB / 3.769 GB, free: 63.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.018e-05/9.866, allocations: 22.39 kB / 3.769 GB, free: 63.48 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008632/9.867, allocations: 0.5555 MB / 3.77 GB, free: 63.39 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.86e-07/9.867, allocations: 0 / 3.77 GB, free: 63.39 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004673/9.872, allocations: 1.141 MB / 3.771 GB, free: 63.39 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007133/9.879, allocations: 1.582 MB / 3.772 GB, free: 63.26 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002295/9.882, allocations: 0.8692 MB / 3.773 GB, free: 63.25 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.074e-06/9.882, allocations: 1.125 kB / 3.773 GB, free: 63.25 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00144/9.883, allocations: 0.6065 MB / 3.774 GB, free: 63.25 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/9.885, allocations: 376 kB / 3.774 GB, free: 63.24 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002972/9.888, allocations: 1.669 MB / 3.776 GB, free: 62.84 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006193/9.889, allocations: 1.109 MB / 3.777 GB, free: 62.14 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002426/9.889, allocations: 70.53 kB / 3.777 GB, free: 62.13 MB / 0.5417 GB Notification: Performance of SimCode: time 1.665e-06/9.889, allocations: 0 / 3.777 GB, free: 62.13 MB / 0.5417 GB Notification: Performance of Templates: time 0.05959/9.949, allocations: 39.98 MB / 3.816 GB, free: 59.89 MB / 0.5417 GB