Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,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|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV") Notification: Performance of loadModel(ModelicaTest): time 1.814/1.814, allocations: 209.3 MB / 221.9 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.515e-05/3.531e-05, allocations: 4 kB / 273.1 MB, free: 3.664 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08425/0.08431, allocations: 48.7 MB / 321.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.163/6.247, allocations: 2.485 GB / 2.799 GB, free: 75.05 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/6.247, allocations: 81.83 kB / 2.799 GB, free: 75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.636/7.883, allocations: 407.3 MB / 3.197 GB, free: 13.51 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.679e-06/7.883, allocations: 0 / 3.197 GB, free: 13.51 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.877e-05/7.883, allocations: 16 kB / 3.197 GB, free: 13.49 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.01059/7.894, allocations: 1.598 MB / 3.199 GB, free: 11.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.665e-05/7.894, allocations: 16.03 kB / 3.199 GB, free: 11.84 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003511/7.897, allocations: 283.5 kB / 3.199 GB, free: 11.56 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/7.899, allocations: 0.5378 MB / 3.2 GB, free: 11 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-05/7.899, allocations: 45.31 kB / 3.2 GB, free: 10.95 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/7.899, allocations: 52 kB / 3.2 GB, free: 10.9 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002994/7.902, allocations: 0.9351 MB / 3.201 GB, free: 9.906 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/7.902, allocations: 0 / 3.201 GB, free: 9.906 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/7.902, allocations: 31.94 kB / 3.201 GB, free: 9.875 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.995e-05/7.902, allocations: 24.95 kB / 3.201 GB, free: 9.848 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00276/7.905, allocations: 0.7747 MB / 3.201 GB, free: 9.074 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.007138/7.912, allocations: 4.556 MB / 3.206 GB, free: 4.129 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002605/7.915, allocations: 0.6604 MB / 3.206 GB, free: 3.461 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004949/7.916, allocations: 217.1 kB / 3.207 GB, free: 3.25 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3112/8.227, allocations: 21.38 MB / 3.228 GB, free: 37.96 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/8.227, allocations: 40.69 kB / 3.228 GB, free: 37.93 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 3.704e-06/8.227, allocations: 0 / 3.228 GB, free: 37.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=58): time 0.01249/8.239, allocations: 2.766 MB / 3.23 GB, free: 37.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/8.239, allocations: 116.8 kB / 3.23 GB, free: 37.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000615/8.24, allocations: 369.7 kB / 3.231 GB, free: 37.37 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.362e-05/8.24, allocations: 35.48 kB / 3.231 GB, free: 37.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/8.24, allocations: 376.5 kB / 3.231 GB, free: 37.11 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/8.241, allocations: 199.9 kB / 3.231 GB, free: 37.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.331e-05/8.241, allocations: 13.69 kB / 3.231 GB, free: 37.02 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.653e-05/8.241, allocations: 339.5 kB / 3.232 GB, free: 36.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005135/8.241, allocations: 220.3 kB / 3.232 GB, free: 36.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006191/8.242, allocations: 424.1 kB / 3.232 GB, free: 36.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006077/8.243, allocations: 276.5 kB / 3.233 GB, free: 36.46 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.884e-06/8.243, allocations: 2.75 kB / 3.233 GB, free: 36.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002857/8.245, allocations: 0.9194 MB / 3.233 GB, free: 36.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004638/8.246, allocations: 2.359 MB / 3.236 GB, free: 33.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/8.246, allocations: 6.656 kB / 3.236 GB, free: 33.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002435/8.248, allocations: 426 kB / 3.236 GB, free: 33.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006555/8.249, allocations: 148.5 kB / 3.236 GB, free: 33.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/8.251, allocations: 1.466 MB / 3.238 GB, free: 32.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009515/8.252, allocations: 93.14 kB / 3.238 GB, free: 32.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.491e-05/8.252, allocations: 44.08 kB / 3.238 GB, free: 32.87 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/8.252, allocations: 3.938 kB / 3.238 GB, free: 32.87 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002856/8.255, allocations: 0.8568 MB / 3.239 GB, free: 32.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/8.255, allocations: 10.5 kB / 3.239 GB, free: 32.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002116/8.257, allocations: 366 kB / 3.239 GB, free: 32.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007071/8.258, allocations: 149.1 kB / 3.239 GB, free: 32.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/8.259, allocations: 1.423 MB / 3.241 GB, free: 31.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008344/8.26, allocations: 91.97 kB / 3.241 GB, free: 31.78 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-05/8.26, allocations: 36.66 kB / 3.241 GB, free: 31.78 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (63): * Single equations (assignments): 61 * 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,3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002424/8.26, allocations: 147.1 kB / 3.241 GB, free: 31.67 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/8.261, allocations: 58.41 kB / 3.241 GB, free: 31.64 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005576/8.266, allocations: 3.566 MB / 3.244 GB, free: 31.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-05/8.266, allocations: 43.88 kB / 3.244 GB, free: 31.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/8.266, allocations: 0 / 3.244 GB, free: 31.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/8.266, allocations: 6.047 kB / 3.244 GB, free: 31.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006975/8.273, allocations: 4.574 MB / 3.249 GB, free: 30.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.541e-06/8.273, allocations: 0 / 3.249 GB, free: 30.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005654/8.274, allocations: 107.8 kB / 3.249 GB, free: 30.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002952/8.277, allocations: 0.9933 MB / 3.25 GB, free: 30.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.582e-05/8.277, allocations: 13 kB / 3.25 GB, free: 30.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/8.279, allocations: 1.98 MB / 3.252 GB, free: 29.71 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.228e-06/8.279, allocations: 0 / 3.252 GB, free: 29.71 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00295/8.282, allocations: 2.095 MB / 3.254 GB, free: 29.36 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004883/8.283, allocations: 316.6 kB / 3.254 GB, free: 29.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/8.283, allocations: 15.47 kB / 3.254 GB, free: 29.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000846/8.284, allocations: 90.94 kB / 3.254 GB, free: 29.19 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/8.284, allocations: 66.44 kB / 3.254 GB, free: 29.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-05/8.284, allocations: 25.25 kB / 3.254 GB, free: 29.19 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005411/8.284, allocations: 381.9 kB / 3.255 GB, free: 29.09 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.15e-07/8.284, allocations: 1.859 kB / 3.255 GB, free: 29.09 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00549/8.29, allocations: 1.398 MB / 3.256 GB, free: 29.07 MB / 442.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 (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.008256/8.298, allocations: 1.728 MB / 3.258 GB, free: 28.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003495/8.302, allocations: 1.479 MB / 3.259 GB, free: 28.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.827e-06/8.302, allocations: 0 / 3.259 GB, free: 28.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00159/8.303, allocations: 0.8999 MB / 3.26 GB, free: 28.83 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/8.305, allocations: 280 kB / 3.26 GB, free: 28.82 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1854/8.491, allocations: 75.77 MB / 3.334 GB, free: 19.91 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006093/8.491, allocations: 1.156 MB / 3.336 GB, free: 18.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/8.492, allocations: 68.64 kB / 3.336 GB, free: 18.85 MB / 442.7 MB Notification: Performance of SimCode: time 2.078e-06/8.492, allocations: 0 / 3.336 GB, free: 18.85 MB / 442.7 MB Notification: Performance of Templates: time 0.06305/8.555, allocations: 42.15 MB / 3.377 GB, free: 5.645 MB / 458.7 MB