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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadModel(ModelicaTest): time 2.47/2.47, allocations: 270 MB / 283.6 MB, free: 3.031 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.3e-05/3.305e-05, allocations: 4 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1102, allocations: 61.88 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.133/1.243, allocations: 353.7 MB / 0.746 GB, free: 54 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003931/1.243, allocations: 92.31 kB / 0.7461 GB, free: 53.95 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7261/1.969, allocations: 133.3 MB / 0.8763 GB, free: 144 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.629e-06/1.969, allocations: 0 / 0.8763 GB, free: 144 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.549e-05/1.97, allocations: 21.28 kB / 0.8763 GB, free: 144 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001784/1.971, allocations: 0.8806 MB / 0.8772 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/1.971, allocations: 11.47 kB / 0.8772 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004463/1.972, allocations: 95.73 kB / 0.8773 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/1.973, allocations: 0.5287 MB / 0.8778 GB, free: 143 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/1.973, allocations: 106 kB / 0.8779 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/1.973, allocations: 52.2 kB / 0.878 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/1.975, allocations: 0.8083 MB / 0.8787 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/1.975, allocations: 3.844 kB / 0.8787 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.742e-05/1.975, allocations: 27.25 kB / 0.8788 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.42e-05/1.975, allocations: 38.3 kB / 0.8788 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/1.976, allocations: 0.596 MB / 0.8794 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004931/1.981, allocations: 4.031 MB / 0.8833 GB, free: 139 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006652/1.982, allocations: 327.5 kB / 0.8836 GB, free: 138.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003016/1.982, allocations: 179.2 kB / 0.8838 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002005/1.984, allocations: 1.747 MB / 0.8855 GB, free: 137 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/1.984, allocations: 30.56 kB / 0.8855 GB, free: 137 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=26): time 2.885e-06/1.984, allocations: 7.875 kB / 0.8856 GB, free: 136.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=37): time 0.004228/1.988, allocations: 1.252 MB / 0.8868 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/1.988, allocations: 135.5 kB / 0.8869 GB, free: 136 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007933/1.989, allocations: 0.5491 MB / 0.8874 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.834e-05/1.989, allocations: 37.52 kB / 0.8875 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/1.989, allocations: 396 kB / 0.8879 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.712e-05/1.99, allocations: 140.2 kB / 0.888 GB, free: 135.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/1.99, allocations: 17.75 kB / 0.888 GB, free: 135.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001075/1.99, allocations: 376.5 kB / 0.8884 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003601/1.99, allocations: 177.5 kB / 0.8885 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005374/1.991, allocations: 0.5343 MB / 0.8891 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005374/1.991, allocations: 292.3 kB / 0.8893 GB, free: 134 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/1.991, allocations: 3.719 kB / 0.8893 GB, free: 134 MB / 0.5261 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001664/1.993, allocations: 0.7716 MB / 0.8901 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/1.993, allocations: 15.02 kB / 0.8901 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/1.993, allocations: 11.69 kB / 0.8901 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004858/1.993, allocations: 101.3 kB / 0.8902 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008396/1.994, allocations: 181.2 kB / 0.8904 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005479/1.995, allocations: 0.6539 MB / 0.891 GB, free: 133 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008424/1.996, allocations: 51.89 kB / 0.8911 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.239e-05/1.996, allocations: 48.95 kB / 0.8911 GB, free: 132.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (87): * Single equations (assignments): 86 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.000185/1.996, allocations: 166.8 kB / 0.8913 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/1.996, allocations: 62.97 kB / 0.8913 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/1.997, allocations: 494.3 kB / 0.8918 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.071e-06/1.997, allocations: 3.938 kB / 0.8918 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.453e-06/1.997, allocations: 0 / 0.8918 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/1.997, allocations: 7.859 kB / 0.8918 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002175/2, allocations: 1.186 MB / 0.893 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.399e-06/2, allocations: 7.812 kB / 0.893 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004158/2, allocations: 69.84 kB / 0.8931 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002352/2, allocations: 51.47 kB / 0.8931 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.572e-05/2, allocations: 10.91 kB / 0.8931 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003052/2.001, allocations: 0.5603 MB / 0.8937 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.647e-06/2.001, allocations: 6.656 kB / 0.8937 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/2.002, allocations: 0.8414 MB / 0.8945 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003372/2.002, allocations: 187.7 kB / 0.8947 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001528/2.002, allocations: 15.91 kB / 0.8947 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006403/2.003, allocations: 31.62 kB / 0.8947 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/2.003, allocations: 31.61 kB / 0.8947 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.812e-05/2.003, allocations: 22.77 kB / 0.8948 GB, free: 130 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006733/2.004, allocations: 443.3 kB / 0.8952 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.123e-06/2.004, allocations: 0 / 0.8952 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001101/2.005, allocations: 227.5 kB / 0.8954 GB, free: 129.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (36): * Single equations (assignments): 35 * 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.0006288/2.006, allocations: 356 kB / 0.8957 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001091/2.007, allocations: 466 kB / 0.8962 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.885e-06/2.007, allocations: 0 / 0.8962 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003912/2.007, allocations: 167.1 kB / 0.8964 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/2.009, allocations: 309.5 kB / 0.8966 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/2.01, allocations: 0.8899 MB / 0.8975 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/2.011, allocations: 0.9632 MB / 0.8985 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009887/2.012, allocations: 207.9 kB / 0.8987 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/2.012, allocations: 61.3 kB / 0.8987 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of SimCode: time 2.094e-06/2.012, allocations: 0 / 0.8987 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.02935/2.042, allocations: 13.28 MB / 0.9117 GB, free: 115.3 MB / 0.5261 GB