Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadModel(ModelicaTest): time 2.32/2.32, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.108e-05/3.127e-05, allocations: 4 kB / 304.9 MB, free: 5.641 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.37, allocations: 54.84 MB / 359.8 MB, free: 2.691 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.838/6.208, allocations: 2.627 GB / 2.978 GB, free: 53.92 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/6.208, allocations: 95.94 kB / 2.978 GB, free: 53.83 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.275/8.483, allocations: 0.4905 GB / 3.469 GB, free: 45.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.723e-06/8.483, allocations: 0 / 3.469 GB, free: 45.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.975e-05/8.484, allocations: 20.53 kB / 3.469 GB, free: 45.5 MB / 490.7 MB 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.006073/8.49, allocations: 1.751 MB / 3.47 GB, free: 44.76 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/8.49, allocations: 9.094 kB / 3.47 GB, free: 44.76 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003004/8.493, allocations: 325.5 kB / 3.471 GB, free: 44.72 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/8.494, allocations: 0.608 MB / 3.471 GB, free: 44.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/8.494, allocations: 116.8 kB / 3.471 GB, free: 44.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/8.494, allocations: 64.5 kB / 3.471 GB, free: 44.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002834/8.497, allocations: 1.179 MB / 3.473 GB, free: 44.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.207e-05/8.497, allocations: 6.469 kB / 3.473 GB, free: 44.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/8.497, allocations: 25.88 kB / 3.473 GB, free: 44.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.319e-05/8.498, allocations: 48.86 kB / 3.473 GB, free: 44.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002629/8.5, allocations: 0.9672 MB / 3.474 GB, free: 44.1 MB / 490.7 MB 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.00668/8.507, allocations: 5.606 MB / 3.479 GB, free: 40.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002214/8.509, allocations: 0.72 MB / 3.48 GB, free: 40.33 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004438/8.51, allocations: 245.9 kB / 3.48 GB, free: 40.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05969/8.569, allocations: 18.85 MB / 3.498 GB, free: 28.67 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.515e-05/8.569, allocations: 42.88 kB / 3.498 GB, free: 28.63 MB / 490.7 MB Notification: Performance of pre-optimization done (n=45): time 8.658e-06/8.569, allocations: 1.688 kB / 3.498 GB, free: 28.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=49): time 0.01433/8.584, allocations: 2.021 MB / 3.5 GB, free: 28.14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.904e-05/8.584, allocations: 162 kB / 3.501 GB, free: 27.96 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/8.586, allocations: 0.5231 MB / 3.501 GB, free: 27.82 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001164/8.586, allocations: 39.08 kB / 3.501 GB, free: 27.79 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004454/8.586, allocations: 430.9 kB / 3.502 GB, free: 27.51 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003001/8.587, allocations: 168.7 kB / 3.502 GB, free: 27.41 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/8.587, allocations: 14.12 kB / 3.502 GB, free: 27.41 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001574/8.587, allocations: 345.7 kB / 3.502 GB, free: 27.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/8.588, allocations: 242.2 kB / 3.502 GB, free: 27.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/8.59, allocations: 0.5891 MB / 3.503 GB, free: 26.65 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/8.591, allocations: 338.8 kB / 3.503 GB, free: 26.65 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.882e-05/8.591, allocations: 3.469 kB / 3.503 GB, free: 26.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003863/8.595, allocations: 0.8384 MB / 3.504 GB, free: 26.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.398e-05/8.595, allocations: 14 kB / 3.504 GB, free: 26.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.475e-05/8.595, allocations: 11.38 kB / 3.504 GB, free: 26.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007026/8.596, allocations: 67.42 kB / 3.504 GB, free: 26.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003804/8.6, allocations: 313 kB / 3.504 GB, free: 26.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002848/8.602, allocations: 1.985 MB / 3.506 GB, free: 24.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00234/8.605, allocations: 89.78 kB / 3.506 GB, free: 24.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002037/8.605, allocations: 44.95 kB / 3.506 GB, free: 24.73 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * 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 (99): * Single equations (assignments): 97 * 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.0004467/8.606, allocations: 167 kB / 3.507 GB, free: 24.61 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003979/8.606, allocations: 72.03 kB / 3.507 GB, free: 24.58 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006788/8.613, allocations: 2.565 MB / 3.509 GB, free: 24.26 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.016e-05/8.613, allocations: 36.83 kB / 3.509 GB, free: 24.26 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.622e-06/8.613, allocations: 0 / 3.509 GB, free: 24.26 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-05/8.613, allocations: 3.562 kB / 3.509 GB, free: 24.26 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005667/8.619, allocations: 3.745 MB / 3.513 GB, free: 23.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.268e-06/8.619, allocations: 1.203 kB / 3.513 GB, free: 23.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001417/8.62, allocations: 244.1 kB / 3.513 GB, free: 23.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004286/8.621, allocations: 86.56 kB / 3.513 GB, free: 23.74 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.816e-05/8.621, allocations: 15.38 kB / 3.513 GB, free: 23.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/8.622, allocations: 1.992 MB / 3.515 GB, free: 21.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.814e-06/8.622, allocations: 2 kB / 3.515 GB, free: 21.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002821/8.625, allocations: 2.233 MB / 3.517 GB, free: 21.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005361/8.625, allocations: 336.7 kB / 3.518 GB, free: 21.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/8.626, allocations: 13.38 kB / 3.518 GB, free: 21.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007556/8.626, allocations: 62.39 kB / 3.518 GB, free: 21.34 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/8.626, allocations: 50.33 kB / 3.518 GB, free: 21.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-05/8.627, allocations: 18.3 kB / 3.518 GB, free: 21.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008319/8.627, allocations: 0.5376 MB / 3.518 GB, free: 21.23 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.7e-07/8.627, allocations: 0 / 3.518 GB, free: 21.23 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004626/8.632, allocations: 1.138 MB / 3.519 GB, free: 21.09 MB / 490.7 MB 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.007577/8.64, allocations: 1.561 MB / 3.521 GB, free: 20.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002415/8.642, allocations: 0.9994 MB / 3.522 GB, free: 20.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/8.642, allocations: 0 / 3.522 GB, free: 20.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001456/8.644, allocations: 0.7462 MB / 3.523 GB, free: 20.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/8.646, allocations: 368.1 kB / 3.523 GB, free: 20.78 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/8.649, allocations: 1.944 MB / 3.525 GB, free: 20.33 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006937/8.65, allocations: 1.181 MB / 3.526 GB, free: 19.62 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/8.65, allocations: 72.55 kB / 3.526 GB, free: 19.62 MB / 490.7 MB Notification: Performance of SimCode: time 1.624e-06/8.65, allocations: 0 / 3.526 GB, free: 19.62 MB / 490.7 MB Notification: Performance of Templates: time 0.05842/8.709, allocations: 41.88 MB / 3.567 GB, free: 14.54 MB / 490.7 MB