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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics") Notification: Performance of loadModel(ModelicaTest): time 2.661/2.661, allocations: 270.1 MB / 283.6 MB, free: 3.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.74e-05/3.749e-05, allocations: 4 kB / 348.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1138, allocations: 61.89 MB / 410.3 MB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.965/7.079, allocations: 2.77 GB / 3.171 GB, free: 164.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/7.08, allocations: 83.27 kB / 3.171 GB, free: 164.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.706/10.79, allocations: 0.8275 GB / 3.998 GB, free: 42.24 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.841e-06/10.79, allocations: 0 / 3.998 GB, free: 42.24 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001234/10.79, allocations: 40.69 kB / 3.998 GB, free: 42.24 MB / 0.5417 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.009456/10.8, allocations: 2.591 MB / 4.001 GB, free: 41.08 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/10.8, allocations: 12 kB / 4.001 GB, free: 41.08 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004549/10.8, allocations: 461.5 kB / 4.001 GB, free: 41 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00276/10.8, allocations: 0.9967 MB / 4.002 GB, free: 40.67 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/10.8, allocations: 113.4 kB / 4.002 GB, free: 40.67 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002563/10.8, allocations: 123.3 kB / 4.002 GB, free: 40.67 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005794/10.81, allocations: 1.93 MB / 4.004 GB, free: 40.3 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.46e-05/10.81, allocations: 3.562 kB / 4.004 GB, free: 40.3 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002208/10.81, allocations: 57.53 kB / 4.004 GB, free: 40.3 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.271e-05/10.81, allocations: 53.77 kB / 4.004 GB, free: 40.29 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005439/10.81, allocations: 1.564 MB / 4.006 GB, free: 40.29 MB / 0.5417 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.01339/10.83, allocations: 9.443 MB / 4.015 GB, free: 33.98 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003984/10.83, allocations: 1.057 MB / 4.016 GB, free: 33.95 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000878/10.83, allocations: 408.9 kB / 4.017 GB, free: 33.95 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01859/10.85, allocations: 8.185 MB / 4.025 GB, free: 28.96 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/10.85, allocations: 50.02 kB / 4.025 GB, free: 28.92 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=91): time 4.214e-06/10.85, allocations: 0 / 4.025 GB, free: 28.92 MB / 0.5417 GB Notification: Performance of matching and sorting (n=91): time 0.008903/10.86, allocations: 1.963 MB / 4.027 GB, free: 28.77 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/10.86, allocations: 111.9 kB / 4.027 GB, free: 28.64 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/10.86, allocations: 0.7444 MB / 4.027 GB, free: 28.48 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002394/10.86, allocations: 41.83 kB / 4.027 GB, free: 28.45 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004677/10.86, allocations: 0.6393 MB / 4.028 GB, free: 28.13 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003609/10.86, allocations: 316.9 kB / 4.028 GB, free: 27.93 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.882e-05/10.86, allocations: 21.06 kB / 4.028 GB, free: 27.93 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.765e-05/10.86, allocations: 353.6 kB / 4.029 GB, free: 27.62 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007881/10.86, allocations: 329.5 kB / 4.029 GB, free: 27.62 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008997/10.87, allocations: 0.6886 MB / 4.03 GB, free: 27.19 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008702/10.87, allocations: 425 kB / 4.03 GB, free: 27.18 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.901e-06/10.87, allocations: 4.594 kB / 4.03 GB, free: 27.18 MB / 0.5417 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.004287/10.87, allocations: 1.448 MB / 4.031 GB, free: 27.04 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009326/10.87, allocations: 4.61 MB / 4.036 GB, free: 22.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/10.87, allocations: 15.78 kB / 4.036 GB, free: 22.24 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002753/10.87, allocations: 0.5122 MB / 4.037 GB, free: 22.21 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/10.88, allocations: 216.2 kB / 4.037 GB, free: 22.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004252/10.88, allocations: 2.721 MB / 4.039 GB, free: 20.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002215/10.88, allocations: 249.2 kB / 4.04 GB, free: 20.05 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002303/10.88, allocations: 75.23 kB / 4.04 GB, free: 20.05 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/10.88, allocations: 7.031 kB / 4.04 GB, free: 20.05 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004786/10.89, allocations: 1.31 MB / 4.041 GB, free: 19.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.99e-05/10.89, allocations: 10.12 kB / 4.041 GB, free: 19.99 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003372/10.89, allocations: 471.4 kB / 4.041 GB, free: 19.96 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/10.89, allocations: 246.9 kB / 4.042 GB, free: 19.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004212/10.9, allocations: 2.595 MB / 4.044 GB, free: 33.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002178/10.9, allocations: 216.7 kB / 4.044 GB, free: 33.83 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002249/10.9, allocations: 70.27 kB / 4.044 GB, free: 33.83 MB / 0.5573 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.0004401/10.9, allocations: 180.1 kB / 4.045 GB, free: 33.71 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003515/10.9, allocations: 122 kB / 4.045 GB, free: 33.65 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006368/10.91, allocations: 3.899 MB / 4.049 GB, free: 33.29 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.357e-05/10.91, allocations: 35.89 kB / 4.049 GB, free: 33.29 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.379e-06/10.91, allocations: 3.938 kB / 4.049 GB, free: 33.29 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.015e-05/10.91, allocations: 6.109 kB / 4.049 GB, free: 33.29 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009447/10.92, allocations: 6.07 MB / 4.055 GB, free: 32.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.8e-05/10.92, allocations: 3.562 kB / 4.055 GB, free: 32.39 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009981/10.92, allocations: 129.4 kB / 4.055 GB, free: 32.39 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00577/10.92, allocations: 1.44 MB / 4.056 GB, free: 32.33 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002224/10.92, allocations: 24.14 kB / 4.056 GB, free: 32.33 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006942/10.93, allocations: 3.712 MB / 4.06 GB, free: 30.22 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.985e-06/10.93, allocations: 3.938 kB / 4.06 GB, free: 30.22 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005223/10.93, allocations: 2.729 MB / 4.062 GB, free: 29.86 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/10.94, allocations: 413.2 kB / 4.063 GB, free: 29.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003476/10.94, allocations: 17.62 kB / 4.063 GB, free: 29.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/10.94, allocations: 195.9 kB / 4.063 GB, free: 29.63 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002183/10.94, allocations: 83.69 kB / 4.063 GB, free: 29.63 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/10.94, allocations: 34.14 kB / 4.063 GB, free: 29.63 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001237/10.94, allocations: 0.6566 MB / 4.064 GB, free: 29.51 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.86e-07/10.94, allocations: 2.094 kB / 4.064 GB, free: 29.51 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007485/10.95, allocations: 1.952 MB / 4.066 GB, free: 29.21 MB / 0.5573 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.009755/10.96, allocations: 2.233 MB / 4.068 GB, free: 28.79 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.008442/10.97, allocations: 1.964 MB / 4.07 GB, free: 28.74 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.787e-06/10.97, allocations: 0 / 4.07 GB, free: 28.74 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002483/10.97, allocations: 0.9138 MB / 4.071 GB, free: 28.73 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003559/10.97, allocations: 0.5881 MB / 4.071 GB, free: 28.71 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00497/10.98, allocations: 2.316 MB / 4.073 GB, free: 28.14 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/10.98, allocations: 1.401 MB / 4.075 GB, free: 27.42 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002745/10.98, allocations: 0.9461 MB / 4.076 GB, free: 27.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/10.98, allocations: 73.09 kB / 4.076 GB, free: 27.39 MB / 0.5573 GB Notification: Performance of SimCode: time 1.997e-06/10.98, allocations: 0 / 4.076 GB, free: 27.39 MB / 0.5573 GB Notification: Performance of Templates: time 0.1271/11.11, allocations: 66.63 MB / 4.141 GB, free: 7.324 MB / 0.5573 GB