Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.T|N_pump.y|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V1_Opening.y|V2_Opening.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation") Notification: Performance of loadModel(ModelicaTest): time 1.811/1.811, allocations: 209.3 MB / 221.9 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.468e-05/3.482e-05, allocations: 4 kB / 273.1 MB, free: 3.648 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08689/0.08695, allocations: 48.7 MB / 321.8 MB, free: 2.855 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8184/0.9054, allocations: 309.6 MB / 0.6165 GB, free: 61.15 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.9057, allocations: 84.58 kB / 0.6166 GB, free: 61.11 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6912/1.597, allocations: 162.9 MB / 0.7757 GB, free: 71.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.235e-06/1.597, allocations: 7.938 kB / 0.7757 GB, free: 71.65 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.55e-05/1.597, allocations: 16 kB / 0.7757 GB, free: 71.64 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002812/1.6, allocations: 1.041 MB / 0.7767 GB, free: 70.56 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/1.6, allocations: 8.031 kB / 0.7767 GB, free: 70.55 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005709/1.6, allocations: 94.97 kB / 0.7768 GB, free: 70.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/1.602, allocations: 0.625 MB / 0.7774 GB, free: 69.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/1.602, allocations: 41.31 kB / 0.7774 GB, free: 69.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/1.602, allocations: 54.58 kB / 0.7775 GB, free: 69.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/1.604, allocations: 0.7563 MB / 0.7782 GB, free: 68.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/1.604, allocations: 3.906 kB / 0.7782 GB, free: 68.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/1.604, allocations: 24 kB / 0.7783 GB, free: 68.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.046e-05/1.604, allocations: 21 kB / 0.7783 GB, free: 68.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/1.605, allocations: 0.6461 MB / 0.7789 GB, free: 68.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005371/1.611, allocations: 3.289 MB / 0.7821 GB, free: 64.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009936/1.612, allocations: 379.7 kB / 0.7825 GB, free: 64.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005537/1.612, allocations: 240.3 kB / 0.7827 GB, free: 64.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003505/1.613, allocations: 0.5735 MB / 0.7833 GB, free: 63.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/1.613, allocations: 42.56 kB / 0.7833 GB, free: 63.41 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009246/1.614, allocations: 125.6 kB / 0.7834 GB, free: 63.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 5.435e-06/1.614, allocations: 3.984 kB / 0.7834 GB, free: 63.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=71): time 0.04172/1.655, allocations: 6.025 MB / 0.7893 GB, free: 57.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/1.656, allocations: 111.6 kB / 0.7894 GB, free: 57.01 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007601/1.656, allocations: 499.5 kB / 0.7899 GB, free: 56.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001613/1.656, allocations: 41.7 kB / 0.7899 GB, free: 56.47 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/1.657, allocations: 408.4 kB / 0.7903 GB, free: 56.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/1.657, allocations: 242 kB / 0.7906 GB, free: 55.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.562e-05/1.657, allocations: 16 kB / 0.7906 GB, free: 55.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.826e-05/1.657, allocations: 346.8 kB / 0.7909 GB, free: 55.47 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007351/1.658, allocations: 309.9 kB / 0.7912 GB, free: 55.17 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008493/1.659, allocations: 0.5581 MB / 0.7918 GB, free: 54.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009892/1.66, allocations: 389.9 kB / 0.7921 GB, free: 54.12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.096e-06/1.66, allocations: 0 / 0.7921 GB, free: 54.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00281/1.663, allocations: 1.107 MB / 0.7932 GB, free: 53.01 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005805/1.663, allocations: 2.954 MB / 0.7961 GB, free: 49.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.111e-05/1.663, allocations: 19.92 kB / 0.7961 GB, free: 49.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008687/1.672, allocations: 1.172 MB / 0.7973 GB, free: 48.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/1.673, allocations: 255.6 kB / 0.7975 GB, free: 48.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002452/1.676, allocations: 1.576 MB / 0.799 GB, free: 46.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/1.678, allocations: 112 kB / 0.7991 GB, free: 46.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001882/1.678, allocations: 63.94 kB / 0.7992 GB, free: 46.58 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/1.678, allocations: 4.938 kB / 0.7992 GB, free: 46.57 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002928/1.681, allocations: 1.046 MB / 0.8002 GB, free: 45.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/1.681, allocations: 9 kB / 0.8002 GB, free: 45.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001939/1.683, allocations: 349.3 kB / 0.8006 GB, free: 45.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/1.684, allocations: 267.6 kB / 0.8008 GB, free: 44.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003534/1.688, allocations: 2.586 MB / 0.8034 GB, free: 42.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/1.689, allocations: 135.8 kB / 0.8035 GB, free: 42.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001893/1.689, allocations: 64.14 kB / 0.8035 GB, free: 41.97 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 77 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,3 16} Notification: Performance of prepare postOptimizeDAE: time 0.000308/1.69, allocations: 156.7 kB / 0.8037 GB, free: 41.81 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00032/1.69, allocations: 79.05 kB / 0.8038 GB, free: 41.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004321/1.694, allocations: 1.469 MB / 0.8052 GB, free: 40.24 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.387e-05/1.694, allocations: 15.98 kB / 0.8052 GB, free: 40.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/1.694, allocations: 4 kB / 0.8052 GB, free: 40.22 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-05/1.694, allocations: 3.984 kB / 0.8052 GB, free: 40.22 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006683/1.701, allocations: 2.438 MB / 0.8076 GB, free: 37.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.495e-06/1.701, allocations: 0 / 0.8076 GB, free: 37.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/1.702, allocations: 183.7 kB / 0.8078 GB, free: 37.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008002/1.71, allocations: 1.142 MB / 0.8089 GB, free: 36.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001812/1.711, allocations: 27.97 kB / 0.8089 GB, free: 36.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/1.712, allocations: 1.486 MB / 0.8104 GB, free: 34.85 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.455e-06/1.712, allocations: 0 / 0.8104 GB, free: 34.85 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004486/1.717, allocations: 1.679 MB / 0.812 GB, free: 33.15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000655/1.718, allocations: 259.8 kB / 0.8123 GB, free: 32.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002172/1.718, allocations: 16 kB / 0.8123 GB, free: 32.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/1.719, allocations: 111.9 kB / 0.8124 GB, free: 32.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/1.719, allocations: 68.61 kB / 0.8125 GB, free: 32.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001348/1.719, allocations: 43.97 kB / 0.8125 GB, free: 32.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005895/1.72, allocations: 379.2 kB / 0.8129 GB, free: 32.28 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.42e-07/1.72, allocations: 0 / 0.8129 GB, free: 32.28 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002701/1.723, allocations: 0.6637 MB / 0.8135 GB, free: 31.61 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pump.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001808/1.725, allocations: 0.5829 MB / 0.8141 GB, free: 31.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004639/1.729, allocations: 1.571 MB / 0.8156 GB, free: 29.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/1.729, allocations: 4 kB / 0.8156 GB, free: 29.47 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001195/1.73, allocations: 498.8 kB / 0.8161 GB, free: 28.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/1.732, allocations: 301.8 kB / 0.8164 GB, free: 28.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003132/1.735, allocations: 1.27 MB / 0.8176 GB, free: 27.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004423/1.736, allocations: 0.9966 MB / 0.8186 GB, free: 26.37 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005037/1.736, allocations: 99.3 kB / 0.8187 GB, free: 26.27 MB / 426.7 MB Notification: Performance of SimCode: time 1.723e-06/1.736, allocations: 0 / 0.8187 GB, free: 26.27 MB / 426.7 MB Notification: Performance of Templates: time 0.03407/1.771, allocations: 23.5 MB / 0.8416 GB, free: 2.781 MB / 426.7 MB