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.947/1.947, allocations: 209.3 MB / 223.8 MB, free: 0.5078 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.51e-05/3.513e-05, allocations: 4 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3584, allocations: 48.7 MB / 324.9 MB, free: 3.359 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH): time 0.05748/0.416, allocations: 33.99 MB / 358.9 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03403/0.4501, allocations: 16.63 MB / 375.5 MB, free: 12.78 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/0.4514, allocations: 31.75 kB / 375.5 MB, free: 12.75 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001579/0.453, allocations: 398 kB / 375.9 MB, free: 12.36 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01575/0.4687, allocations: 3.65 MB / 379.6 MB, free: 8.699 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01044/0.4792, allocations: 2.574 MB / 382.2 MB, free: 6.125 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002417/0.4816, allocations: 0.8178 MB / 383 MB, free: 5.301 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006705/0.4823, allocations: 299.4 kB / 383.3 MB, free: 5.008 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00165/0.484, allocations: 0.5726 MB / 383.8 MB, free: 4.434 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01528/0.4993, allocations: 6.184 MB / 390 MB, free: 14.25 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02172/0.5211, allocations: 6.996 MB / 397 MB, free: 7.242 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003148/0.5243, allocations: 424 kB / 397.4 MB, free: 6.828 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004508/0.5248, allocations: 147.4 kB / 397.6 MB, free: 6.684 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000402/0.5252, allocations: 84 kB / 397.7 MB, free: 6.602 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01026/0.5355, allocations: 3.348 MB / 401 MB, free: 3.246 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.5355, allocations: 0 / 401 MB, free: 3.246 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.456e-06/0.5356, allocations: 0 / 401 MB, free: 3.246 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.271e-05/0.5356, allocations: 0 / 401 MB, free: 3.246 MB / 330.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.005408/0.541, allocations: 1.458 MB / 402.5 MB, free: 1.738 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.5411, allocations: 12.03 kB / 402.5 MB, free: 1.727 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003611/0.5447, allocations: 310.8 kB / 402.8 MB, free: 1.422 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.5462, allocations: 0.5317 MB / 403.3 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.643e-05/0.5463, allocations: 45.31 kB / 403.4 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.5465, allocations: 67.89 kB / 403.4 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003911/0.5504, allocations: 1.003 MB / 404.4 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/0.5505, allocations: 3.984 kB / 404.4 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.5506, allocations: 24 kB / 404.4 MB, free: 15.65 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-05/0.5507, allocations: 25.31 kB / 404.5 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004289/0.555, allocations: 0.9221 MB / 405.4 MB, free: 14.7 MB / 346.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.008299/0.5633, allocations: 4.93 MB / 410.3 MB, free: 9.309 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003947/0.5673, allocations: 0.7887 MB / 411.1 MB, free: 8.512 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0726/0.6399, allocations: 21.84 MB / 433 MB, free: 15.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.477e-05/0.6401, allocations: 38.94 kB / 433 MB, free: 15.92 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 3.927e-06/0.6401, allocations: 0 / 433 MB, free: 15.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=63): time 0.04626/0.6864, allocations: 3.941 MB / 436.9 MB, free: 11.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/0.6865, allocations: 111.4 kB / 437 MB, free: 11.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008769/0.6874, allocations: 438 kB / 437.5 MB, free: 11.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001403/0.6875, allocations: 41.64 kB / 437.5 MB, free: 11.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003328/0.6879, allocations: 339.7 kB / 437.8 MB, free: 10.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002965/0.6882, allocations: 224.8 kB / 438.1 MB, free: 10.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.287e-05/0.6883, allocations: 16 kB / 438.1 MB, free: 10.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.6885, allocations: 366.8 kB / 438.4 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/0.6902, allocations: 401.8 kB / 438.8 MB, free: 9.949 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00186/0.6921, allocations: 0.6015 MB / 439.4 MB, free: 9.254 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001938/0.6941, allocations: 449.9 kB / 439.9 MB, free: 8.812 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.936e-06/0.6941, allocations: 4 kB / 439.9 MB, free: 8.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.005412/0.6995, allocations: 1.292 MB / 441.2 MB, free: 7.504 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001406/0.701, allocations: 2.447 MB / 443.6 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.508e-05/0.7011, allocations: 11.94 kB / 443.6 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006893/0.708, allocations: 0.8367 MB / 444.5 MB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.7094, allocations: 167.8 kB / 444.6 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003891/0.7133, allocations: 1.678 MB / 446.3 MB, free: 2.113 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.7148, allocations: 107.8 kB / 446.4 MB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/0.715, allocations: 39.98 kB / 446.4 MB, free: 1.969 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.715, allocations: 4 kB / 446.5 MB, free: 1.965 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005344/0.7203, allocations: 1.225 MB / 447.7 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.149e-05/0.7204, allocations: 8 kB / 447.7 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003741/0.7242, allocations: 0.5836 MB / 448.3 MB, free: 144 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.7255, allocations: 167.8 kB / 448.4 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003544/0.7291, allocations: 1.632 MB / 450.1 MB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.7305, allocations: 107.8 kB / 450.2 MB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/0.7307, allocations: 43.98 kB / 450.2 MB, free: 14.14 MB / 394.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.0005624/0.7312, allocations: 221.6 kB / 450.4 MB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002019/0.7314, allocations: 75.05 kB / 450.5 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009142/0.7406, allocations: 3.857 MB / 454.4 MB, free: 9.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.488e-05/0.7407, allocations: 51.92 kB / 454.4 MB, free: 9.879 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.7407, allocations: 4 kB / 454.4 MB, free: 9.875 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.7408, allocations: 3.984 kB / 454.4 MB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/0.752, allocations: 5.213 MB / 459.6 MB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.7521, allocations: 0 / 459.6 MB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008324/0.753, allocations: 119.9 kB / 459.7 MB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006887/0.7599, allocations: 1.575 MB / 461.3 MB, free: 2.844 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/0.76, allocations: 23.98 kB / 461.3 MB, free: 2.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004384/0.7644, allocations: 2.37 MB / 463.7 MB, free: 404 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.7645, allocations: 0 / 463.7 MB, free: 404 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00658/0.7711, allocations: 2.67 MB / 466.4 MB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007006/0.7718, allocations: 346.7 kB / 466.7 MB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00021/0.772, allocations: 19.98 kB / 466.7 MB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/0.7732, allocations: 95.83 kB / 466.8 MB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/0.7734, allocations: 64.52 kB / 466.9 MB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.7735, allocations: 35.97 kB / 466.9 MB, free: 13.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008043/0.7743, allocations: 427 kB / 467.4 MB, free: 12.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7744, allocations: 0 / 467.4 MB, free: 12.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005229/0.7796, allocations: 1.39 MB / 468.7 MB, free: 11.26 MB / 410.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.008181/0.7878, allocations: 1.427 MB / 470.2 MB, free: 9.828 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007788/0.7957, allocations: 2.08 MB / 472.2 MB, free: 7.734 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.7957, allocations: 0 / 472.2 MB, free: 7.734 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002949/0.7987, allocations: 1.141 MB / 473.4 MB, free: 6.594 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002666/0.8014, allocations: 302 kB / 473.7 MB, free: 6.305 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006698/0.8081, allocations: 3.37 MB / 477.1 MB, free: 2.906 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009727/0.8091, allocations: 1.191 MB / 478.2 MB, free: 1.684 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002295/0.8115, allocations: 0.7543 MB / 479 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002322/0.8117, allocations: 59.42 kB / 479.1 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.8117, allocations: 0 / 479.1 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of Templates: time 0.3667/1.178, allocations: 45.89 MB / 0.5126 GB, free: 105.5 MB / 410.7 MB