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_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") Notification: Performance of loadModel(ModelicaTest): time 2.116/2.116, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.235e-05/3.244e-05, allocations: 4 kB / 304.9 MB, free: 5.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3226, allocations: 54.86 MB / 359.8 MB, free: 2.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.028/6.351, allocations: 2.613 GB / 2.964 GB, free: 104.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/6.351, allocations: 78.98 kB / 2.964 GB, free: 104.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.714/8.065, allocations: 437.3 MB / 3.391 GB, free: 53.45 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.889e-06/8.065, allocations: 7.188 kB / 3.391 GB, free: 53.45 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.6e-05/8.065, allocations: 20.16 kB / 3.391 GB, free: 53.45 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.005589/8.071, allocations: 1.777 MB / 3.393 GB, free: 52.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/8.071, allocations: 7.781 kB / 3.393 GB, free: 52.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003046/8.074, allocations: 331.2 kB / 3.394 GB, free: 52.56 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/8.075, allocations: 0.5932 MB / 3.394 GB, free: 52.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.56e-05/8.075, allocations: 54.95 kB / 3.394 GB, free: 52.29 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/8.075, allocations: 55.69 kB / 3.394 GB, free: 52.29 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002464/8.078, allocations: 0.9771 MB / 3.395 GB, free: 52.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/8.078, allocations: 2.812 kB / 3.395 GB, free: 52.09 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.404e-05/8.078, allocations: 25.31 kB / 3.395 GB, free: 52.09 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.563e-05/8.078, allocations: 25.81 kB / 3.395 GB, free: 52.09 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002354/8.08, allocations: 0.8144 MB / 3.396 GB, free: 52.09 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.005483/8.086, allocations: 4.76 MB / 3.401 GB, free: 48.86 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002519/8.088, allocations: 0.7312 MB / 3.401 GB, free: 48.83 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004234/8.089, allocations: 227.6 kB / 3.402 GB, free: 48.82 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04028/8.129, allocations: 21.45 MB / 3.423 GB, free: 35.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/8.129, allocations: 41.66 kB / 3.423 GB, free: 35.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=47): time 3.513e-06/8.129, allocations: 3.375 kB / 3.423 GB, free: 35.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=68): time 0.0259/8.155, allocations: 3.996 MB / 3.426 GB, free: 34.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/8.155, allocations: 114.4 kB / 3.427 GB, free: 34.56 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006267/8.156, allocations: 446.8 kB / 3.427 GB, free: 34.43 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.929e-05/8.156, allocations: 36.77 kB / 3.427 GB, free: 34.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/8.156, allocations: 384.4 kB / 3.427 GB, free: 34.14 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/8.156, allocations: 230.7 kB / 3.428 GB, free: 33.99 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.393e-05/8.156, allocations: 19.19 kB / 3.428 GB, free: 33.99 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.623e-05/8.156, allocations: 345.1 kB / 3.428 GB, free: 33.68 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006936/8.157, allocations: 333.3 kB / 3.428 GB, free: 33.68 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007976/8.158, allocations: 0.5365 MB / 3.429 GB, free: 33.42 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008646/8.159, allocations: 388.3 kB / 3.429 GB, free: 33.39 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.174e-06/8.159, allocations: 3.562 kB / 3.429 GB, free: 33.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0027/8.162, allocations: 1.145 MB / 3.43 GB, free: 33.31 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004651/8.162, allocations: 2.445 MB / 3.433 GB, free: 30.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/8.162, allocations: 7.875 kB / 3.433 GB, free: 30.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008783/8.171, allocations: 1.317 MB / 3.434 GB, free: 30.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007852/8.172, allocations: 171.6 kB / 3.434 GB, free: 30.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00245/8.174, allocations: 1.765 MB / 3.436 GB, free: 29.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/8.175, allocations: 123.7 kB / 3.436 GB, free: 29.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/8.176, allocations: 52.73 kB / 3.436 GB, free: 29.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.687e-06/8.176, allocations: 3.938 kB / 3.436 GB, free: 29.6 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002859/8.178, allocations: 1.103 MB / 3.437 GB, free: 29.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/8.178, allocations: 6.312 kB / 3.437 GB, free: 29.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003568/8.182, allocations: 0.7022 MB / 3.438 GB, free: 29.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009336/8.183, allocations: 188.5 kB / 3.438 GB, free: 29.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/8.185, allocations: 1.631 MB / 3.44 GB, free: 27.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/8.186, allocations: 115.7 kB / 3.44 GB, free: 27.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/8.186, allocations: 48.41 kB / 3.44 GB, free: 27.89 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.0002872/8.187, allocations: 165.7 kB / 3.44 GB, free: 27.76 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/8.187, allocations: 69.86 kB / 3.44 GB, free: 27.72 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006561/8.194, allocations: 4.077 MB / 3.444 GB, free: 25.82 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.393e-05/8.194, allocations: 46.34 kB / 3.444 GB, free: 25.81 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.433e-06/8.194, allocations: 0 / 3.444 GB, free: 25.81 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/8.194, allocations: 3.422 kB / 3.444 GB, free: 25.81 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007538/8.201, allocations: 5.354 MB / 3.449 GB, free: 23.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.932e-06/8.201, allocations: 0 / 3.449 GB, free: 23.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004983/8.202, allocations: 110.8 kB / 3.449 GB, free: 23.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009237/8.211, allocations: 2.231 MB / 3.452 GB, free: 22.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.069e-05/8.211, allocations: 23.53 kB / 3.452 GB, free: 22.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00313/8.214, allocations: 2.522 MB / 3.454 GB, free: 21.08 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.543e-06/8.214, allocations: 3.625 kB / 3.454 GB, free: 21.08 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004441/8.219, allocations: 2.748 MB / 3.457 GB, free: 19.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005901/8.219, allocations: 360 kB / 3.457 GB, free: 19.47 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/8.22, allocations: 15.62 kB / 3.457 GB, free: 19.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009567/8.221, allocations: 106.7 kB / 3.457 GB, free: 19.44 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/8.221, allocations: 61.47 kB / 3.457 GB, free: 19.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.883e-05/8.221, allocations: 37.97 kB / 3.457 GB, free: 19.43 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005978/8.221, allocations: 431 kB / 3.458 GB, free: 19.23 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.53e-07/8.221, allocations: 0 / 3.458 GB, free: 19.23 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00539/8.227, allocations: 1.591 MB / 3.459 GB, free: 18.9 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.007449/8.234, allocations: 1.872 MB / 3.461 GB, free: 18.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003965/8.238, allocations: 1.876 MB / 3.463 GB, free: 17.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.734e-06/8.238, allocations: 3.344 kB / 3.463 GB, free: 17.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001691/8.24, allocations: 1.079 MB / 3.464 GB, free: 17.18 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001836/8.242, allocations: 301.6 kB / 3.464 GB, free: 17.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4863/8.728, allocations: 78.07 MB / 3.54 GB, free: 63.63 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000631/8.729, allocations: 1.19 MB / 3.542 GB, free: 62.93 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002849/8.729, allocations: 73.89 kB / 3.542 GB, free: 62.93 MB / 0.4948 GB Notification: Performance of SimCode: time 2.424e-06/8.729, allocations: 0 / 3.542 GB, free: 62.93 MB / 0.4948 GB Notification: Performance of Templates: time 0.06443/8.794, allocations: 46.42 MB / 3.587 GB, free: 60.59 MB / 0.4948 GB