Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Source.ports.2..m_flow|Source.ports.2..p|Source.ports.2..h_outflow|Source.ports.3..m_flow|Source.ports.3..p|Source.ports.3..h_outflow|Source.ports.4..m_flow|Source.ports.4..p|Source.ports.4..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|Sink.ports.2..m_flow|Sink.ports.2..p|Sink.ports.2..h_outflow|Sink.ports.3..m_flow|Sink.ports.3..p|Sink.ports.3..h_outflow|Sink.ports.4..m_flow|Sink.ports.4..p|Sink.ports.4..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|downstreamPressure.y|pumpPolynomial.port_b.m_flow|pumpPolynomial.port_b.p|pumpPolynomial.port_b.h_outflow|pumpQuadraticLinear.port_b.m_flow|pumpQuadraticLinear.port_b.p|pumpQuadraticLinear.port_b.h_outflow|pumpLinear.port_b.m_flow|pumpLinear.port_b.p|pumpLinear.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics") Notification: Performance of loadModel(ModelicaTest): time 2.287/2.287, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 5.651e-05/5.686e-05, allocations: 4 kB / 323.4 MB, free: 4.305 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3918, allocations: 58.82 MB / 382.2 MB, free: 10.31 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.661/7.052, allocations: 2.764 GB / 3.138 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/7.053, allocations: 80.95 kB / 3.138 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.561/10.61, allocations: 0.8187 GB / 3.956 GB, free: 42.29 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.794e-06/10.61, allocations: 0 / 3.956 GB, free: 42.29 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001299/10.61, allocations: 39.05 kB / 3.956 GB, free: 42.29 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.009436/10.62, allocations: 2.585 MB / 3.959 GB, free: 41.26 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/10.62, allocations: 13.97 kB / 3.959 GB, free: 41.26 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004462/10.63, allocations: 468.2 kB / 3.959 GB, free: 41.18 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002651/10.63, allocations: 0.991 MB / 3.96 GB, free: 40.86 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/10.63, allocations: 105.2 kB / 3.96 GB, free: 40.85 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002339/10.63, allocations: 121.2 kB / 3.961 GB, free: 40.85 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005877/10.64, allocations: 1.934 MB / 3.962 GB, free: 40.48 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.831e-05/10.64, allocations: 6.844 kB / 3.962 GB, free: 40.48 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002073/10.64, allocations: 56.69 kB / 3.962 GB, free: 40.48 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.472e-05/10.64, allocations: 63.08 kB / 3.963 GB, free: 40.47 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005386/10.64, allocations: 1.555 MB / 3.964 GB, free: 40.46 MB / 0.5261 GB 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.01277/10.66, allocations: 9.448 MB / 3.973 GB, free: 34.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004052/10.66, allocations: 1.058 MB / 3.974 GB, free: 34.13 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008121/10.66, allocations: 407.2 kB / 3.975 GB, free: 34.12 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01872/10.68, allocations: 8.178 MB / 3.983 GB, free: 29.14 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.235e-05/10.68, allocations: 44.41 kB / 3.983 GB, free: 29.11 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=91): time 4.724e-06/10.68, allocations: 3.562 kB / 3.983 GB, free: 29.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=91): time 0.007923/10.69, allocations: 1.953 MB / 3.985 GB, free: 28.96 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/10.69, allocations: 116.2 kB / 3.985 GB, free: 28.83 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/10.69, allocations: 0.7522 MB / 3.986 GB, free: 28.67 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002063/10.69, allocations: 40.48 kB / 3.986 GB, free: 28.64 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004325/10.69, allocations: 0.6351 MB / 3.986 GB, free: 28.32 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003168/10.69, allocations: 312.2 kB / 3.986 GB, free: 28.12 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.863e-05/10.69, allocations: 27.94 kB / 3.986 GB, free: 28.12 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.781e-05/10.69, allocations: 354.3 kB / 3.987 GB, free: 27.82 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007991/10.69, allocations: 325.2 kB / 3.987 GB, free: 27.82 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008911/10.69, allocations: 0.6906 MB / 3.988 GB, free: 27.38 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008578/10.69, allocations: 422.5 kB / 3.988 GB, free: 27.37 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.998e-06/10.69, allocations: 5.281 kB / 3.988 GB, free: 27.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.004441/10.7, allocations: 1.452 MB / 3.99 GB, free: 27.22 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009121/10.7, allocations: 4.613 MB / 3.994 GB, free: 22.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.241e-05/10.7, allocations: 12.8 kB / 3.994 GB, free: 22.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002871/10.7, allocations: 0.5084 MB / 3.995 GB, free: 22.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/10.7, allocations: 219.9 kB / 3.995 GB, free: 22.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004096/10.71, allocations: 2.718 MB / 3.998 GB, free: 20.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002355/10.71, allocations: 251.6 kB / 3.998 GB, free: 20.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002219/10.71, allocations: 71.72 kB / 3.998 GB, free: 20.23 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/10.71, allocations: 3.562 kB / 3.998 GB, free: 20.23 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005289/10.71, allocations: 1.317 MB / 3.999 GB, free: 20.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.538e-05/10.71, allocations: 13.81 kB / 3.999 GB, free: 20.17 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003805/10.72, allocations: 462.9 kB / 4 GB, free: 20.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/10.72, allocations: 243.1 kB / 4 GB, free: 20.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004564/10.72, allocations: 2.596 MB / 4.002 GB, free: 34.06 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001951/10.73, allocations: 217.7 kB / 4.003 GB, free: 34.01 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001875/10.73, allocations: 68.86 kB / 4.003 GB, free: 34.01 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase,pumpLinear.monitoring.state_in.phase,pumpQuadraticLinear.monitoring.state_in.phase,pumpPolynomial.monitoring.state_in.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 107 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,2 8,2 8,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0004565/10.73, allocations: 194.3 kB / 4.003 GB, free: 33.89 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003247/10.73, allocations: 111.3 kB / 4.003 GB, free: 33.84 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006319/10.73, allocations: 3.885 MB / 4.007 GB, free: 33.49 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-05/10.73, allocations: 44.17 kB / 4.007 GB, free: 33.48 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/10.73, allocations: 3.469 kB / 4.007 GB, free: 33.48 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.019e-05/10.73, allocations: 3.703 kB / 4.007 GB, free: 33.48 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009424/10.74, allocations: 6.075 MB / 4.013 GB, free: 32.59 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/10.74, allocations: 2.938 kB / 4.013 GB, free: 32.59 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006298/10.74, allocations: 119 kB / 4.013 GB, free: 32.59 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003783/10.75, allocations: 1.45 MB / 4.014 GB, free: 32.53 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001538/10.75, allocations: 26.39 kB / 4.014 GB, free: 32.53 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004541/10.75, allocations: 3.718 MB / 4.018 GB, free: 30.41 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.725e-06/10.75, allocations: 3.953 kB / 4.018 GB, free: 30.4 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004561/10.76, allocations: 2.728 MB / 4.021 GB, free: 30.05 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/10.76, allocations: 405 kB / 4.021 GB, free: 29.82 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002142/10.76, allocations: 22.69 kB / 4.021 GB, free: 29.82 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/10.76, allocations: 192.2 kB / 4.021 GB, free: 29.82 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/10.76, allocations: 95.39 kB / 4.021 GB, free: 29.81 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/10.76, allocations: 35.8 kB / 4.021 GB, free: 29.81 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.001172/10.76, allocations: 0.6622 MB / 4.022 GB, free: 29.7 MB / 0.5418 GB Notification: Performance of sort global known variables: time 8.84e-07/10.76, allocations: 0 / 4.022 GB, free: 29.7 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.007591/10.77, allocations: 1.947 MB / 4.024 GB, free: 29.39 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 10,2 10,2 10,2 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.009846/10.78, allocations: 2.209 MB / 4.026 GB, free: 28.99 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.007831/10.79, allocations: 1.966 MB / 4.028 GB, free: 28.94 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/10.79, allocations: 7.031 kB / 4.028 GB, free: 28.94 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.002335/10.79, allocations: 0.9064 MB / 4.029 GB, free: 28.93 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003454/10.79, allocations: 0.5539 MB / 4.029 GB, free: 28.91 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004904/10.8, allocations: 2.33 MB / 4.032 GB, free: 28.33 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001201/10.8, allocations: 1.399 MB / 4.033 GB, free: 27.61 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.002788/10.8, allocations: 0.9684 MB / 4.034 GB, free: 27.59 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/10.8, allocations: 69.66 kB / 4.034 GB, free: 27.58 MB / 0.5418 GB Notification: Performance of SimCode: time 1.799e-06/10.8, allocations: 0 / 4.034 GB, free: 27.58 MB / 0.5418 GB Notification: Performance of Templates: time 0.1266/10.93, allocations: 66.35 MB / 4.099 GB, free: 18.2 MB / 0.5418 GB