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.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") Notification: Performance of loadModel(ModelicaTest): time 2.008/2.008, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.415e-05/3.436e-05, allocations: 4 kB / 273.1 MB, free: 3.648 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08659/0.08665, allocations: 48.7 MB / 321.8 MB, free: 2.855 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.083/6.17, allocations: 2.502 GB / 2.816 GB, free: 123.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/6.17, allocations: 83.61 kB / 2.816 GB, free: 123.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.697/7.867, allocations: 425.3 MB / 3.232 GB, free: 44.31 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.082e-06/7.867, allocations: 0 / 3.232 GB, free: 44.31 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.87e-05/7.867, allocations: 21.67 kB / 3.232 GB, free: 44.3 MB / 442.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.005613/7.873, allocations: 1.696 MB / 3.233 GB, free: 43.26 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/7.873, allocations: 10.31 kB / 3.233 GB, free: 43.26 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00327/7.876, allocations: 313.8 kB / 3.234 GB, free: 43.2 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/7.877, allocations: 0.5834 MB / 3.234 GB, free: 42.82 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.58e-05/7.878, allocations: 48.88 kB / 3.234 GB, free: 42.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/7.878, allocations: 55.44 kB / 3.234 GB, free: 42.78 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002514/7.88, allocations: 0.9586 MB / 3.235 GB, free: 42.33 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/7.88, allocations: 0 / 3.235 GB, free: 42.33 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.33e-05/7.88, allocations: 26.81 kB / 3.235 GB, free: 42.31 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.775e-05/7.88, allocations: 27.72 kB / 3.235 GB, free: 42.31 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002342/7.883, allocations: 0.7863 MB / 3.236 GB, free: 42.08 MB / 442.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.005424/7.888, allocations: 4.722 MB / 3.241 GB, free: 37.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002115/7.89, allocations: 0.6198 MB / 3.241 GB, free: 37.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004021/7.891, allocations: 212.7 kB / 3.241 GB, free: 36.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04183/7.933, allocations: 21.39 MB / 3.262 GB, free: 13.14 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/7.933, allocations: 38.56 kB / 3.262 GB, free: 13.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 3.815e-06/7.933, allocations: 0 / 3.262 GB, free: 13.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=60): time 0.02631/7.959, allocations: 3.752 MB / 3.266 GB, free: 9.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/7.959, allocations: 115.3 kB / 3.266 GB, free: 9.133 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006854/7.96, allocations: 432.6 kB / 3.266 GB, free: 8.699 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001224/7.96, allocations: 33.7 kB / 3.267 GB, free: 8.66 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/7.96, allocations: 389.9 kB / 3.267 GB, free: 8.281 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/7.96, allocations: 201 kB / 3.267 GB, free: 8.086 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.331e-05/7.96, allocations: 12 kB / 3.267 GB, free: 8.074 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.43e-05/7.961, allocations: 342.8 kB / 3.267 GB, free: 7.73 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006093/7.961, allocations: 273.5 kB / 3.268 GB, free: 7.465 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000692/7.962, allocations: 480.5 kB / 3.268 GB, free: 6.902 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008119/7.963, allocations: 335.2 kB / 3.268 GB, free: 6.574 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.297e-06/7.963, allocations: 0 / 3.268 GB, free: 6.574 MB / 442.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00247/7.965, allocations: 0.9731 MB / 3.269 GB, free: 5.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000496/7.966, allocations: 2.436 MB / 3.272 GB, free: 2.961 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/7.966, allocations: 12 kB / 3.272 GB, free: 2.949 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00522/7.971, allocations: 0.8222 MB / 3.273 GB, free: 2.129 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007808/7.972, allocations: 159.8 kB / 3.273 GB, free: 1.973 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/7.974, allocations: 1.612 MB / 3.274 GB, free: 316 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/7.975, allocations: 104 kB / 3.274 GB, free: 212 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/7.975, allocations: 51.97 kB / 3.274 GB, free: 160 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/7.975, allocations: 4 kB / 3.274 GB, free: 156 kB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002813/7.978, allocations: 0.9261 MB / 3.275 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/7.978, allocations: 11.98 kB / 3.275 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002608/7.981, allocations: 0.5165 MB / 3.276 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008499/7.982, allocations: 167.8 kB / 3.276 GB, free: 14.53 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/7.984, allocations: 1.519 MB / 3.278 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/7.985, allocations: 107.9 kB / 3.278 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/7.985, allocations: 47.97 kB / 3.278 GB, free: 12.81 MB / 458.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 (66): * Single equations (assignments): 64 * 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 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003185/7.986, allocations: 145.4 kB / 3.278 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002288/7.986, allocations: 71.19 kB / 3.278 GB, free: 12.59 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007553/7.994, allocations: 3.926 MB / 3.282 GB, free: 8.605 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-05/7.994, allocations: 47.92 kB / 3.282 GB, free: 8.559 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.499e-06/7.994, allocations: 0 / 3.282 GB, free: 8.559 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.679e-05/7.994, allocations: 3.984 kB / 3.282 GB, free: 8.555 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008775/8.002, allocations: 4.978 MB / 3.287 GB, free: 3.484 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.483e-06/8.003, allocations: 0 / 3.287 GB, free: 3.484 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005737/8.003, allocations: 111.9 kB / 3.287 GB, free: 3.375 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005902/8.009, allocations: 1.77 MB / 3.288 GB, free: 1.605 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001178/8.009, allocations: 19.98 kB / 3.289 GB, free: 1.586 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2724/8.282, allocations: 2.364 MB / 3.291 GB, free: 65.42 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/8.282, allocations: 3.656 kB / 3.291 GB, free: 65.42 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00428/8.286, allocations: 2.467 MB / 3.293 GB, free: 65.16 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006656/8.287, allocations: 338.2 kB / 3.294 GB, free: 65.06 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/8.287, allocations: 17.16 kB / 3.294 GB, free: 65.06 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008934/8.288, allocations: 96.89 kB / 3.294 GB, free: 65.06 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/8.288, allocations: 59.08 kB / 3.294 GB, free: 65.06 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.651e-05/8.288, allocations: 33.91 kB / 3.294 GB, free: 65.06 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006995/8.289, allocations: 420.2 kB / 3.294 GB, free: 64.96 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.1e-07/8.289, allocations: 0.7656 kB / 3.294 GB, free: 64.96 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006115/8.295, allocations: 1.543 MB / 3.296 GB, free: 64.96 MB / 458.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,$cse17.phase,$cse17.region,$cse18.phase,$cse18.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 9,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.009375/8.304, allocations: 1.835 MB / 3.297 GB, free: 64.84 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004146/8.309, allocations: 1.671 MB / 3.299 GB, free: 64.81 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.551e-06/8.309, allocations: 0 / 3.299 GB, free: 64.81 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001936/8.311, allocations: 1.021 MB / 3.3 GB, free: 64.79 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002045/8.313, allocations: 293 kB / 3.3 GB, free: 64.79 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1872/8.5, allocations: 75.91 MB / 3.374 GB, free: 62.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006351/8.5, allocations: 1.185 MB / 3.376 GB, free: 61.97 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/8.501, allocations: 68.5 kB / 3.376 GB, free: 61.96 MB / 458.7 MB Notification: Performance of SimCode: time 1.783e-06/8.501, allocations: 0 / 3.376 GB, free: 61.96 MB / 458.7 MB Notification: Performance of Templates: time 0.06486/8.566, allocations: 45.37 MB / 3.42 GB, free: 38.43 MB / 458.7 MB