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.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH") Notification: Performance of loadModel(ModelicaTest): time 1.873/1.873, allocations: 209.3 MB / 221.5 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.233e-05/3.238e-05, allocations: 8 kB / 273.1 MB, free: 3.16 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08698/0.08704, allocations: 48.69 MB / 321.8 MB, free: 2.383 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.603/6.69, allocations: 2.507 GB / 2.821 GB, free: 102.2 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/6.69, allocations: 82.03 kB / 2.821 GB, free: 102.2 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703/8.393, allocations: 426.3 MB / 3.238 GB, free: 44.23 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.366e-06/8.393, allocations: 0 / 3.238 GB, free: 44.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.593e-05/8.393, allocations: 20.86 kB / 3.238 GB, free: 44.23 MB / 442.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.005775/8.399, allocations: 1.721 MB / 3.239 GB, free: 43.22 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/8.399, allocations: 7.844 kB / 3.239 GB, free: 43.22 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003841/8.403, allocations: 339.4 kB / 3.24 GB, free: 43.15 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001523/8.404, allocations: 0.5831 MB / 3.24 GB, free: 42.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.036e-05/8.404, allocations: 52.69 kB / 3.24 GB, free: 42.75 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/8.404, allocations: 55.83 kB / 3.24 GB, free: 42.73 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002787/8.407, allocations: 0.9696 MB / 3.241 GB, free: 42.29 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.203e-05/8.407, allocations: 0 / 3.241 GB, free: 42.29 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-05/8.407, allocations: 31.02 kB / 3.241 GB, free: 42.26 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.22e-05/8.407, allocations: 31.02 kB / 3.241 GB, free: 42.26 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002663/8.41, allocations: 0.8002 MB / 3.242 GB, free: 42.02 MB / 442.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.006057/8.416, allocations: 4.831 MB / 3.247 GB, free: 37.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002511/8.419, allocations: 0.6825 MB / 3.247 GB, free: 37.77 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004495/8.419, allocations: 224 kB / 3.248 GB, free: 37.67 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04528/8.465, allocations: 21.65 MB / 3.269 GB, free: 23.08 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/8.465, allocations: 42.5 kB / 3.269 GB, free: 23.04 MB / 442.7 MB Notification: Performance of pre-optimization done (n=46): time 3.893e-06/8.465, allocations: 0 / 3.269 GB, free: 23.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=63): time 0.02738/8.492, allocations: 3.8 MB / 3.273 GB, free: 21.87 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/8.492, allocations: 107 kB / 3.273 GB, free: 21.74 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006773/8.493, allocations: 432.8 kB / 3.273 GB, free: 21.53 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001135/8.493, allocations: 41.58 kB / 3.273 GB, free: 21.49 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/8.493, allocations: 344.4 kB / 3.273 GB, free: 21.21 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/8.493, allocations: 219.7 kB / 3.274 GB, free: 21.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-05/8.493, allocations: 15.75 kB / 3.274 GB, free: 21.03 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/8.494, allocations: 369.9 kB / 3.274 GB, free: 20.69 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006598/8.494, allocations: 283.7 kB / 3.274 GB, free: 20.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007197/8.495, allocations: 491 kB / 3.275 GB, free: 19.9 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008186/8.496, allocations: 344 kB / 3.275 GB, free: 19.6 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.604e-06/8.496, allocations: 0 / 3.275 GB, free: 19.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00249/8.498, allocations: 1.014 MB / 3.276 GB, free: 18.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004835/8.499, allocations: 2.443 MB / 3.279 GB, free: 16.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/8.499, allocations: 4 kB / 3.279 GB, free: 16.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004678/8.504, allocations: 0.8241 MB / 3.279 GB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008281/8.504, allocations: 164.9 kB / 3.279 GB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/8.507, allocations: 1.602 MB / 3.281 GB, free: 13.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/8.508, allocations: 108.4 kB / 3.281 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/8.508, allocations: 45.95 kB / 3.281 GB, free: 13.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/8.508, allocations: 4 kB / 3.281 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002566/8.511, allocations: 0.9656 MB / 3.282 GB, free: 12.67 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/8.511, allocations: 8 kB / 3.282 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002656/8.513, allocations: 0.552 MB / 3.283 GB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008206/8.514, allocations: 167.5 kB / 3.283 GB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/8.516, allocations: 1.57 MB / 3.284 GB, free: 10.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/8.518, allocations: 100.1 kB / 3.284 GB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/8.518, allocations: 46.8 kB / 3.285 GB, free: 10.41 MB / 442.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.0002814/8.518, allocations: 148.8 kB / 3.285 GB, free: 10.26 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/8.518, allocations: 67.16 kB / 3.285 GB, free: 10.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01005/8.528, allocations: 3.962 MB / 3.289 GB, free: 6.625 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.209e-05/8.528, allocations: 41.58 kB / 3.289 GB, free: 6.602 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/8.529, allocations: 0 / 3.289 GB, free: 6.602 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.659e-05/8.529, allocations: 2.766 kB / 3.289 GB, free: 6.602 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009699/8.538, allocations: 5.156 MB / 3.294 GB, free: 2.023 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/8.538, allocations: 3.938 kB / 3.294 GB, free: 2.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005585/8.539, allocations: 121.2 kB / 3.294 GB, free: 1.922 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005338/8.544, allocations: 1.745 MB / 3.295 GB, free: 0.4922 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001371/8.544, allocations: 23.61 kB / 3.296 GB, free: 484 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003508/8.548, allocations: 2.366 MB / 3.298 GB, free: 14.19 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.32e-06/8.548, allocations: 4.031 kB / 3.298 GB, free: 14.19 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004583/8.553, allocations: 2.5 MB / 3.3 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000746/8.553, allocations: 352.7 kB / 3.301 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001981/8.554, allocations: 12 kB / 3.301 GB, free: 11.49 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009127/8.555, allocations: 104.3 kB / 3.301 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/8.555, allocations: 60.64 kB / 3.301 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.837e-05/8.555, allocations: 27.38 kB / 3.301 GB, free: 11.35 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007592/8.556, allocations: 420.9 kB / 3.301 GB, free: 10.98 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.45e-07/8.556, allocations: 0 / 3.301 GB, free: 10.98 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006353/8.562, allocations: 1.564 MB / 3.303 GB, free: 9.449 MB / 458.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.009284/8.571, allocations: 1.859 MB / 3.305 GB, free: 7.988 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004703/8.576, allocations: 1.748 MB / 3.306 GB, free: 6.352 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.721e-06/8.576, allocations: 4.188 kB / 3.306 GB, free: 6.348 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001998/8.578, allocations: 1.027 MB / 3.307 GB, free: 5.387 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/8.58, allocations: 298.6 kB / 3.308 GB, free: 5.168 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4525/9.033, allocations: 75.9 MB / 3.382 GB, free: 57.11 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006496/9.033, allocations: 1.184 MB / 3.383 GB, free: 56.38 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001785/9.035, allocations: 0.6842 MB / 3.383 GB, free: 56.35 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/9.035, allocations: 63.58 kB / 3.384 GB, free: 56.35 MB / 458.7 MB Notification: Performance of SimCode: time 2.636e-06/9.035, allocations: 0 / 3.384 GB, free: 56.35 MB / 458.7 MB Notification: Performance of Templates: time 0.09094/9.126, allocations: 52.69 MB / 3.435 GB, free: 41.4 MB / 458.7 MB