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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH") Notification: Performance of loadModel(ModelicaTest): time 2.381/2.381, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.143e-05/3.158e-05, allocations: 7.938 kB / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1125, allocations: 61.88 MB / 410.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.103/7.216, allocations: 2.792 GB / 3.193 GB, free: 71.95 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/7.216, allocations: 82.83 kB / 3.193 GB, free: 71.91 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.927/9.143, allocations: 444.4 MB / 3.627 GB, free: 46.45 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.199e-06/9.143, allocations: 0 / 3.627 GB, free: 46.45 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.647e-05/9.143, allocations: 26.84 kB / 3.627 GB, free: 46.43 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.005939/9.149, allocations: 1.751 MB / 3.628 GB, free: 44.79 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/9.149, allocations: 8.031 kB / 3.629 GB, free: 44.79 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00358/9.153, allocations: 361.1 kB / 3.629 GB, free: 44.52 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/9.154, allocations: 0.5786 MB / 3.629 GB, free: 43.99 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.413e-05/9.154, allocations: 48.92 kB / 3.629 GB, free: 43.95 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/9.154, allocations: 56 kB / 3.63 GB, free: 43.89 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002566/9.157, allocations: 0.979 MB / 3.63 GB, free: 42.87 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/9.157, allocations: 3.938 kB / 3.63 GB, free: 42.86 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.182e-05/9.157, allocations: 24 kB / 3.63 GB, free: 42.84 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.691e-05/9.157, allocations: 29.14 kB / 3.631 GB, free: 42.82 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002325/9.16, allocations: 0.8104 MB / 3.631 GB, free: 42 MB / 0.5261 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.005787/9.165, allocations: 4.914 MB / 3.636 GB, free: 36.69 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002265/9.168, allocations: 0.6947 MB / 3.637 GB, free: 35.99 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004245/9.168, allocations: 229.6 kB / 3.637 GB, free: 35.76 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04808/9.216, allocations: 24.29 MB / 3.661 GB, free: 8.578 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/9.216, allocations: 42.88 kB / 3.661 GB, free: 8.527 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=46): time 3.251e-06/9.216, allocations: 0 / 3.661 GB, free: 8.527 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46): time 0.004114/9.22, allocations: 1.064 MB / 3.662 GB, free: 7.453 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/9.22, allocations: 114.7 kB / 3.662 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006514/9.221, allocations: 448.8 kB / 3.662 GB, free: 6.867 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.114e-05/9.221, allocations: 37.7 kB / 3.662 GB, free: 6.824 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/9.221, allocations: 340 kB / 3.663 GB, free: 6.488 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/9.222, allocations: 156 kB / 3.663 GB, free: 6.34 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/9.222, allocations: 12 kB / 3.663 GB, free: 6.328 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.903e-05/9.222, allocations: 366.8 kB / 3.663 GB, free: 5.961 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003817/9.222, allocations: 173.5 kB / 3.663 GB, free: 5.793 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004589/9.223, allocations: 352 kB / 3.664 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004454/9.223, allocations: 217.7 kB / 3.664 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.158e-06/9.223, allocations: 0 / 3.664 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00151/9.225, allocations: 0.676 MB / 3.665 GB, free: 4.469 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000395/9.225, allocations: 2.003 MB / 3.667 GB, free: 2.312 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/9.225, allocations: 4 kB / 3.667 GB, free: 2.309 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00177/9.227, allocations: 272.6 kB / 3.667 GB, free: 2.039 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007316/9.228, allocations: 143.8 kB / 3.667 GB, free: 1.898 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/9.229, allocations: 0.7436 MB / 3.668 GB, free: 1.129 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/9.23, allocations: 115.4 kB / 3.668 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/9.23, allocations: 39.98 kB / 3.668 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/9.23, allocations: 4 kB / 3.668 GB, free: 0.9727 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001721/9.232, allocations: 0.6006 MB / 3.668 GB, free: 380 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/9.232, allocations: 4 kB / 3.668 GB, free: 376 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001261/9.233, allocations: 180.9 kB / 3.669 GB, free: 192 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007454/9.234, allocations: 143.8 kB / 3.669 GB, free: 48 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009924/9.235, allocations: 0.7045 MB / 3.669 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009805/9.236, allocations: 107.5 kB / 3.67 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.695e-05/9.236, allocations: 35.95 kB / 3.67 GB, free: 15.18 MB / 0.5417 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.0002863/9.236, allocations: 144.8 kB / 3.67 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/9.237, allocations: 63.25 kB / 3.67 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004995/9.242, allocations: 3.029 MB / 3.673 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.925e-05/9.242, allocations: 47.86 kB / 3.673 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/9.242, allocations: 3.953 kB / 3.673 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/9.242, allocations: 4 kB / 3.673 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002485/9.244, allocations: 1.469 MB / 3.674 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.964e-06/9.244, allocations: 0 / 3.674 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005079/9.245, allocations: 95.88 kB / 3.674 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002914/9.248, allocations: 1.161 MB / 3.675 GB, free: 9.102 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.12e-05/9.248, allocations: 19.98 kB / 3.675 GB, free: 9.082 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002116/9.25, allocations: 1.484 MB / 3.677 GB, free: 7.566 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/9.25, allocations: 0 / 3.677 GB, free: 7.566 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003515/9.254, allocations: 2.001 MB / 3.679 GB, free: 5.547 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000722/9.254, allocations: 338.6 kB / 3.679 GB, free: 5.195 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/9.255, allocations: 8 kB / 3.679 GB, free: 5.188 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007589/9.255, allocations: 87.77 kB / 3.679 GB, free: 5.102 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/9.255, allocations: 48.44 kB / 3.679 GB, free: 5.055 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.191e-05/9.256, allocations: 23.98 kB / 3.679 GB, free: 5.031 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008607/9.256, allocations: 459.2 kB / 3.68 GB, free: 4.578 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.96e-07/9.256, allocations: 0 / 3.68 GB, free: 4.578 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005963/9.262, allocations: 1.436 MB / 3.681 GB, free: 3.141 MB / 0.5417 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.009107/9.272, allocations: 1.738 MB / 3.683 GB, free: 1.582 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00323/9.275, allocations: 1.166 MB / 3.684 GB, free: 436 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/9.275, allocations: 0 / 3.684 GB, free: 436 kB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.3324/9.607, allocations: 0.7339 MB / 3.685 GB, free: 77.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002626/9.61, allocations: 305.7 kB / 3.685 GB, free: 77.79 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004147/9.614, allocations: 1.764 MB / 3.687 GB, free: 77.42 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009018/9.615, allocations: 1.166 MB / 3.688 GB, free: 76.71 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002062/9.617, allocations: 0.6905 MB / 3.689 GB, free: 76.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/9.617, allocations: 54.31 kB / 3.689 GB, free: 76.7 MB / 0.5417 GB Notification: Performance of SimCode: time 1.68e-06/9.617, allocations: 0 / 3.689 GB, free: 76.7 MB / 0.5417 GB Notification: Performance of Templates: time 0.0897/9.707, allocations: 45.54 MB / 3.733 GB, free: 75.77 MB / 0.5417 GB