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_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH") Notification: Performance of loadModel(ModelicaTest): time 2.444/2.444, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.981e-05/3.97e-05, allocations: 4 kB / 308 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.416/0.416, allocations: 54.85 MB / 362.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH): time 0.07682/0.4929, allocations: 34.24 MB / 397.1 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0409/0.5339, allocations: 16.71 MB / 413.8 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/0.5351, allocations: 31.75 kB / 413.9 MB, free: 10.65 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001462/0.5366, allocations: 398 kB / 414.3 MB, free: 10.26 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01478/0.5514, allocations: 3.68 MB / 417.9 MB, free: 6.57 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01125/0.5627, allocations: 2.607 MB / 420.5 MB, free: 3.957 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002742/0.5654, allocations: 0.8295 MB / 421.4 MB, free: 3.125 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008187/0.5663, allocations: 299.4 kB / 421.7 MB, free: 2.832 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001966/0.5683, allocations: 0.5881 MB / 422.3 MB, free: 2.242 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01676/0.5851, allocations: 6.266 MB / 428.5 MB, free: 11.97 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02129/0.6064, allocations: 7.117 MB / 435.6 MB, free: 4.848 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003049/0.6095, allocations: 432 kB / 436.1 MB, free: 4.426 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004582/0.61, allocations: 143.5 kB / 436.2 MB, free: 4.285 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003529/0.6104, allocations: 84 kB / 436.3 MB, free: 4.203 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009651/0.6201, allocations: 3.399 MB / 439.7 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6201, allocations: 4 kB / 439.7 MB, free: 0.793 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.447e-06/0.6201, allocations: 0 / 439.7 MB, free: 0.793 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.787e-05/0.6202, allocations: 0 / 439.7 MB, free: 0.793 MB / 362.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.005396/0.6256, allocations: 1.482 MB / 441.2 MB, free: 15.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.6256, allocations: 8.031 kB / 441.2 MB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003703/0.6294, allocations: 338.7 kB / 441.5 MB, free: 14.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.6309, allocations: 0.5239 MB / 442 MB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.543e-05/0.631, allocations: 53.3 kB / 442.1 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.6312, allocations: 52 kB / 442.1 MB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003928/0.6351, allocations: 1.004 MB / 443.1 MB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.6352, allocations: 4 kB / 443.1 MB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.6353, allocations: 24 kB / 443.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.978e-05/0.6354, allocations: 33.25 kB / 443.2 MB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004271/0.6397, allocations: 0.9182 MB / 444.1 MB, free: 12.21 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.009067/0.6488, allocations: 4.926 MB / 449 MB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00394/0.6528, allocations: 0.8004 MB / 449.8 MB, free: 6.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07323/0.726, allocations: 21.9 MB / 471.7 MB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.272e-05/0.7262, allocations: 42.88 kB / 471.8 MB, free: 13.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=46): time 3.556e-06/0.7262, allocations: 0 / 471.8 MB, free: 13.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=63): time 0.04519/0.7714, allocations: 3.949 MB / 475.7 MB, free: 9.328 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.572e-05/0.7715, allocations: 115.4 kB / 475.8 MB, free: 9.191 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009632/0.7725, allocations: 438 kB / 476.3 MB, free: 8.754 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001484/0.7727, allocations: 33.7 kB / 476.3 MB, free: 8.715 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003647/0.773, allocations: 355.6 kB / 476.7 MB, free: 8.363 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003048/0.7734, allocations: 212.9 kB / 476.9 MB, free: 8.152 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.459e-05/0.7735, allocations: 16 kB / 476.9 MB, free: 8.137 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002395/0.7737, allocations: 374.7 kB / 477.2 MB, free: 7.762 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001777/0.7755, allocations: 401.7 kB / 477.6 MB, free: 7.371 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001933/0.7775, allocations: 0.5977 MB / 478.2 MB, free: 6.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001938/0.7794, allocations: 453.9 kB / 478.7 MB, free: 6.234 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.942e-06/0.7795, allocations: 0 / 478.7 MB, free: 6.234 MB / 410.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00551/0.785, allocations: 1.293 MB / 480 MB, free: 4.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001223/0.7863, allocations: 2.436 MB / 482.4 MB, free: 2.305 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.47e-05/0.7863, allocations: 12 kB / 482.4 MB, free: 2.293 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006542/0.7929, allocations: 0.8405 MB / 483.3 MB, free: 1.445 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.7941, allocations: 171.7 kB / 483.4 MB, free: 1.277 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003986/0.7981, allocations: 1.675 MB / 485.1 MB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.7996, allocations: 99.92 kB / 485.2 MB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/0.7998, allocations: 43.98 kB / 485.2 MB, free: 15.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.7998, allocations: 4.938 kB / 485.2 MB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005215/0.805, allocations: 1.229 MB / 486.5 MB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/0.8051, allocations: 7.953 kB / 486.5 MB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003707/0.8088, allocations: 0.5835 MB / 487.1 MB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.8101, allocations: 175.8 kB / 487.2 MB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003439/0.8136, allocations: 1.628 MB / 488.9 MB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/0.815, allocations: 103.8 kB / 489 MB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.8151, allocations: 39.98 kB / 489 MB, free: 11.58 MB / 426.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 (70): * Single equations (assignments): 68 * 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 9,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0006019/0.8157, allocations: 225.6 kB / 489.2 MB, free: 11.35 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/0.816, allocations: 63.25 kB / 489.3 MB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009537/0.8255, allocations: 3.869 MB / 493.2 MB, free: 7.355 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-05/0.8257, allocations: 47.86 kB / 493.2 MB, free: 7.309 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/0.8257, allocations: 4 kB / 493.2 MB, free: 7.305 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.632e-05/0.8257, allocations: 7.984 kB / 493.2 MB, free: 7.297 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01224/0.838, allocations: 5.194 MB / 498.4 MB, free: 1.996 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.539e-05/0.838, allocations: 0 / 498.4 MB, free: 1.996 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008343/0.8389, allocations: 123.9 kB / 498.5 MB, free: 1.875 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007103/0.846, allocations: 1.575 MB / 0.4884 GB, free: 296 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001446/0.8462, allocations: 23.98 kB / 0.4884 GB, free: 272 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3209/1.167, allocations: 2.376 MB / 0.4907 GB, free: 125.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/1.167, allocations: 0.7188 kB / 0.4907 GB, free: 125.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007311/1.175, allocations: 2.661 MB / 0.4933 GB, free: 124.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008894/1.175, allocations: 358.6 kB / 0.4937 GB, free: 124.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002128/1.176, allocations: 11.31 kB / 0.4937 GB, free: 124.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/1.177, allocations: 100.4 kB / 0.4938 GB, free: 124.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000271/1.177, allocations: 62.7 kB / 0.4938 GB, free: 124.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/1.177, allocations: 27.97 kB / 0.4939 GB, free: 124.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001309/1.179, allocations: 435.2 kB / 0.4943 GB, free: 124.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.179, allocations: 4.375 kB / 0.4943 GB, free: 124.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005707/1.184, allocations: 1.394 MB / 0.4956 GB, free: 124.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.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 8,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.008492/1.193, allocations: 1.442 MB / 0.497 GB, free: 124 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007167/1.2, allocations: 2.089 MB / 0.4991 GB, free: 123.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.2, allocations: 0 / 0.4991 GB, free: 123.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002698/1.203, allocations: 1.127 MB / 0.5002 GB, free: 122.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002601/1.206, allocations: 301.3 kB / 0.5005 GB, free: 122.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006001/1.212, allocations: 3.372 MB / 0.5038 GB, free: 120.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006599/1.212, allocations: 1.188 MB / 0.5049 GB, free: 119.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002052/1.214, allocations: 0.7504 MB / 0.5057 GB, free: 119 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002165/1.215, allocations: 63.36 kB / 0.5057 GB, free: 119 MB / 426.7 MB Notification: Performance of SimCode: time 1.403e-06/1.215, allocations: 0 / 0.5057 GB, free: 119 MB / 426.7 MB Notification: Performance of Templates: time 0.09382/1.308, allocations: 46.1 MB / 0.5507 GB, free: 73 MB / 426.7 MB