Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.1.|volume.ports.1..m_flow|volume.ports.1..p|volume.ports.1..h_outflow|volume.ports.2..m_flow|volume.ports.2..p|volume.ports.2..h_outflow|volume.ports_H_flow.1.|volume.ports_H_flow.2.|volume.ports_E_flow.1.|volume.ports_E_flow.2.|volume.ports_penetration.1.|volume.ports_penetration.2.|volume.portsData_diameter.1.|volume.portsData_diameter.2.|volume.portsData_height.1.|volume.portsData_height.2.|volume.portsData_zeta_in.1.|volume.portsData_zeta_in.2.|volume.portsData_zeta_out.1.|volume.portsData_zeta_out.2.|fixedMassFlowRate.ports.1..m_flow|fixedMassFlowRate.ports.1..p|fixedMassFlowRate.ports.1..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadModel(ModelicaTest): time 1.951/1.951, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.964e-05/2.976e-05, allocations: 0 / 273.1 MB, free: 3.652 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08677/0.08682, allocations: 48.7 MB / 321.8 MB, free: 2.852 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8542/0.9411, allocations: 341.4 MB / 0.6476 GB, free: 30.64 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.9414, allocations: 97.8 kB / 0.6477 GB, free: 30.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6058/1.547, allocations: 129.3 MB / 0.774 GB, free: 75.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.146e-06/1.547, allocations: 0 / 0.774 GB, free: 75.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.726e-05/1.547, allocations: 16 kB / 0.774 GB, free: 75.66 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001852/1.549, allocations: 0.8911 MB / 0.7749 GB, free: 74.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/1.549, allocations: 12.03 kB / 0.7749 GB, free: 74.72 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004785/1.55, allocations: 87.14 kB / 0.775 GB, free: 74.63 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/1.551, allocations: 0.539 MB / 0.7755 GB, free: 74.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/1.551, allocations: 116 kB / 0.7756 GB, free: 73.94 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/1.551, allocations: 44 kB / 0.7757 GB, free: 73.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/1.553, allocations: 0.7937 MB / 0.7765 GB, free: 73.03 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/1.553, allocations: 0 / 0.7765 GB, free: 73.03 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.692e-05/1.553, allocations: 27.52 kB / 0.7765 GB, free: 73.01 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.062e-05/1.553, allocations: 44.92 kB / 0.7765 GB, free: 72.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/1.554, allocations: 0.5836 MB / 0.7771 GB, free: 72.38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004817/1.559, allocations: 4.023 MB / 0.781 GB, free: 68.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000668/1.56, allocations: 323.2 kB / 0.7813 GB, free: 67.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/1.56, allocations: 161.4 kB / 0.7815 GB, free: 67.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002286/1.562, allocations: 1.812 MB / 0.7833 GB, free: 65.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/1.562, allocations: 50.55 kB / 0.7833 GB, free: 65.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 2.854e-06/1.562, allocations: 0 / 0.7833 GB, free: 65.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.003344/1.566, allocations: 1.125 MB / 0.7844 GB, free: 64.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/1.566, allocations: 136.5 kB / 0.7845 GB, free: 64.21 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008027/1.567, allocations: 0.5461 MB / 0.7851 GB, free: 63.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.703e-05/1.567, allocations: 33.7 kB / 0.7851 GB, free: 63.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/1.567, allocations: 449.4 kB / 0.7855 GB, free: 63.19 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.722e-05/1.567, allocations: 117 kB / 0.7856 GB, free: 63.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/1.567, allocations: 16 kB / 0.7857 GB, free: 63.06 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.455e-05/1.567, allocations: 338.8 kB / 0.786 GB, free: 62.72 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/1.567, allocations: 169.5 kB / 0.7861 GB, free: 62.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005009/1.568, allocations: 0.5657 MB / 0.7867 GB, free: 61.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005017/1.569, allocations: 299.8 kB / 0.787 GB, free: 61.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/1.569, allocations: 4 kB / 0.787 GB, free: 61.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001356/1.57, allocations: 0.697 MB / 0.7877 GB, free: 60.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/1.57, allocations: 12 kB / 0.7877 GB, free: 60.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/1.57, allocations: 12 kB / 0.7877 GB, free: 60.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.434e-05/1.57, allocations: 24.06 kB / 0.7877 GB, free: 60.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/1.571, allocations: 211.6 kB / 0.7879 GB, free: 60.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.932e-05/1.571, allocations: 27.92 kB / 0.7879 GB, free: 60.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008737/1.572, allocations: 55.89 kB / 0.788 GB, free: 60.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.016e-05/1.572, allocations: 36 kB / 0.788 GB, free: 60.42 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001764/1.572, allocations: 170.8 kB / 0.7882 GB, free: 60.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/1.572, allocations: 67.2 kB / 0.7883 GB, free: 60.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009157/1.573, allocations: 442 kB / 0.7887 GB, free: 59.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/1.573, allocations: 4 kB / 0.7887 GB, free: 59.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.536e-06/1.573, allocations: 4 kB / 0.7887 GB, free: 59.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.39e-06/1.573, allocations: 0 / 0.7887 GB, free: 59.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00192/1.575, allocations: 1.198 MB / 0.7899 GB, free: 58.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/1.575, allocations: 4 kB / 0.7899 GB, free: 58.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000353/1.576, allocations: 67.91 kB / 0.7899 GB, free: 58.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002587/1.576, allocations: 45.23 kB / 0.79 GB, free: 58.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/1.576, allocations: 12 kB / 0.79 GB, free: 58.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003403/1.576, allocations: 0.564 MB / 0.7905 GB, free: 57.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.576, allocations: 4 kB / 0.7905 GB, free: 57.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/1.578, allocations: 0.8285 MB / 0.7913 GB, free: 56.72 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003215/1.578, allocations: 184.2 kB / 0.7915 GB, free: 56.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/1.578, allocations: 15.98 kB / 0.7915 GB, free: 56.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005282/1.579, allocations: 28.05 kB / 0.7916 GB, free: 56.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/1.579, allocations: 31.92 kB / 0.7916 GB, free: 56.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.008e-05/1.579, allocations: 15.98 kB / 0.7916 GB, free: 56.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006323/1.579, allocations: 419.2 kB / 0.792 GB, free: 56.03 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.91e-07/1.579, allocations: 4 kB / 0.792 GB, free: 56.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00117/1.581, allocations: 219.9 kB / 0.7922 GB, free: 55.81 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006452/1.581, allocations: 342.5 kB / 0.7925 GB, free: 55.49 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008806/1.582, allocations: 424.9 kB / 0.793 GB, free: 55.08 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.546e-06/1.582, allocations: 0 / 0.793 GB, free: 55.08 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004354/1.583, allocations: 157.9 kB / 0.7931 GB, free: 54.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/1.584, allocations: 267 kB / 0.7934 GB, free: 54.67 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/1.586, allocations: 0.9329 MB / 0.7943 GB, free: 53.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004342/1.586, allocations: 0.9492 MB / 0.7952 GB, free: 52.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/1.587, allocations: 55.44 kB / 0.7952 GB, free: 52.63 MB / 426.7 MB Notification: Performance of SimCode: time 1.846e-06/1.587, allocations: 4 kB / 0.7953 GB, free: 52.62 MB / 426.7 MB Notification: Performance of Templates: time 0.01832/1.605, allocations: 12.33 MB / 0.8073 GB, free: 40.32 MB / 426.7 MB