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_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH") Notification: Performance of loadModel(ModelicaTest): time 2.124/2.124, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.766e-05/3.77e-05, allocations: 7.984 kB / 304.9 MB, free: 5.641 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3241, allocations: 54.85 MB / 359.8 MB, free: 2.676 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.735/6.059, allocations: 2.618 GB / 2.969 GB, free: 60.74 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/6.059, allocations: 83.95 kB / 2.969 GB, free: 60.66 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.758/7.817, allocations: 437.1 MB / 3.396 GB, free: 12.88 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.182e-06/7.817, allocations: 0 / 3.396 GB, free: 12.88 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.151e-05/7.817, allocations: 27.84 kB / 3.396 GB, free: 12.86 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.005295/7.823, allocations: 1.761 MB / 3.398 GB, free: 11.05 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/7.823, allocations: 11.97 kB / 3.398 GB, free: 11.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003368/7.826, allocations: 346.8 kB / 3.398 GB, free: 10.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/7.827, allocations: 0.5947 MB / 3.399 GB, free: 10.08 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.057e-05/7.827, allocations: 53.25 kB / 3.399 GB, free: 10.03 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/7.828, allocations: 55.91 kB / 3.399 GB, free: 9.977 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002417/7.83, allocations: 0.971 MB / 3.4 GB, free: 8.938 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/7.83, allocations: 0 / 3.4 GB, free: 8.938 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.19e-05/7.83, allocations: 24 kB / 3.4 GB, free: 8.914 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.362e-05/7.83, allocations: 25.31 kB / 3.4 GB, free: 8.891 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00227/7.833, allocations: 0.8066 MB / 3.4 GB, free: 8.082 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.00499/7.838, allocations: 4.831 MB / 3.405 GB, free: 2.84 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002145/7.84, allocations: 0.6838 MB / 3.406 GB, free: 2.148 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004021/7.84, allocations: 221.6 kB / 3.406 GB, free: 1.93 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3355/8.176, allocations: 21.69 MB / 3.427 GB, free: 36.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/8.176, allocations: 38.53 kB / 3.427 GB, free: 36.36 MB / 490.7 MB Notification: Performance of pre-optimization done (n=46): time 3.487e-06/8.176, allocations: 0 / 3.427 GB, free: 36.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=63): time 0.02599/8.202, allocations: 3.789 MB / 3.431 GB, free: 35.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/8.202, allocations: 113.1 kB / 3.431 GB, free: 35.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000688/8.202, allocations: 427.2 kB / 3.431 GB, free: 35.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.582e-05/8.203, allocations: 37.2 kB / 3.432 GB, free: 35.65 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/8.203, allocations: 387.4 kB / 3.432 GB, free: 35.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/8.203, allocations: 215.5 kB / 3.432 GB, free: 35.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.564e-05/8.203, allocations: 21.06 kB / 3.432 GB, free: 35.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.774e-05/8.203, allocations: 340.9 kB / 3.432 GB, free: 35 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006536/8.204, allocations: 281.9 kB / 3.433 GB, free: 35 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007731/8.205, allocations: 487.8 kB / 3.433 GB, free: 34.76 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008349/8.205, allocations: 340.6 kB / 3.434 GB, free: 34.76 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.189e-06/8.205, allocations: 1.969 kB / 3.434 GB, free: 34.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002591/8.208, allocations: 0.9899 MB / 3.434 GB, free: 34.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004856/8.209, allocations: 2.444 MB / 3.437 GB, free: 32.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/8.209, allocations: 6.031 kB / 3.437 GB, free: 32.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005258/8.214, allocations: 0.8225 MB / 3.438 GB, free: 32.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000914/8.215, allocations: 169.3 kB / 3.438 GB, free: 32.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002368/8.217, allocations: 1.6 MB / 3.439 GB, free: 31.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/8.219, allocations: 105.6 kB / 3.44 GB, free: 31.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/8.219, allocations: 50.81 kB / 3.44 GB, free: 31.08 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/8.219, allocations: 4.062 kB / 3.44 GB, free: 31.08 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002801/8.222, allocations: 0.9635 MB / 3.44 GB, free: 31.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/8.222, allocations: 8.406 kB / 3.441 GB, free: 31.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002659/8.224, allocations: 0.5135 MB / 3.441 GB, free: 31.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008025/8.225, allocations: 174.8 kB / 3.441 GB, free: 31.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/8.227, allocations: 1.537 MB / 3.443 GB, free: 30 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009417/8.228, allocations: 108.8 kB / 3.443 GB, free: 29.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/8.228, allocations: 44.48 kB / 3.443 GB, free: 29.99 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.0002684/8.228, allocations: 152.1 kB / 3.443 GB, free: 29.88 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/8.229, allocations: 64.28 kB / 3.443 GB, free: 29.85 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006262/8.235, allocations: 3.966 MB / 3.447 GB, free: 29.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.397e-05/8.235, allocations: 43.89 kB / 3.447 GB, free: 29.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/8.235, allocations: 6.141 kB / 3.447 GB, free: 29.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/8.235, allocations: 7.469 kB / 3.447 GB, free: 29.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007387/8.242, allocations: 5.152 MB / 3.452 GB, free: 29.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.567e-06/8.242, allocations: 3.219 kB / 3.452 GB, free: 29.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005725/8.243, allocations: 118 kB / 3.452 GB, free: 29.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005546/8.249, allocations: 1.752 MB / 3.454 GB, free: 28.93 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.215e-05/8.249, allocations: 24.16 kB / 3.454 GB, free: 28.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002762/8.251, allocations: 2.37 MB / 3.456 GB, free: 27.85 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/8.251, allocations: 0 / 3.456 GB, free: 27.85 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003746/8.255, allocations: 2.503 MB / 3.459 GB, free: 27.49 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005595/8.256, allocations: 347.1 kB / 3.459 GB, free: 27.33 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/8.256, allocations: 13.47 kB / 3.459 GB, free: 27.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009357/8.257, allocations: 105.6 kB / 3.459 GB, free: 27.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/8.257, allocations: 64.64 kB / 3.459 GB, free: 27.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-05/8.257, allocations: 27.06 kB / 3.459 GB, free: 27.32 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006058/8.258, allocations: 425.2 kB / 3.46 GB, free: 27.22 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.96e-07/8.258, allocations: 3.062 kB / 3.46 GB, free: 27.22 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005555/8.263, allocations: 1.571 MB / 3.461 GB, free: 27.22 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.00737/8.271, allocations: 1.872 MB / 3.463 GB, free: 27.04 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004015/8.275, allocations: 1.716 MB / 3.465 GB, free: 27.01 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.546e-06/8.275, allocations: 0 / 3.465 GB, free: 27.01 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001567/8.276, allocations: 1.027 MB / 3.466 GB, free: 26.99 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001913/8.278, allocations: 297.4 kB / 3.466 GB, free: 26.98 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1846/8.463, allocations: 77.22 MB / 3.541 GB, free: 21.38 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006381/8.464, allocations: 1.186 MB / 3.542 GB, free: 20.35 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003048/8.464, allocations: 73.83 kB / 3.542 GB, free: 20.29 MB / 490.7 MB Notification: Performance of SimCode: time 1.788e-06/8.464, allocations: 0 / 3.542 GB, free: 20.29 MB / 490.7 MB Notification: Performance of Templates: time 0.07019/8.534, allocations: 46.24 MB / 3.588 GB, free: 8.074 MB / 0.4948 GB