Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,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.TestWaterPumpDefaultCV") Notification: Performance of loadModel(ModelicaTest): time 2.18/2.18, allocations: 235 MB / 247.2 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.019e-05/4.033e-05, allocations: 7.984 kB / 304.9 MB, free: 5.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3372, allocations: 54.86 MB / 359.8 MB, free: 3.039 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.963/6.3, allocations: 2.613 GB / 2.964 GB, free: 65.26 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/6.3, allocations: 83.95 kB / 2.964 GB, free: 65.18 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.925/8.226, allocations: 437.3 MB / 3.391 GB, free: 16.03 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.082e-06/8.226, allocations: 4 kB / 3.391 GB, free: 16.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.412e-05/8.226, allocations: 16 kB / 3.392 GB, free: 16.01 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.006104/8.232, allocations: 1.777 MB / 3.393 GB, free: 14.19 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/8.232, allocations: 12.03 kB / 3.393 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003384/8.235, allocations: 329.4 kB / 3.394 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/8.237, allocations: 0.6009 MB / 3.394 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.488e-05/8.237, allocations: 49.31 kB / 3.394 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/8.237, allocations: 60 kB / 3.394 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002662/8.24, allocations: 0.9671 MB / 3.395 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/8.24, allocations: 11.92 kB / 3.395 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.325e-05/8.24, allocations: 24 kB / 3.395 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.378e-05/8.24, allocations: 25.25 kB / 3.395 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002362/8.242, allocations: 0.8183 MB / 3.396 GB, free: 11.21 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.005791/8.248, allocations: 4.748 MB / 3.401 GB, free: 6.082 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00259/8.251, allocations: 0.7352 MB / 3.401 GB, free: 5.336 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004243/8.251, allocations: 232.4 kB / 3.402 GB, free: 5.105 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4042/8.655, allocations: 21.44 MB / 3.423 GB, free: 38.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/8.655, allocations: 37.36 kB / 3.423 GB, free: 38.87 MB / 490.7 MB Notification: Performance of pre-optimization done (n=47): time 3.956e-06/8.655, allocations: 0 / 3.423 GB, free: 38.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=68): time 0.02806/8.684, allocations: 4.001 MB / 3.427 GB, free: 38.44 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/8.684, allocations: 113.4 kB / 3.427 GB, free: 38.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007442/8.684, allocations: 442.1 kB / 3.427 GB, free: 38.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001007/8.685, allocations: 38.23 kB / 3.427 GB, free: 38.17 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/8.685, allocations: 355.5 kB / 3.427 GB, free: 38 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/8.685, allocations: 235.5 kB / 3.428 GB, free: 37.89 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.833e-05/8.685, allocations: 13.69 kB / 3.428 GB, free: 37.89 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/8.685, allocations: 379.1 kB / 3.428 GB, free: 37.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007764/8.686, allocations: 329.7 kB / 3.428 GB, free: 37.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008825/8.687, allocations: 0.5326 MB / 3.429 GB, free: 37.32 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/8.688, allocations: 389.3 kB / 3.429 GB, free: 37.31 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.866e-06/8.688, allocations: 1.312 kB / 3.429 GB, free: 37.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.003302/8.691, allocations: 1.181 MB / 3.43 GB, free: 37.22 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005119/8.692, allocations: 2.444 MB / 3.433 GB, free: 34.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/8.692, allocations: 6.594 kB / 3.433 GB, free: 34.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008682/8.701, allocations: 1.319 MB / 3.434 GB, free: 34.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008912/8.702, allocations: 172.7 kB / 3.434 GB, free: 34.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002717/8.704, allocations: 1.763 MB / 3.436 GB, free: 33.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/8.706, allocations: 117 kB / 3.436 GB, free: 33.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001588/8.706, allocations: 48.16 kB / 3.436 GB, free: 33.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/8.706, allocations: 16.31 kB / 3.436 GB, free: 33.6 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003103/8.709, allocations: 1.105 MB / 3.437 GB, free: 33.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/8.709, allocations: 7.5 kB / 3.437 GB, free: 33.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004305/8.713, allocations: 0.7236 MB / 3.438 GB, free: 33.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009744/8.714, allocations: 187 kB / 3.438 GB, free: 33.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002377/8.717, allocations: 1.678 MB / 3.44 GB, free: 32.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/8.718, allocations: 114 kB / 3.44 GB, free: 32.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/8.718, allocations: 43.97 kB / 3.44 GB, free: 32.5 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 (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 14,2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003253/8.719, allocations: 163.1 kB / 3.44 GB, free: 32.39 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002019/8.719, allocations: 67.88 kB / 3.44 GB, free: 32.36 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006772/8.726, allocations: 4.077 MB / 3.444 GB, free: 32.02 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.916e-05/8.726, allocations: 50.17 kB / 3.444 GB, free: 32.02 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/8.726, allocations: 3.812 kB / 3.444 GB, free: 32.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/8.726, allocations: 3.562 kB / 3.444 GB, free: 32.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009798/8.736, allocations: 5.349 MB / 3.449 GB, free: 31.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.692e-05/8.736, allocations: 0 / 3.449 GB, free: 31.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009443/8.737, allocations: 105.7 kB / 3.449 GB, free: 31.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01306/8.75, allocations: 2.231 MB / 3.452 GB, free: 31.45 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001414/8.75, allocations: 22.62 kB / 3.452 GB, free: 31.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003357/8.753, allocations: 2.524 MB / 3.454 GB, free: 30.37 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.505e-06/8.753, allocations: 0 / 3.454 GB, free: 30.37 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004883/8.758, allocations: 2.747 MB / 3.457 GB, free: 30 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006919/8.759, allocations: 359.9 kB / 3.457 GB, free: 29.83 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/8.759, allocations: 13.19 kB / 3.457 GB, free: 29.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009809/8.76, allocations: 114.9 kB / 3.457 GB, free: 29.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/8.76, allocations: 65.09 kB / 3.457 GB, free: 29.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/8.76, allocations: 39.69 kB / 3.457 GB, free: 29.82 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006849/8.761, allocations: 429.5 kB / 3.458 GB, free: 29.72 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.649e-06/8.761, allocations: 0 / 3.458 GB, free: 29.72 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006041/8.767, allocations: 1.594 MB / 3.459 GB, free: 29.71 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,$cse15.phase,$cse15.region,$cse16.phase,$cse16.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 (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 13,2 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.008857/8.776, allocations: 1.865 MB / 3.461 GB, free: 29.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004613/8.781, allocations: 1.919 MB / 3.463 GB, free: 29.46 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.286e-06/8.781, allocations: 0 / 3.463 GB, free: 29.46 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001865/8.783, allocations: 1.081 MB / 3.464 GB, free: 29.44 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/8.785, allocations: 304.3 kB / 3.464 GB, free: 29.44 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1844/8.969, allocations: 77.23 MB / 3.54 GB, free: 22.75 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006612/8.97, allocations: 1.194 MB / 3.541 GB, free: 21.71 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001793/8.971, allocations: 0.6843 MB / 3.542 GB, free: 21.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/8.972, allocations: 60.56 kB / 3.542 GB, free: 21.26 MB / 490.7 MB Notification: Performance of SimCode: time 1.789e-06/8.972, allocations: 3.75 kB / 3.542 GB, free: 21.26 MB / 490.7 MB Notification: Performance of Templates: time 0.4377/9.409, allocations: 55.18 MB / 3.596 GB, free: 63.23 MB / 0.4948 GB