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.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH") Notification: Performance of loadModel(ModelicaTest): time 2.343/2.343, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.636e-05/3.652e-05, allocations: 4 kB / 323.4 MB, free: 4.312 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3266, allocations: 58.84 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.654/6.981, allocations: 2.787 GB / 3.16 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/6.981, allocations: 82.02 kB / 3.16 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.795/8.776, allocations: 439.7 MB / 3.589 GB, free: 63.33 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.956e-06/8.776, allocations: 0 / 3.589 GB, free: 63.33 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.621e-05/8.777, allocations: 25.12 kB / 3.589 GB, free: 63.33 MB / 0.5105 GB 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.005687/8.782, allocations: 1.757 MB / 3.591 GB, free: 62.52 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.996e-05/8.782, allocations: 11.38 kB / 3.591 GB, free: 62.52 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003626/8.786, allocations: 356 kB / 3.591 GB, free: 62.48 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/8.787, allocations: 0.5716 MB / 3.592 GB, free: 62.22 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.394e-05/8.787, allocations: 46.78 kB / 3.592 GB, free: 62.22 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/8.787, allocations: 61.36 kB / 3.592 GB, free: 62.22 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002539/8.79, allocations: 0.9866 MB / 3.593 GB, free: 62.02 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/8.79, allocations: 3.031 kB / 3.593 GB, free: 62.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.35e-05/8.79, allocations: 26.56 kB / 3.593 GB, free: 62.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.735e-05/8.79, allocations: 21.81 kB / 3.593 GB, free: 62.02 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002691/8.793, allocations: 0.806 MB / 3.594 GB, free: 62.02 MB / 0.5105 GB 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.005977/8.799, allocations: 4.923 MB / 3.599 GB, free: 58.62 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002335/8.801, allocations: 0.6916 MB / 3.599 GB, free: 58.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004314/8.802, allocations: 233.2 kB / 3.6 GB, free: 58.58 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05437/8.856, allocations: 24.29 MB / 3.623 GB, free: 43.83 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/8.856, allocations: 38.5 kB / 3.623 GB, free: 43.79 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=46): time 3.778e-06/8.856, allocations: 0 / 3.623 GB, free: 43.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46): time 0.004489/8.861, allocations: 1.073 MB / 3.624 GB, free: 43.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/8.861, allocations: 109.4 kB / 3.624 GB, free: 43.58 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007035/8.861, allocations: 454.6 kB / 3.625 GB, free: 43.46 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.014e-05/8.861, allocations: 29.45 kB / 3.625 GB, free: 43.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/8.862, allocations: 344.1 kB / 3.625 GB, free: 43.26 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/8.862, allocations: 155.6 kB / 3.625 GB, free: 43.16 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-05/8.862, allocations: 14.22 kB / 3.625 GB, free: 43.16 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001086/8.862, allocations: 370.8 kB / 3.626 GB, free: 42.84 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004152/8.863, allocations: 173.2 kB / 3.626 GB, free: 42.84 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005007/8.863, allocations: 357.7 kB / 3.626 GB, free: 42.63 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004779/8.864, allocations: 216.9 kB / 3.627 GB, free: 42.61 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.692e-06/8.864, allocations: 0 / 3.627 GB, free: 42.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00156/8.865, allocations: 0.6605 MB / 3.627 GB, free: 42.53 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004083/8.866, allocations: 2.005 MB / 3.629 GB, free: 40.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/8.866, allocations: 3.719 kB / 3.629 GB, free: 40.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001929/8.867, allocations: 266.1 kB / 3.629 GB, free: 40.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007464/8.868, allocations: 142.3 kB / 3.63 GB, free: 40.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/8.87, allocations: 0.754 MB / 3.63 GB, free: 39.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/8.871, allocations: 114.3 kB / 3.63 GB, free: 39.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.819e-05/8.871, allocations: 36.95 kB / 3.63 GB, free: 39.85 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/8.871, allocations: 3.906 kB / 3.63 GB, free: 39.85 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001518/8.872, allocations: 0.5939 MB / 3.631 GB, free: 39.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/8.872, allocations: 3.25 kB / 3.631 GB, free: 39.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/8.873, allocations: 180 kB / 3.631 GB, free: 39.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006599/8.874, allocations: 152.1 kB / 3.631 GB, free: 39.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007004/8.875, allocations: 0.7117 MB / 3.632 GB, free: 39.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009303/8.876, allocations: 104.5 kB / 3.632 GB, free: 39.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.179e-05/8.876, allocations: 43.55 kB / 3.632 GB, free: 39.23 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (58): * Single equations (assignments): 57 * 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 {2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001974/8.876, allocations: 140.4 kB / 3.632 GB, free: 39.12 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/8.876, allocations: 62.72 kB / 3.632 GB, free: 39.09 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003915/8.88, allocations: 3.04 MB / 3.635 GB, free: 38.73 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.22e-05/8.88, allocations: 44.78 kB / 3.635 GB, free: 38.73 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.367e-06/8.88, allocations: 0 / 3.635 GB, free: 38.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/8.88, allocations: 3.656 kB / 3.635 GB, free: 38.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00185/8.882, allocations: 1.47 MB / 3.637 GB, free: 38.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/8.882, allocations: 7.812 kB / 3.637 GB, free: 38.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005224/8.883, allocations: 97.83 kB / 3.637 GB, free: 38.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002661/8.885, allocations: 1.165 MB / 3.638 GB, free: 38.11 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.216e-05/8.885, allocations: 15.33 kB / 3.638 GB, free: 38.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001566/8.887, allocations: 1.481 MB / 3.639 GB, free: 37.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/8.887, allocations: 64 / 3.639 GB, free: 37.14 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002747/8.89, allocations: 1.997 MB / 3.641 GB, free: 36.14 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005342/8.89, allocations: 334.1 kB / 3.642 GB, free: 35.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/8.891, allocations: 15.3 kB / 3.642 GB, free: 35.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008081/8.891, allocations: 89.34 kB / 3.642 GB, free: 35.85 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/8.891, allocations: 51.05 kB / 3.642 GB, free: 35.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.32e-05/8.892, allocations: 25.39 kB / 3.642 GB, free: 35.84 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006565/8.892, allocations: 451.5 kB / 3.642 GB, free: 35.62 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.59e-07/8.892, allocations: 0 / 3.642 GB, free: 35.62 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004976/8.897, allocations: 1.432 MB / 3.644 GB, free: 35.31 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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,$cse20.phase,$cse20.region,$cse21.phase,$cse21.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 (45): * Single equations (assignments): 35 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.00809/8.905, allocations: 1.722 MB / 3.645 GB, free: 34.88 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002768/8.908, allocations: 1.16 MB / 3.647 GB, free: 34.48 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.662e-06/8.908, allocations: 0 / 3.647 GB, free: 34.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/8.909, allocations: 0.7341 MB / 3.647 GB, free: 34.14 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/8.911, allocations: 323.9 kB / 3.648 GB, free: 34.05 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003065/8.914, allocations: 1.768 MB / 3.649 GB, free: 33.27 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006334/8.915, allocations: 1.167 MB / 3.65 GB, free: 32.53 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001652/8.917, allocations: 0.6777 MB / 3.651 GB, free: 32.49 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/8.917, allocations: 59.34 kB / 3.651 GB, free: 32.47 MB / 0.5105 GB Notification: Performance of SimCode: time 1.756e-06/8.917, allocations: 0 / 3.651 GB, free: 32.47 MB / 0.5105 GB Notification: Performance of Templates: time 0.08567/9.003, allocations: 45.44 MB / 3.696 GB, free: 11.99 MB / 0.5105 GB