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.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") Notification: Performance of loadModel(ModelicaTest): time 1.831/1.831, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.154e-05/3.169e-05, allocations: 4 kB / 273.1 MB, free: 3.652 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08414/0.08419, allocations: 48.69 MB / 321.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.957/6.041, allocations: 2.502 GB / 2.817 GB, free: 123.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/6.041, allocations: 84.7 kB / 2.817 GB, free: 123.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.749/7.79, allocations: 426.4 MB / 3.233 GB, free: 43.93 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.31e-06/7.79, allocations: 3.688 kB / 3.233 GB, free: 43.93 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.152e-05/7.79, allocations: 17.38 kB / 3.233 GB, free: 43.93 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.005981/7.796, allocations: 1.731 MB / 3.235 GB, free: 42.87 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/7.797, allocations: 10.94 kB / 3.235 GB, free: 42.87 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003194/7.8, allocations: 316.2 kB / 3.235 GB, free: 42.81 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/7.801, allocations: 0.591 MB / 3.236 GB, free: 42.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.643e-05/7.801, allocations: 46.75 kB / 3.236 GB, free: 42.41 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/7.801, allocations: 62.16 kB / 3.236 GB, free: 42.38 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002623/7.804, allocations: 0.9826 MB / 3.237 GB, free: 41.93 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/7.804, allocations: 0 / 3.237 GB, free: 41.93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.629e-05/7.804, allocations: 27.53 kB / 3.237 GB, free: 41.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-05/7.804, allocations: 22.41 kB / 3.237 GB, free: 41.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002662/7.807, allocations: 0.8188 MB / 3.238 GB, free: 41.48 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.00592/7.813, allocations: 4.745 MB / 3.242 GB, free: 36.84 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00255/7.815, allocations: 0.7488 MB / 3.243 GB, free: 36.1 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004218/7.816, allocations: 234 kB / 3.243 GB, free: 35.87 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04018/7.856, allocations: 21.39 MB / 3.264 GB, free: 11.9 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/7.856, allocations: 38.95 kB / 3.264 GB, free: 11.85 MB / 442.7 MB Notification: Performance of pre-optimization done (n=47): time 3.924e-06/7.856, allocations: 4 kB / 3.264 GB, free: 11.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=68): time 0.02775/7.884, allocations: 4.001 MB / 3.268 GB, free: 7.785 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/7.884, allocations: 111.4 kB / 3.268 GB, free: 7.652 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006209/7.885, allocations: 444.6 kB / 3.269 GB, free: 7.215 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.959e-05/7.885, allocations: 37.7 kB / 3.269 GB, free: 7.172 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/7.885, allocations: 382.2 kB / 3.269 GB, free: 6.793 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/7.885, allocations: 234.3 kB / 3.269 GB, free: 6.566 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.329e-05/7.885, allocations: 16 kB / 3.269 GB, free: 6.551 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.411e-05/7.885, allocations: 338.8 kB / 3.27 GB, free: 6.211 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006916/7.886, allocations: 337.9 kB / 3.27 GB, free: 5.879 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008248/7.887, allocations: 0.5338 MB / 3.27 GB, free: 5.254 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008611/7.888, allocations: 393.9 kB / 3.271 GB, free: 4.867 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.752e-06/7.888, allocations: 3.938 kB / 3.271 GB, free: 4.863 MB / 442.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002754/7.891, allocations: 1.15 MB / 3.272 GB, free: 3.703 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004654/7.891, allocations: 2.445 MB / 3.274 GB, free: 1.066 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/7.891, allocations: 4 kB / 3.274 GB, free: 1.062 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008544/7.9, allocations: 1.323 MB / 3.276 GB, free: 15.74 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009629/7.901, allocations: 175.7 kB / 3.276 GB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00328/7.904, allocations: 1.762 MB / 3.277 GB, free: 13.76 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/7.905, allocations: 116 kB / 3.278 GB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/7.906, allocations: 51.97 kB / 3.278 GB, free: 13.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/7.906, allocations: 4 kB / 3.278 GB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003354/7.909, allocations: 1.113 MB / 3.279 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/7.909, allocations: 8 kB / 3.279 GB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003687/7.913, allocations: 0.6886 MB / 3.279 GB, free: 11.78 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009847/7.914, allocations: 183.7 kB / 3.28 GB, free: 11.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002697/7.916, allocations: 1.636 MB / 3.281 GB, free: 9.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/7.918, allocations: 119.9 kB / 3.281 GB, free: 9.793 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/7.918, allocations: 51.97 kB / 3.281 GB, free: 9.742 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 (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.0003394/7.918, allocations: 155.2 kB / 3.281 GB, free: 9.586 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002341/7.918, allocations: 71.16 kB / 3.282 GB, free: 9.516 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007866/7.926, allocations: 4.08 MB / 3.286 GB, free: 5.371 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.804e-05/7.926, allocations: 51.92 kB / 3.286 GB, free: 5.32 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/7.926, allocations: 0 / 3.286 GB, free: 5.32 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.787e-05/7.926, allocations: 7.922 kB / 3.286 GB, free: 5.312 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2914/8.218, allocations: 5.331 MB / 3.291 GB, free: 64.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.862e-05/8.218, allocations: 1.25 kB / 3.291 GB, free: 64.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/8.219, allocations: 110.1 kB / 3.291 GB, free: 64.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01987/8.239, allocations: 2.227 MB / 3.293 GB, free: 64.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002613/8.239, allocations: 28.12 kB / 3.293 GB, free: 64.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00729/8.247, allocations: 2.514 MB / 3.296 GB, free: 63.67 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.435e-06/8.247, allocations: 6.812 kB / 3.296 GB, free: 63.67 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01153/8.258, allocations: 2.749 MB / 3.298 GB, free: 63.38 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001458/8.26, allocations: 359.1 kB / 3.299 GB, free: 63.26 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003681/8.26, allocations: 17.33 kB / 3.299 GB, free: 63.26 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002312/8.263, allocations: 109.2 kB / 3.299 GB, free: 63.26 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003742/8.263, allocations: 66.08 kB / 3.299 GB, free: 63.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002357/8.263, allocations: 31.08 kB / 3.299 GB, free: 63.25 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001547/8.265, allocations: 432.6 kB / 3.299 GB, free: 63.16 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.823e-06/8.265, allocations: 4.781 kB / 3.299 GB, free: 63.16 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009937/8.275, allocations: 1.569 MB / 3.301 GB, free: 63.16 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,$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.009245/8.284, allocations: 1.851 MB / 3.303 GB, free: 63.03 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004537/8.289, allocations: 1.886 MB / 3.304 GB, free: 62.99 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/8.289, allocations: 1.625 kB / 3.304 GB, free: 62.99 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002028/8.291, allocations: 1.077 MB / 3.305 GB, free: 62.98 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/8.293, allocations: 303.4 kB / 3.306 GB, free: 62.98 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1811/8.474, allocations: 76 MB / 3.38 GB, free: 60.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006664/8.475, allocations: 1.19 MB / 3.381 GB, free: 60.08 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003171/8.475, allocations: 71.14 kB / 3.381 GB, free: 60.07 MB / 458.7 MB Notification: Performance of SimCode: time 2.518e-06/8.475, allocations: 0 / 3.381 GB, free: 60.07 MB / 458.7 MB Notification: Performance of Templates: time 0.07099/8.546, allocations: 46.23 MB / 3.426 GB, free: 33.03 MB / 458.7 MB