Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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|valveOpening.y|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|Valve.minLimiter.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH") Notification: Performance of loadModel(ModelicaTest): time 2.292/2.292, allocations: 235 MB / 247.2 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.373e-05/3.392e-05, allocations: 4 kB / 304.9 MB, free: 5.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4046, allocations: 54.85 MB / 359.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.55/6.954, allocations: 2.618 GB / 2.969 GB, free: 107.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/6.955, allocations: 89.17 kB / 2.969 GB, free: 107.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.791/8.745, allocations: 437.2 MB / 3.396 GB, free: 52.72 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.425e-06/8.745, allocations: 0 / 3.396 GB, free: 52.72 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.964e-05/8.745, allocations: 18.91 kB / 3.396 GB, free: 52.72 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.008754/8.754, allocations: 1.757 MB / 3.398 GB, free: 51.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/8.754, allocations: 11.12 kB / 3.398 GB, free: 51.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006438/8.761, allocations: 354.2 kB / 3.398 GB, free: 51.82 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002384/8.763, allocations: 0.5851 MB / 3.399 GB, free: 51.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/8.763, allocations: 48.83 kB / 3.399 GB, free: 51.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001868/8.764, allocations: 61.09 kB / 3.399 GB, free: 51.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005007/8.769, allocations: 0.9722 MB / 3.4 GB, free: 51.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.134e-05/8.769, allocations: 5.797 kB / 3.4 GB, free: 51.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001574/8.769, allocations: 26.31 kB / 3.4 GB, free: 51.34 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.434e-05/8.769, allocations: 24.38 kB / 3.4 GB, free: 51.34 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004655/8.774, allocations: 0.8066 MB / 3.401 GB, free: 51.34 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008718/8.782, allocations: 4.821 MB / 3.405 GB, free: 47.95 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002351/8.785, allocations: 0.6938 MB / 3.406 GB, free: 47.93 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004715/8.785, allocations: 221.1 kB / 3.406 GB, free: 47.92 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04585/8.831, allocations: 21.69 MB / 3.427 GB, free: 34.21 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/8.831, allocations: 41.47 kB / 3.427 GB, free: 34.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=46): time 4.061e-06/8.831, allocations: 0 / 3.427 GB, free: 34.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=63): time 0.03284/8.864, allocations: 3.789 MB / 3.431 GB, free: 33.57 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/8.864, allocations: 111.7 kB / 3.431 GB, free: 33.44 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/8.865, allocations: 428.3 kB / 3.432 GB, free: 33.31 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001885/8.866, allocations: 43.67 kB / 3.432 GB, free: 33.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/8.866, allocations: 351.4 kB / 3.432 GB, free: 33.08 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003016/8.866, allocations: 210.5 kB / 3.432 GB, free: 32.95 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/8.866, allocations: 16.5 kB / 3.432 GB, free: 32.95 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001712/8.867, allocations: 370.4 kB / 3.432 GB, free: 32.63 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/8.868, allocations: 279 kB / 3.433 GB, free: 32.56 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/8.869, allocations: 494.1 kB / 3.433 GB, free: 32.19 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/8.87, allocations: 338.8 kB / 3.434 GB, free: 32.06 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.667e-06/8.87, allocations: 0 / 3.434 GB, free: 32.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004568/8.875, allocations: 1.025 MB / 3.435 GB, free: 31.65 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006298/8.876, allocations: 2.448 MB / 3.437 GB, free: 29.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-05/8.876, allocations: 3.656 kB / 3.437 GB, free: 29.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008302/8.884, allocations: 0.8318 MB / 3.438 GB, free: 28.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/8.886, allocations: 166.2 kB / 3.438 GB, free: 28.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003747/8.889, allocations: 1.6 MB / 3.439 GB, free: 27.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002122/8.892, allocations: 109 kB / 3.44 GB, free: 27.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002206/8.892, allocations: 46.88 kB / 3.44 GB, free: 27.56 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/8.892, allocations: 3.844 kB / 3.44 GB, free: 27.56 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004644/8.897, allocations: 0.9613 MB / 3.441 GB, free: 27.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.959e-05/8.897, allocations: 7.906 kB / 3.441 GB, free: 27.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004683/8.901, allocations: 0.5467 MB / 3.441 GB, free: 27.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/8.903, allocations: 177 kB / 3.441 GB, free: 27.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00355/8.906, allocations: 1.563 MB / 3.443 GB, free: 25.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001916/8.908, allocations: 102.4 kB / 3.443 GB, free: 25.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001918/8.909, allocations: 45.27 kB / 3.443 GB, free: 25.77 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * 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 {2 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004293/8.909, allocations: 152.8 kB / 3.443 GB, free: 25.62 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003046/8.909, allocations: 62.75 kB / 3.443 GB, free: 25.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01082/8.92, allocations: 3.964 MB / 3.447 GB, free: 23.74 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.773e-05/8.92, allocations: 51.83 kB / 3.447 GB, free: 23.72 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/8.92, allocations: 0 / 3.447 GB, free: 23.72 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.571e-05/8.92, allocations: 3.234 kB / 3.447 GB, free: 23.72 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01285/8.933, allocations: 5.155 MB / 3.452 GB, free: 21.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/8.933, allocations: 0 / 3.452 GB, free: 21.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009885/8.934, allocations: 120.9 kB / 3.452 GB, free: 21.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009217/8.944, allocations: 1.748 MB / 3.454 GB, free: 20.82 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001805/8.944, allocations: 19.09 kB / 3.454 GB, free: 20.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004548/8.948, allocations: 2.371 MB / 3.456 GB, free: 19.17 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.386e-06/8.949, allocations: 3.953 kB / 3.456 GB, free: 19.17 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006282/8.955, allocations: 2.505 MB / 3.459 GB, free: 17.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009984/8.956, allocations: 347.4 kB / 3.459 GB, free: 17.63 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002564/8.956, allocations: 15.69 kB / 3.459 GB, free: 17.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001599/8.958, allocations: 106.7 kB / 3.459 GB, free: 17.59 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002671/8.958, allocations: 60.45 kB / 3.459 GB, free: 17.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001537/8.958, allocations: 33.64 kB / 3.459 GB, free: 17.58 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001008/8.959, allocations: 420.9 kB / 3.46 GB, free: 17.38 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.553e-06/8.959, allocations: 0 / 3.46 GB, free: 17.38 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01032/8.97, allocations: 1.575 MB / 3.461 GB, free: 17.05 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 {2 9,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01229/8.982, allocations: 1.86 MB / 3.463 GB, free: 16.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004537/8.987, allocations: 1.74 MB / 3.465 GB, free: 15.88 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.897e-06/8.987, allocations: 8.25 kB / 3.465 GB, free: 15.87 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00178/8.988, allocations: 1.02 MB / 3.466 GB, free: 15.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002075/8.991, allocations: 297.4 kB / 3.466 GB, free: 15.31 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4901/9.481, allocations: 77.44 MB / 3.542 GB, free: 63.14 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006661/9.481, allocations: 1.184 MB / 3.543 GB, free: 62.43 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001875/9.483, allocations: 0.6876 MB / 3.543 GB, free: 62.43 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/9.484, allocations: 61.16 kB / 3.543 GB, free: 62.42 MB / 0.4948 GB Notification: Performance of SimCode: time 1.915e-06/9.484, allocations: 2.344 kB / 3.544 GB, free: 62.42 MB / 0.4948 GB Notification: Performance of Templates: time 0.09521/9.579, allocations: 52.88 MB / 3.595 GB, free: 60.65 MB / 0.4948 GB