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.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics") Notification: Performance of loadModel(ModelicaTest): time 2.137/2.137, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.477e-05/3.495e-05, allocations: 4 kB / 304.9 MB, free: 5.641 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3244, allocations: 54.86 MB / 359.8 MB, free: 2.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.93/6.254, allocations: 2.595 GB / 2.947 GB, free: 5.488 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/6.255, allocations: 82.64 kB / 2.947 GB, free: 5.445 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.773/10.03, allocations: 0.8134 GB / 3.76 GB, free: 37.76 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.074e-06/10.03, allocations: 3.906 kB / 3.76 GB, free: 37.76 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001159/10.03, allocations: 36.36 kB / 3.76 GB, free: 37.76 MB / 0.4948 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.00895/10.04, allocations: 2.592 MB / 3.763 GB, free: 36.59 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/10.04, allocations: 6.812 kB / 3.763 GB, free: 36.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004877/10.04, allocations: 472.8 kB / 3.763 GB, free: 36.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002677/10.04, allocations: 0.9953 MB / 3.764 GB, free: 36.17 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/10.04, allocations: 110.1 kB / 3.764 GB, free: 36.16 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002977/10.04, allocations: 122.6 kB / 3.764 GB, free: 36.16 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00546/10.05, allocations: 1.915 MB / 3.766 GB, free: 35.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.428e-05/10.05, allocations: 2.531 kB / 3.766 GB, free: 35.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000224/10.05, allocations: 63.75 kB / 3.766 GB, free: 35.79 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.278e-05/10.05, allocations: 57.33 kB / 3.766 GB, free: 35.79 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004779/10.06, allocations: 1.55 MB / 3.768 GB, free: 35.78 MB / 0.4948 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.01174/10.07, allocations: 9.412 MB / 3.777 GB, free: 29.36 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003661/10.07, allocations: 1.054 MB / 3.778 GB, free: 29.33 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008516/10.07, allocations: 415.3 kB / 3.779 GB, free: 29.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01072/10.08, allocations: 5.48 MB / 3.784 GB, free: 25.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/10.08, allocations: 44.09 kB / 3.784 GB, free: 25.42 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=91): time 4.969e-06/10.08, allocations: 0 / 3.784 GB, free: 25.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=134): time 0.03725/10.12, allocations: 6.977 MB / 3.791 GB, free: 24.35 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/10.12, allocations: 115.3 kB / 3.791 GB, free: 24.22 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/10.12, allocations: 0.6955 MB / 3.792 GB, free: 24.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002607/10.12, allocations: 47.36 kB / 3.792 GB, free: 24.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003745/10.12, allocations: 0.6643 MB / 3.792 GB, free: 23.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004341/10.12, allocations: 452.5 kB / 3.793 GB, free: 23.33 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/10.12, allocations: 31.25 kB / 3.793 GB, free: 23.33 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001119/10.12, allocations: 375.4 kB / 3.793 GB, free: 23.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/10.12, allocations: 0.5224 MB / 3.794 GB, free: 23.01 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/10.13, allocations: 0.9519 MB / 3.795 GB, free: 22.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/10.13, allocations: 0.6402 MB / 3.795 GB, free: 22.51 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/10.13, allocations: 3.062 kB / 3.795 GB, free: 22.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.007433/10.13, allocations: 2.272 MB / 3.797 GB, free: 22.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001016/10.14, allocations: 5.047 MB / 3.802 GB, free: 17.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.245e-05/10.14, allocations: 14.38 kB / 3.802 GB, free: 17.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007575/10.14, allocations: 1.202 MB / 3.804 GB, free: 17.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/10.14, allocations: 285.4 kB / 3.804 GB, free: 17.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008891/10.15, allocations: 7.024 MB / 3.811 GB, free: 27.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002297/10.16, allocations: 187.8 kB / 3.811 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002726/10.16, allocations: 89.89 kB / 3.811 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/10.16, allocations: 7.141 kB / 3.811 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007438/10.16, allocations: 2.166 MB / 3.813 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.549e-05/10.16, allocations: 11.78 kB / 3.813 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005658/10.17, allocations: 0.9654 MB / 3.814 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/10.17, allocations: 303.5 kB / 3.814 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008732/10.18, allocations: 6.858 MB / 3.821 GB, free: 21.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/10.18, allocations: 179.4 kB / 3.821 GB, free: 21.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002021/10.18, allocations: 82.3 kB / 3.821 GB, free: 21.87 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 (134): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 7 {2 6,2 8,2 6,2 8,2 8,2 6,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.000515/10.18, allocations: 208.8 kB / 3.821 GB, free: 21.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000382/10.18, allocations: 130.5 kB / 3.822 GB, free: 21.69 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009362/10.19, allocations: 5.114 MB / 3.827 GB, free: 21.24 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.136e-05/10.19, allocations: 43.02 kB / 3.827 GB, free: 21.24 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-06/10.19, allocations: 0 / 3.827 GB, free: 21.24 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.861e-05/10.19, allocations: 13.7 kB / 3.827 GB, free: 21.24 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0143/10.21, allocations: 8.019 MB / 3.834 GB, free: 20.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.689e-05/10.21, allocations: 0 / 3.834 GB, free: 20.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/10.21, allocations: 174.8 kB / 3.835 GB, free: 20.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007886/10.22, allocations: 2.18 MB / 3.837 GB, free: 20.02 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000257/10.22, allocations: 37.22 kB / 3.837 GB, free: 20.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009649/10.23, allocations: 8.116 MB / 3.845 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.209e-06/10.23, allocations: 3.938 kB / 3.845 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008204/10.23, allocations: 4.12 MB / 3.849 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/10.24, allocations: 434.4 kB / 3.849 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003393/10.24, allocations: 25.5 kB / 3.849 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002046/10.24, allocations: 228.5 kB / 3.849 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003124/10.24, allocations: 120.8 kB / 3.849 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001717/10.24, allocations: 60.73 kB / 3.85 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001086/10.24, allocations: 0.595 MB / 3.85 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.85e-07/10.24, allocations: 0 / 3.85 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008263/10.25, allocations: 2.048 MB / 3.852 GB, free: 13.34 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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,$cse13.phase,$cse13.region,$cse15.phase,$cse15.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 (81): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 7 {2 6,2 10,2 6,2 6,2 10,2 10,2 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01059/10.26, allocations: 2.346 MB / 3.854 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01032/10.27, allocations: 3.266 MB / 3.858 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.671e-06/10.27, allocations: 0 / 3.858 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004011/10.27, allocations: 1.583 MB / 3.859 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003437/10.28, allocations: 0.5219 MB / 3.86 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5342/10.81, allocations: 79 MB / 3.937 GB, free: 61.77 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/10.81, allocations: 1.447 MB / 3.938 GB, free: 61.06 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004883/10.81, allocations: 112.6 kB / 3.938 GB, free: 61.05 MB / 0.5261 GB Notification: Performance of SimCode: time 1.995e-06/10.81, allocations: 0 / 3.938 GB, free: 61.05 MB / 0.5261 GB Notification: Performance of Templates: time 0.1292/10.94, allocations: 110.7 MB / 4.046 GB, free: 44.16 MB / 0.5261 GB