Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,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.TestWaterPumpDefault") Notification: Performance of loadModel(ModelicaTest): time 2.561/2.561, allocations: 234.9 MB / 249.4 MB, free: 9.797 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.565e-05/4.555e-05, allocations: 4 kB / 308 MB, free: 15.12 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4142, allocations: 54.87 MB / 362.9 MB, free: 11.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault): time 0.06985/0.4841, allocations: 34.2 MB / 397.1 MB, free: 9.422 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04442/0.5286, allocations: 16.22 MB / 413.3 MB, free: 9.156 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.5301, allocations: 31.75 kB / 413.3 MB, free: 9.125 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002273/0.5325, allocations: 394 kB / 413.7 MB, free: 8.738 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02179/0.5543, allocations: 3.626 MB / 417.4 MB, free: 5.102 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01139/0.5657, allocations: 2.595 MB / 419.9 MB, free: 2.5 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002422/0.5682, allocations: 0.8216 MB / 420.8 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000708/0.5689, allocations: 294.6 kB / 421.1 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001826/0.5708, allocations: 0.5803 MB / 421.6 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01575/0.5866, allocations: 6.27 MB / 427.9 MB, free: 10.54 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02113/0.6078, allocations: 7.067 MB / 435 MB, free: 3.461 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003035/0.6109, allocations: 428 kB / 435.4 MB, free: 3.043 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005002/0.6114, allocations: 143.5 kB / 435.5 MB, free: 2.902 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003863/0.6118, allocations: 83.94 kB / 435.6 MB, free: 2.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01053/0.6224, allocations: 3.364 MB / 439 MB, free: 15.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6224, allocations: 0 / 439 MB, free: 15.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.6225, allocations: 4 kB / 439 MB, free: 15.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.263e-05/0.6225, allocations: 4 kB / 439 MB, free: 15.44 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.005421/0.6279, allocations: 1.462 MB / 440.4 MB, free: 13.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.628, allocations: 8.031 kB / 440.5 MB, free: 13.92 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003431/0.6314, allocations: 318.7 kB / 440.8 MB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.6329, allocations: 0.5161 MB / 441.3 MB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.345e-05/0.633, allocations: 45.31 kB / 441.3 MB, free: 13.01 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.6332, allocations: 52 kB / 441.4 MB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004326/0.6375, allocations: 0.9828 MB / 442.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.75e-05/0.6376, allocations: 7.938 kB / 442.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/0.6378, allocations: 27.98 kB / 442.4 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.352e-05/0.6379, allocations: 21 kB / 442.4 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005029/0.6429, allocations: 0.9092 MB / 443.3 MB, free: 10.95 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.009196/0.6522, allocations: 4.808 MB / 448.1 MB, free: 5.691 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003696/0.6559, allocations: 0.7176 MB / 448.9 MB, free: 4.965 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07385/0.7298, allocations: 21.64 MB / 470.5 MB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.082e-05/0.7299, allocations: 42.5 kB / 470.5 MB, free: 12.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 3.597e-06/0.7299, allocations: 0 / 470.5 MB, free: 12.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=60): time 0.04723/0.7772, allocations: 4.058 MB / 474.6 MB, free: 8.453 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.132e-05/0.7773, allocations: 107.4 kB / 474.7 MB, free: 8.324 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008863/0.7782, allocations: 442 kB / 475.1 MB, free: 7.883 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001479/0.7784, allocations: 37.7 kB / 475.2 MB, free: 7.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003621/0.7788, allocations: 343.7 kB / 475.5 MB, free: 7.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003047/0.7791, allocations: 201 kB / 475.7 MB, free: 7.301 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.907e-05/0.7792, allocations: 12 kB / 475.7 MB, free: 7.289 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002358/0.7794, allocations: 378.7 kB / 476.1 MB, free: 6.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/0.7812, allocations: 389.8 kB / 476.5 MB, free: 6.527 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002008/0.7833, allocations: 0.5937 MB / 477 MB, free: 5.844 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002016/0.7854, allocations: 438 kB / 477.5 MB, free: 5.414 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.291e-05/0.7854, allocations: 4 kB / 477.5 MB, free: 5.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.006087/0.7915, allocations: 1.273 MB / 478.8 MB, free: 4.125 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001542/0.7931, allocations: 2.443 MB / 481.2 MB, free: 1.492 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.713e-05/0.7932, allocations: 4 kB / 481.2 MB, free: 1.488 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006985/0.8002, allocations: 0.8562 MB / 482.1 MB, free: 0.625 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.8014, allocations: 163.8 kB / 482.2 MB, free: 476 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3354/1.137, allocations: 1.668 MB / 483.9 MB, free: 110.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002514/1.139, allocations: 103.9 kB / 484 MB, free: 110.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004401/1.14, allocations: 45.97 kB / 484 MB, free: 110.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.506e-05/1.14, allocations: 3.844 kB / 484 MB, free: 110.1 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008906/1.149, allocations: 1.202 MB / 485.2 MB, free: 110 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.492e-05/1.149, allocations: 8.188 kB / 485.2 MB, free: 110 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005363/1.154, allocations: 0.5743 MB / 485.8 MB, free: 109.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00224/1.157, allocations: 170 kB / 486 MB, free: 109.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005203/1.162, allocations: 1.632 MB / 487.6 MB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002265/1.164, allocations: 100.4 kB / 487.7 MB, free: 108.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000385/1.165, allocations: 42.34 kB / 487.8 MB, free: 108.6 MB / 410.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 (67): * Single equations (assignments): 65 * 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.001151/1.166, allocations: 225.3 kB / 488 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004588/1.167, allocations: 65.7 kB / 488 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01193/1.179, allocations: 3.821 MB / 491.9 MB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.656e-05/1.179, allocations: 46.38 kB / 491.9 MB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/1.179, allocations: 0 / 491.9 MB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.032e-05/1.179, allocations: 3.703 kB / 491.9 MB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009683/1.188, allocations: 5.142 MB / 497.1 MB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/1.188, allocations: 3.812 kB / 497.1 MB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007273/1.189, allocations: 106.9 kB / 497.2 MB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006632/1.196, allocations: 1.596 MB / 498.8 MB, free: 104 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001607/1.196, allocations: 19.73 kB / 498.8 MB, free: 104 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004139/1.2, allocations: 2.378 MB / 0.4894 GB, free: 101.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.2, allocations: 0 / 0.4894 GB, free: 101.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006251/1.207, allocations: 2.636 MB / 0.492 GB, free: 99.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007646/1.207, allocations: 346.7 kB / 0.4923 GB, free: 98.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002386/1.208, allocations: 12 kB / 0.4923 GB, free: 98.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/1.209, allocations: 96.14 kB / 0.4924 GB, free: 98.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/1.209, allocations: 64.5 kB / 0.4925 GB, free: 98.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.59e-05/1.209, allocations: 35.92 kB / 0.4925 GB, free: 98.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009355/1.21, allocations: 431 kB / 0.4929 GB, free: 98.06 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.11e-07/1.21, allocations: 0 / 0.4929 GB, free: 98.06 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005245/1.216, allocations: 1.386 MB / 0.4943 GB, free: 96.79 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,$cse16.phase,$cse16.region,$cse17.phase,$cse17.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 (47): * Single equations (assignments): 36 * 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.008603/1.224, allocations: 1.433 MB / 0.4957 GB, free: 95.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007107/1.231, allocations: 2.045 MB / 0.4977 GB, free: 93.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/1.232, allocations: 0.5625 kB / 0.4977 GB, free: 93.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002627/1.234, allocations: 1.12 MB / 0.4988 GB, free: 92.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002728/1.237, allocations: 293 kB / 0.499 GB, free: 92.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006089/1.243, allocations: 3.322 MB / 0.5023 GB, free: 88.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006954/1.244, allocations: 1.179 MB / 0.5034 GB, free: 87.69 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003426/1.247, allocations: 0.7465 MB / 0.5042 GB, free: 86.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003556/1.248, allocations: 55.42 kB / 0.5042 GB, free: 86.89 MB / 410.7 MB Notification: Performance of SimCode: time 1.623e-06/1.248, allocations: 3.938 kB / 0.5042 GB, free: 86.88 MB / 410.7 MB Notification: Performance of Templates: time 0.1028/1.351, allocations: 45.79 MB / 0.5489 GB, free: 41.11 MB / 410.7 MB