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_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH") Notification: Performance of loadModel(ModelicaTest): time 1.844/1.844, allocations: 209.3 MB / 221.9 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.778e-05/2.764e-05, allocations: 7.984 kB / 273.1 MB, free: 3.641 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08467/0.08472, allocations: 48.69 MB / 321.8 MB, free: 2.852 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.131/6.216, allocations: 2.507 GB / 2.821 GB, free: 101.3 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/6.217, allocations: 89.03 kB / 2.821 GB, free: 101.3 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.766/7.983, allocations: 426.3 MB / 3.238 GB, free: 44.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.874e-06/7.983, allocations: 3.328 kB / 3.238 GB, free: 44.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.955e-05/7.983, allocations: 22.97 kB / 3.238 GB, free: 44.29 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.00597/7.989, allocations: 1.705 MB / 3.239 GB, free: 43.3 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/7.989, allocations: 14 kB / 3.239 GB, free: 43.29 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003531/7.993, allocations: 344.6 kB / 3.24 GB, free: 43.22 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/7.994, allocations: 0.5787 MB / 3.24 GB, free: 42.85 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.82e-05/7.994, allocations: 52.03 kB / 3.24 GB, free: 42.82 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/7.994, allocations: 61.48 kB / 3.24 GB, free: 42.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002654/7.997, allocations: 0.9684 MB / 3.241 GB, free: 42.36 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/7.997, allocations: 2.812 kB / 3.241 GB, free: 42.36 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.782e-05/7.997, allocations: 30.08 kB / 3.241 GB, free: 42.33 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.885e-05/7.997, allocations: 25.58 kB / 3.241 GB, free: 42.33 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002673/8, allocations: 0.8035 MB / 3.242 GB, free: 42.1 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.00614/8.006, allocations: 4.835 MB / 3.247 GB, free: 38.05 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002333/8.008, allocations: 0.6729 MB / 3.247 GB, free: 37.84 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004643/8.009, allocations: 226.2 kB / 3.248 GB, free: 37.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04726/8.056, allocations: 21.65 MB / 3.269 GB, free: 23.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/8.056, allocations: 38.41 kB / 3.269 GB, free: 23.16 MB / 442.7 MB Notification: Performance of pre-optimization done (n=46): time 3.715e-06/8.056, allocations: 0 / 3.269 GB, free: 23.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=63): time 0.02719/8.084, allocations: 3.8 MB / 3.273 GB, free: 21.99 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/8.084, allocations: 110.6 kB / 3.273 GB, free: 21.86 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006663/8.084, allocations: 433.2 kB / 3.273 GB, free: 21.54 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001074/8.084, allocations: 37.7 kB / 3.273 GB, free: 21.49 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/8.085, allocations: 380.1 kB / 3.273 GB, free: 21.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/8.085, allocations: 219.2 kB / 3.274 GB, free: 20.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.93e-05/8.085, allocations: 16 kB / 3.274 GB, free: 20.93 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.503e-05/8.085, allocations: 336.8 kB / 3.274 GB, free: 20.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006589/8.086, allocations: 279.7 kB / 3.274 GB, free: 20.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007383/8.086, allocations: 491.8 kB / 3.275 GB, free: 19.79 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008507/8.087, allocations: 342.5 kB / 3.275 GB, free: 19.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.223e-06/8.087, allocations: 0 / 3.275 GB, free: 19.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002562/8.09, allocations: 0.9848 MB / 3.276 GB, free: 18.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004815/8.09, allocations: 2.443 MB / 3.278 GB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/8.09, allocations: 8 kB / 3.278 GB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004842/8.095, allocations: 0.8252 MB / 3.279 GB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009123/8.096, allocations: 166.2 kB / 3.279 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00232/8.099, allocations: 1.601 MB / 3.281 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/8.1, allocations: 103 kB / 3.281 GB, free: 13.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/8.1, allocations: 51.69 kB / 3.281 GB, free: 13.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/8.1, allocations: 4 kB / 3.281 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002801/8.103, allocations: 0.962 MB / 3.282 GB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/8.103, allocations: 7.938 kB / 3.282 GB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002625/8.106, allocations: 0.5169 MB / 3.283 GB, free: 12.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000853/8.106, allocations: 167.3 kB / 3.283 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/8.108, allocations: 1.546 MB / 3.284 GB, free: 10.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009829/8.109, allocations: 110.3 kB / 3.284 GB, free: 10.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/8.11, allocations: 47.31 kB / 3.284 GB, free: 10.37 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.0002718/8.11, allocations: 149.5 kB / 3.285 GB, free: 10.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002107/8.11, allocations: 67.25 kB / 3.285 GB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006023/8.116, allocations: 3.959 MB / 3.288 GB, free: 6.582 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-05/8.116, allocations: 46.47 kB / 3.289 GB, free: 6.555 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.4e-06/8.116, allocations: 0 / 3.289 GB, free: 6.555 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.549e-05/8.116, allocations: 3.703 kB / 3.289 GB, free: 6.555 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007062/8.123, allocations: 5.155 MB / 3.294 GB, free: 1.977 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.738e-06/8.123, allocations: 3.938 kB / 3.294 GB, free: 1.973 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005507/8.124, allocations: 122 kB / 3.294 GB, free: 1.875 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00566/8.13, allocations: 1.75 MB / 3.295 GB, free: 452 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/8.13, allocations: 19.28 kB / 3.295 GB, free: 436 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003412/8.133, allocations: 2.37 MB / 3.298 GB, free: 14.14 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/8.133, allocations: 32 / 3.298 GB, free: 14.14 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00456/8.138, allocations: 2.493 MB / 3.3 GB, free: 11.78 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007257/8.139, allocations: 352.2 kB / 3.3 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/8.139, allocations: 20 kB / 3.301 GB, free: 11.44 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009011/8.14, allocations: 97.84 kB / 3.301 GB, free: 11.37 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/8.14, allocations: 61.75 kB / 3.301 GB, free: 11.33 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.895e-05/8.14, allocations: 34.7 kB / 3.301 GB, free: 11.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007494/8.141, allocations: 423 kB / 3.301 GB, free: 10.92 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.59e-07/8.141, allocations: 0 / 3.301 GB, free: 10.92 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00626/8.147, allocations: 1.567 MB / 3.303 GB, free: 9.395 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.008881/8.156, allocations: 1.85 MB / 3.304 GB, free: 7.938 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004524/8.161, allocations: 1.725 MB / 3.306 GB, free: 6.324 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.319e-06/8.161, allocations: 0 / 3.306 GB, free: 6.324 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001997/8.163, allocations: 1.015 MB / 3.307 GB, free: 5.375 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001912/8.164, allocations: 302.4 kB / 3.307 GB, free: 5.16 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4598/8.624, allocations: 75.94 MB / 3.382 GB, free: 56.93 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006591/8.625, allocations: 1.183 MB / 3.383 GB, free: 56.21 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003178/8.625, allocations: 72.98 kB / 3.383 GB, free: 56.21 MB / 458.7 MB Notification: Performance of SimCode: time 2.111e-06/8.625, allocations: 0 / 3.383 GB, free: 56.21 MB / 458.7 MB Notification: Performance of Templates: time 0.06884/8.694, allocations: 45.83 MB / 3.428 GB, free: 49.27 MB / 458.7 MB