Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadModel(ModelicaTest): time 2.305/2.305, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.275e-05/3.293e-05, allocations: 6.656 kB / 304.9 MB, free: 5.648 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3239, allocations: 54.85 MB / 359.8 MB, free: 2.684 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.444/6.768, allocations: 2.625 GB / 2.976 GB, free: 111.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/6.768, allocations: 95.06 kB / 2.976 GB, free: 111.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.966/8.734, allocations: 0.4883 GB / 3.465 GB, free: 38.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.541e-06/8.734, allocations: 3.969 kB / 3.465 GB, free: 38.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.798e-05/8.734, allocations: 14.11 kB / 3.465 GB, free: 38.91 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.005974/8.74, allocations: 1.703 MB / 3.466 GB, free: 37.81 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/8.74, allocations: 7.438 kB / 3.466 GB, free: 37.81 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002168/8.742, allocations: 225.1 kB / 3.467 GB, free: 37.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001437/8.744, allocations: 0.5936 MB / 3.467 GB, free: 37.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/8.744, allocations: 112.7 kB / 3.467 GB, free: 36.97 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/8.744, allocations: 61.88 kB / 3.467 GB, free: 36.91 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00228/8.747, allocations: 1.07 MB / 3.468 GB, free: 35.74 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/8.747, allocations: 0 / 3.468 GB, free: 35.74 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/8.747, allocations: 39.38 kB / 3.469 GB, free: 35.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.261e-05/8.747, allocations: 44.91 kB / 3.469 GB, free: 35.67 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/8.749, allocations: 0.8014 MB / 3.469 GB, free: 34.87 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.006749/8.756, allocations: 5.52 MB / 3.475 GB, free: 29.05 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/8.757, allocations: 0.5344 MB / 3.475 GB, free: 28.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003604/8.757, allocations: 201.7 kB / 3.475 GB, free: 28.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4367/9.194, allocations: 53.55 MB / 3.528 GB, free: 58.45 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.66e-05/9.194, allocations: 41.98 kB / 3.528 GB, free: 58.41 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=39): time 4.294e-06/9.194, allocations: 0 / 3.528 GB, free: 58.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.007795/9.202, allocations: 1.98 MB / 3.53 GB, free: 57.94 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/9.202, allocations: 185.3 kB / 3.53 GB, free: 57.72 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009338/9.203, allocations: 0.5505 MB / 3.53 GB, free: 57.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.58e-05/9.203, allocations: 32.53 kB / 3.53 GB, free: 57.56 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002579/9.203, allocations: 439.6 kB / 3.531 GB, free: 57.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/9.204, allocations: 168.1 kB / 3.531 GB, free: 57.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.857e-05/9.204, allocations: 16.41 kB / 3.531 GB, free: 57.23 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.372e-05/9.204, allocations: 347.1 kB / 3.531 GB, free: 56.91 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005102/9.204, allocations: 223.6 kB / 3.532 GB, free: 56.91 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006896/9.205, allocations: 0.5953 MB / 3.532 GB, free: 56.43 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007724/9.206, allocations: 337.4 kB / 3.533 GB, free: 56.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/9.206, allocations: 3.906 kB / 3.533 GB, free: 56.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001966/9.208, allocations: 0.8281 MB / 3.533 GB, free: 56.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/9.208, allocations: 10.7 kB / 3.533 GB, free: 56.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.469e-05/9.208, allocations: 13.5 kB / 3.533 GB, free: 56.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004131/9.212, allocations: 276.1 kB / 3.534 GB, free: 56.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001711/9.214, allocations: 290 kB / 3.534 GB, free: 56.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001686/9.215, allocations: 2.019 MB / 3.536 GB, free: 54.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/9.217, allocations: 60.69 kB / 3.536 GB, free: 54.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/9.217, allocations: 44.77 kB / 3.536 GB, free: 54.52 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * 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 (98): * Single equations (assignments): 96 * 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.0002378/9.217, allocations: 169 kB / 3.536 GB, free: 54.41 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/9.217, allocations: 71.92 kB / 3.536 GB, free: 54.38 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003023/9.22, allocations: 2.011 MB / 3.538 GB, free: 54.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.089e-05/9.22, allocations: 24.92 kB / 3.538 GB, free: 54.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.043e-06/9.22, allocations: 1.188 kB / 3.538 GB, free: 54.16 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/9.22, allocations: 4.828 kB / 3.538 GB, free: 54.16 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004779/9.225, allocations: 2.971 MB / 3.541 GB, free: 53.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/9.225, allocations: 1.312 kB / 3.541 GB, free: 53.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/9.226, allocations: 185.7 kB / 3.541 GB, free: 53.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002371/9.229, allocations: 299.4 kB / 3.542 GB, free: 53.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.369e-05/9.229, allocations: 13.97 kB / 3.542 GB, free: 53.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001665/9.231, allocations: 2.075 MB / 3.544 GB, free: 51.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.081e-06/9.231, allocations: 1 kB / 3.544 GB, free: 51.88 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002831/9.233, allocations: 1.935 MB / 3.545 GB, free: 51.46 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005958/9.234, allocations: 284.4 kB / 3.546 GB, free: 51.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/9.234, allocations: 14.67 kB / 3.546 GB, free: 51.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007613/9.235, allocations: 36.36 kB / 3.546 GB, free: 51.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.423e-05/9.235, allocations: 31.95 kB / 3.546 GB, free: 51.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.282e-05/9.235, allocations: 22.39 kB / 3.546 GB, free: 51.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008983/9.236, allocations: 0.541 MB / 3.546 GB, free: 51.21 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.623e-06/9.236, allocations: 0 / 3.546 GB, free: 51.21 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004797/9.241, allocations: 1.137 MB / 3.547 GB, free: 51.21 MB / 0.4948 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.007466/9.248, allocations: 1.571 MB / 3.549 GB, free: 51.07 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002323/9.251, allocations: 0.8699 MB / 3.55 GB, free: 51.06 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.174e-06/9.251, allocations: 0 / 3.55 GB, free: 51.06 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001422/9.252, allocations: 0.614 MB / 3.55 GB, free: 51.06 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002184/9.254, allocations: 360.1 kB / 3.551 GB, free: 51.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002914/9.257, allocations: 1.653 MB / 3.552 GB, free: 50.67 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006245/9.258, allocations: 1.109 MB / 3.554 GB, free: 49.96 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/9.258, allocations: 64.56 kB / 3.554 GB, free: 49.96 MB / 0.4948 GB Notification: Performance of SimCode: time 1.74e-06/9.258, allocations: 0 / 3.554 GB, free: 49.96 MB / 0.4948 GB Notification: Performance of Templates: time 0.05887/9.317, allocations: 39.82 MB / 3.592 GB, free: 47.57 MB / 0.4948 GB