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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadModel(ModelicaTest): time 1.874/1.874, allocations: 209.3 MB / 221.5 MB, free: 1.855 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.076e-05/3.097e-05, allocations: 4 kB / 273.1 MB, free: 224 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08599/0.08604, allocations: 48.7 MB / 321.8 MB, free: 15.42 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8636/0.9497, allocations: 341.4 MB / 0.6477 GB, free: 9.102 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.9501, allocations: 91.94 kB / 0.6478 GB, free: 9.012 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5988/1.549, allocations: 129.3 MB / 0.7741 GB, free: 51.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.116e-06/1.549, allocations: 0 / 0.7741 GB, free: 51.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.804e-05/1.549, allocations: 16 kB / 0.7741 GB, free: 51.88 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.001878/1.551, allocations: 0.8806 MB / 0.7749 GB, free: 50.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/1.551, allocations: 12.03 kB / 0.7749 GB, free: 50.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004389/1.551, allocations: 83.16 kB / 0.775 GB, free: 50.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/1.553, allocations: 0.5519 MB / 0.7756 GB, free: 50.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/1.553, allocations: 108.4 kB / 0.7757 GB, free: 50.15 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/1.553, allocations: 48 kB / 0.7757 GB, free: 50.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/1.554, allocations: 0.7939 MB / 0.7765 GB, free: 49.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/1.554, allocations: 11.94 kB / 0.7765 GB, free: 49.22 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.52e-05/1.554, allocations: 24 kB / 0.7765 GB, free: 49.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.461e-05/1.554, allocations: 36.98 kB / 0.7766 GB, free: 49.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/1.556, allocations: 0.5913 MB / 0.7771 GB, free: 48.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004771/1.56, allocations: 4.017 MB / 0.7811 GB, free: 44.31 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000665/1.561, allocations: 323.8 kB / 0.7814 GB, free: 43.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/1.561, allocations: 165.4 kB / 0.7815 GB, free: 43.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002291/1.564, allocations: 1.819 MB / 0.7833 GB, free: 41.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/1.564, allocations: 42.56 kB / 0.7833 GB, free: 41.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 2.901e-06/1.564, allocations: 0 / 0.7833 GB, free: 41.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.003297/1.567, allocations: 1.119 MB / 0.7844 GB, free: 40.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/1.567, allocations: 136.5 kB / 0.7846 GB, free: 40.37 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00081/1.568, allocations: 0.55 MB / 0.7851 GB, free: 39.81 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.028e-05/1.568, allocations: 33.7 kB / 0.7851 GB, free: 39.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002491/1.568, allocations: 409.9 kB / 0.7855 GB, free: 39.37 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.266e-05/1.568, allocations: 126.3 kB / 0.7856 GB, free: 39.24 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/1.569, allocations: 16 kB / 0.7857 GB, free: 39.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/1.569, allocations: 370.8 kB / 0.786 GB, free: 38.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003521/1.569, allocations: 173.5 kB / 0.7862 GB, free: 38.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005185/1.57, allocations: 0.5736 MB / 0.7867 GB, free: 37.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005219/1.57, allocations: 291.6 kB / 0.787 GB, free: 37.63 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/1.57, allocations: 4 kB / 0.787 GB, free: 37.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001447/1.572, allocations: 0.727 MB / 0.7877 GB, free: 36.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/1.572, allocations: 8.969 kB / 0.7877 GB, free: 36.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/1.572, allocations: 16 kB / 0.7878 GB, free: 36.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.689e-05/1.572, allocations: 27.98 kB / 0.7878 GB, free: 36.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/1.573, allocations: 211.6 kB / 0.788 GB, free: 36.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.928e-05/1.573, allocations: 31.91 kB / 0.788 GB, free: 36.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008552/1.574, allocations: 47.83 kB / 0.7881 GB, free: 36.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-05/1.574, allocations: 44 kB / 0.7881 GB, free: 36.52 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.0001899/1.574, allocations: 168.4 kB / 0.7883 GB, free: 36.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/1.574, allocations: 67.2 kB / 0.7883 GB, free: 36.28 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009053/1.575, allocations: 422.3 kB / 0.7887 GB, free: 35.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.97e-06/1.575, allocations: 0 / 0.7887 GB, free: 35.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.037e-06/1.575, allocations: 8 kB / 0.7887 GB, free: 35.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.961e-06/1.575, allocations: 0 / 0.7887 GB, free: 35.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/1.577, allocations: 1.198 MB / 0.7899 GB, free: 34.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.845e-06/1.577, allocations: 0 / 0.7899 GB, free: 34.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003866/1.578, allocations: 71.91 kB / 0.79 GB, free: 34.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002633/1.578, allocations: 41.23 kB / 0.79 GB, free: 34.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/1.578, allocations: 16 kB / 0.79 GB, free: 34.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003434/1.578, allocations: 0.5603 MB / 0.7906 GB, free: 33.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.463e-06/1.578, allocations: 7.984 kB / 0.7906 GB, free: 33.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/1.579, allocations: 0.8207 MB / 0.7914 GB, free: 32.83 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003057/1.58, allocations: 184.3 kB / 0.7916 GB, free: 32.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/1.58, allocations: 12 kB / 0.7916 GB, free: 32.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005146/1.58, allocations: 31.95 kB / 0.7916 GB, free: 32.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/1.58, allocations: 31.86 kB / 0.7916 GB, free: 32.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.975e-05/1.58, allocations: 19.98 kB / 0.7917 GB, free: 32.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006084/1.581, allocations: 419.2 kB / 0.7921 GB, free: 32.14 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.66e-07/1.581, allocations: 0 / 0.7921 GB, free: 32.14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001117/1.582, allocations: 223.9 kB / 0.7923 GB, free: 31.92 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.0006399/1.583, allocations: 350.5 kB / 0.7926 GB, free: 31.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009161/1.584, allocations: 425.5 kB / 0.793 GB, free: 31.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.845e-06/1.584, allocations: 0 / 0.793 GB, free: 31.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004575/1.584, allocations: 161.8 kB / 0.7932 GB, free: 31 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/1.586, allocations: 270.2 kB / 0.7934 GB, free: 30.74 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/1.588, allocations: 0.9 MB / 0.7943 GB, free: 29.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/1.588, allocations: 0.9453 MB / 0.7952 GB, free: 28.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001026/1.589, allocations: 205.9 kB / 0.7954 GB, free: 28.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/1.589, allocations: 59.44 kB / 0.7955 GB, free: 28.54 MB / 426.7 MB Notification: Performance of SimCode: time 1.64e-06/1.589, allocations: 0 / 0.7955 GB, free: 28.54 MB / 426.7 MB Notification: Performance of Templates: time 0.0263/1.616, allocations: 11.92 MB / 0.8071 GB, free: 16.68 MB / 426.7 MB