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.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation") Notification: Performance of loadModel(ModelicaTest): time 2.103/2.103, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.945e-05/2.949e-05, allocations: 4 kB / 304.9 MB, free: 5.656 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.312, allocations: 54.85 MB / 359.8 MB, free: 2.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6253/0.9373, allocations: 315.8 MB / 0.6598 GB, free: 18.75 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.9376, allocations: 88.39 kB / 0.6598 GB, free: 18.7 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.696/1.634, allocations: 163 MB / 0.819 GB, free: 65.66 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.154e-06/1.634, allocations: 0 / 0.819 GB, free: 65.66 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.509e-05/1.634, allocations: 16 kB / 0.819 GB, free: 65.64 MB / 474.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.002444/1.636, allocations: 1.042 MB / 0.8201 GB, free: 64.56 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/1.636, allocations: 12.03 kB / 0.8201 GB, free: 64.55 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004412/1.637, allocations: 98.95 kB / 0.8202 GB, free: 64.45 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/1.638, allocations: 0.6168 MB / 0.8208 GB, free: 63.79 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.032e-05/1.638, allocations: 45.2 kB / 0.8208 GB, free: 63.74 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/1.638, allocations: 59.91 kB / 0.8209 GB, free: 63.68 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/1.639, allocations: 0.7529 MB / 0.8216 GB, free: 62.88 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/1.64, allocations: 7.938 kB / 0.8216 GB, free: 62.87 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.89e-05/1.64, allocations: 23.98 kB / 0.8216 GB, free: 62.85 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.288e-05/1.64, allocations: 21 kB / 0.8217 GB, free: 62.83 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/1.641, allocations: 0.6383 MB / 0.8223 GB, free: 62.19 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004617/1.646, allocations: 3.298 MB / 0.8255 GB, free: 58.72 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008965/1.647, allocations: 383.5 kB / 0.8259 GB, free: 58.34 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005252/1.647, allocations: 241.5 kB / 0.8261 GB, free: 58.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000312/1.647, allocations: 0.5719 MB / 0.8267 GB, free: 57.4 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/1.647, allocations: 42.55 kB / 0.8267 GB, free: 57.35 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007323/1.648, allocations: 115.5 kB / 0.8268 GB, free: 57.24 MB / 474.7 MB Notification: Performance of pre-optimization done (n=45): time 3.505e-06/1.648, allocations: 0 / 0.8268 GB, free: 57.24 MB / 474.7 MB Notification: Performance of matching and sorting (n=71): time 0.04439/1.693, allocations: 6.026 MB / 0.8327 GB, free: 51.07 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/1.693, allocations: 111.6 kB / 0.8328 GB, free: 50.93 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006942/1.693, allocations: 499.4 kB / 0.8333 GB, free: 50.44 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.06e-05/1.694, allocations: 37.7 kB / 0.8333 GB, free: 50.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/1.694, allocations: 410.1 kB / 0.8337 GB, free: 49.99 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/1.694, allocations: 236.5 kB / 0.8339 GB, free: 49.76 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-05/1.694, allocations: 16 kB / 0.8339 GB, free: 49.74 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.437e-05/1.694, allocations: 351.2 kB / 0.8343 GB, free: 49.39 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007096/1.695, allocations: 317.9 kB / 0.8346 GB, free: 49.08 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008133/1.696, allocations: 0.558 MB / 0.8351 GB, free: 48.41 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008786/1.697, allocations: 385.9 kB / 0.8355 GB, free: 48.03 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.236e-06/1.697, allocations: 8 kB / 0.8355 GB, free: 48.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002647/1.699, allocations: 1.095 MB / 0.8366 GB, free: 46.91 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000546/1.7, allocations: 2.966 MB / 0.8395 GB, free: 43.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/1.7, allocations: 11.94 kB / 0.8395 GB, free: 43.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009264/1.709, allocations: 1.175 MB / 0.8406 GB, free: 42.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/1.71, allocations: 247.6 kB / 0.8409 GB, free: 42.28 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002216/1.713, allocations: 1.573 MB / 0.8424 GB, free: 40.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/1.714, allocations: 119.9 kB / 0.8425 GB, free: 40.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/1.714, allocations: 63.95 kB / 0.8426 GB, free: 40.48 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/1.714, allocations: 4 kB / 0.8426 GB, free: 40.47 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002662/1.717, allocations: 1.051 MB / 0.8436 GB, free: 39.42 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/1.717, allocations: 8 kB / 0.8436 GB, free: 39.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00167/1.719, allocations: 349.8 kB / 0.8439 GB, free: 39.06 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/1.72, allocations: 271.6 kB / 0.8442 GB, free: 38.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003206/1.723, allocations: 2.578 MB / 0.8467 GB, free: 36.05 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/1.724, allocations: 123.8 kB / 0.8468 GB, free: 35.93 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/1.725, allocations: 55.95 kB / 0.8469 GB, free: 35.88 MB / 474.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.0002518/1.725, allocations: 168.6 kB / 0.8471 GB, free: 35.71 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/1.725, allocations: 75.06 kB / 0.8471 GB, free: 35.63 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003933/1.729, allocations: 1.473 MB / 0.8486 GB, free: 34.15 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/1.729, allocations: 11.94 kB / 0.8486 GB, free: 34.14 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.83e-06/1.729, allocations: 4 kB / 0.8486 GB, free: 34.13 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/1.729, allocations: 3.984 kB / 0.8486 GB, free: 34.13 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006022/1.735, allocations: 2.423 MB / 0.8509 GB, free: 31.64 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.273e-06/1.735, allocations: 7.938 kB / 0.851 GB, free: 31.63 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/1.736, allocations: 187.7 kB / 0.8511 GB, free: 31.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00777/1.744, allocations: 1.155 MB / 0.8523 GB, free: 30.29 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.3e-05/1.744, allocations: 27.97 kB / 0.8523 GB, free: 30.26 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00164/1.746, allocations: 1.479 MB / 0.8537 GB, free: 28.73 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.536e-06/1.746, allocations: 0 / 0.8537 GB, free: 28.73 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004248/1.75, allocations: 1.68 MB / 0.8554 GB, free: 27.02 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004654/1.751, allocations: 255.9 kB / 0.8556 GB, free: 26.75 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/1.751, allocations: 19.95 kB / 0.8556 GB, free: 26.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/1.752, allocations: 111.9 kB / 0.8557 GB, free: 26.62 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/1.752, allocations: 60.69 kB / 0.8558 GB, free: 26.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/1.752, allocations: 43.97 kB / 0.8558 GB, free: 26.52 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005092/1.753, allocations: 375.2 kB / 0.8562 GB, free: 26.16 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.47e-07/1.753, allocations: 0 / 0.8562 GB, free: 26.16 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002345/1.755, allocations: 0.6792 MB / 0.8569 GB, free: 25.48 MB / 474.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.001464/1.756, allocations: 0.5778 MB / 0.8574 GB, free: 24.91 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004041/1.761, allocations: 1.582 MB / 0.859 GB, free: 23.33 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.855e-06/1.761, allocations: 0 / 0.859 GB, free: 23.33 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001089/1.762, allocations: 0.4911 MB / 0.8595 GB, free: 22.84 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/1.763, allocations: 300.6 kB / 0.8597 GB, free: 22.54 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002784/1.766, allocations: 1.263 MB / 0.861 GB, free: 21.25 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/1.767, allocations: 1.001 MB / 0.862 GB, free: 20.21 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004235/1.767, allocations: 95.3 kB / 0.862 GB, free: 20.12 MB / 474.7 MB Notification: Performance of SimCode: time 1.633e-06/1.767, allocations: 4 kB / 0.862 GB, free: 20.11 MB / 474.7 MB Notification: Performance of Templates: time 0.2874/2.054, allocations: 23.51 MB / 0.885 GB, free: 97.48 MB / 474.7 MB