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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadModel(ModelicaTest): time 2.813/2.813, allocations: 270 MB / 283.6 MB, free: 1.926 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.431e-05/5.444e-05, allocations: 4 kB / 348.4 MB, free: 2.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3511, allocations: 61.87 MB / 410.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.103/1.454, allocations: 353.7 MB / 0.746 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/1.454, allocations: 94.95 kB / 0.7461 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.4195/1.874, allocations: 133.3 MB / 0.8763 GB, free: 49.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.996e-06/1.874, allocations: 0 / 0.8763 GB, free: 49.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.674e-05/1.874, allocations: 20 kB / 0.8764 GB, free: 49.18 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.001747/1.876, allocations: 0.8881 MB / 0.8772 GB, free: 48.25 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/1.876, allocations: 8.031 kB / 0.8772 GB, free: 48.24 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004336/1.876, allocations: 87.14 kB / 0.8773 GB, free: 48.15 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/1.877, allocations: 0.5365 MB / 0.8778 GB, free: 47.58 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/1.877, allocations: 108.4 kB / 0.8779 GB, free: 47.46 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/1.878, allocations: 47.95 kB / 0.878 GB, free: 47.41 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/1.879, allocations: 0.8064 MB / 0.8788 GB, free: 46.52 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/1.879, allocations: 7.938 kB / 0.8788 GB, free: 46.52 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.565e-05/1.879, allocations: 24 kB / 0.8788 GB, free: 46.49 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.29e-05/1.879, allocations: 32.98 kB / 0.8788 GB, free: 46.46 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/1.88, allocations: 0.5952 MB / 0.8794 GB, free: 45.86 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004862/1.885, allocations: 4.037 MB / 0.8834 GB, free: 41.59 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006851/1.886, allocations: 323.8 kB / 0.8837 GB, free: 41.26 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003038/1.886, allocations: 169.4 kB / 0.8838 GB, free: 41.09 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002064/1.888, allocations: 1.741 MB / 0.8855 GB, free: 39.11 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/1.888, allocations: 42.56 kB / 0.8856 GB, free: 39.05 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=26): time 3.189e-06/1.888, allocations: 0 / 0.8856 GB, free: 39.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=37): time 0.003935/1.892, allocations: 1.255 MB / 0.8868 GB, free: 37.74 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/1.892, allocations: 140.5 kB / 0.8869 GB, free: 37.57 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008067/1.893, allocations: 0.55 MB / 0.8875 GB, free: 37.02 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.969e-05/1.893, allocations: 33.7 kB / 0.8875 GB, free: 36.98 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002355/1.894, allocations: 398.4 kB / 0.8879 GB, free: 36.58 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.976e-05/1.894, allocations: 130.1 kB / 0.888 GB, free: 36.45 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/1.894, allocations: 20 kB / 0.888 GB, free: 36.43 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001147/1.894, allocations: 382.8 kB / 0.8884 GB, free: 36.05 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003627/1.894, allocations: 181.5 kB / 0.8886 GB, free: 35.87 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005145/1.895, allocations: 0.5289 MB / 0.8891 GB, free: 35.17 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005159/1.895, allocations: 293.6 kB / 0.8894 GB, free: 34.88 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.088e-06/1.895, allocations: 4 kB / 0.8894 GB, free: 34.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001662/1.897, allocations: 0.7676 MB / 0.8901 GB, free: 34.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/1.897, allocations: 15.94 kB / 0.8901 GB, free: 34.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/1.897, allocations: 16 kB / 0.8901 GB, free: 34.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004815/1.898, allocations: 96.75 kB / 0.8902 GB, free: 33.97 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008251/1.898, allocations: 183.7 kB / 0.8904 GB, free: 33.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005352/1.899, allocations: 0.6655 MB / 0.8911 GB, free: 33.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008098/1.9, allocations: 35.98 kB / 0.8911 GB, free: 33.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.138e-05/1.9, allocations: 43.98 kB / 0.8911 GB, free: 33.02 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.0001821/1.9, allocations: 156.6 kB / 0.8913 GB, free: 32.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/1.9, allocations: 75.22 kB / 0.8914 GB, free: 32.79 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/1.901, allocations: 499.3 kB / 0.8918 GB, free: 32.28 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.377e-06/1.901, allocations: 4 kB / 0.8918 GB, free: 32.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.134e-06/1.901, allocations: 0 / 0.8918 GB, free: 32.27 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.601e-06/1.901, allocations: 3.984 kB / 0.8918 GB, free: 32.27 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002147/1.904, allocations: 1.189 MB / 0.893 GB, free: 30.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.413e-06/1.904, allocations: 4 kB / 0.893 GB, free: 30.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003928/1.904, allocations: 71.89 kB / 0.8931 GB, free: 30.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002358/1.904, allocations: 36.8 kB / 0.8931 GB, free: 30.87 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.543e-05/1.904, allocations: 16 kB / 0.8931 GB, free: 30.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003194/1.905, allocations: 0.5646 MB / 0.8937 GB, free: 30.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.336e-06/1.905, allocations: 3.938 kB / 0.8937 GB, free: 30.26 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/1.906, allocations: 0.8499 MB / 0.8945 GB, free: 29.28 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003394/1.906, allocations: 192.2 kB / 0.8947 GB, free: 29.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/1.906, allocations: 12 kB / 0.8947 GB, free: 29.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005823/1.907, allocations: 35.81 kB / 0.8947 GB, free: 29.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.407e-05/1.907, allocations: 35.92 kB / 0.8948 GB, free: 28.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.409e-05/1.907, allocations: 23.98 kB / 0.8948 GB, free: 28.96 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006572/1.908, allocations: 443.1 kB / 0.8952 GB, free: 28.54 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.67e-07/1.908, allocations: 0 / 0.8952 GB, free: 28.54 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001093/1.909, allocations: 223.9 kB / 0.8954 GB, free: 28.32 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.0006229/1.909, allocations: 348.7 kB / 0.8958 GB, free: 27.99 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001098/1.911, allocations: 465.9 kB / 0.8962 GB, free: 27.54 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.057e-06/1.911, allocations: 4.375 kB / 0.8962 GB, free: 27.54 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003893/1.911, allocations: 167.8 kB / 0.8964 GB, free: 27.37 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/1.913, allocations: 303.5 kB / 0.8967 GB, free: 27.07 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/1.914, allocations: 0.9077 MB / 0.8975 GB, free: 26.11 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/1.915, allocations: 0.961 MB / 0.8985 GB, free: 25.12 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009002/1.916, allocations: 198.1 kB / 0.8987 GB, free: 24.92 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/1.916, allocations: 59.36 kB / 0.8987 GB, free: 24.86 MB / 0.5261 GB Notification: Performance of SimCode: time 1.518e-06/1.916, allocations: 0 / 0.8987 GB, free: 24.86 MB / 0.5261 GB Notification: Performance of Templates: time 0.0294/1.945, allocations: 13.28 MB / 0.9117 GB, free: 11.71 MB / 0.5261 GB