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.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics") Notification: Performance of loadModel(ModelicaTest): time 1.969/1.969, allocations: 209.3 MB / 221.9 MB, free: 1.852 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.71e-05/3.728e-05, allocations: 12 kB / 273.1 MB, free: 0.7188 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.088/0.08806, allocations: 48.7 MB / 321.8 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.269/6.358, allocations: 2.485 GB / 2.799 GB, free: 99.12 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/6.358, allocations: 84.92 kB / 2.799 GB, free: 99.11 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.752/10.11, allocations: 0.7915 GB / 3.591 GB, free: 29.44 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.256e-06/10.11, allocations: 1.125 kB / 3.591 GB, free: 29.44 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001479/10.11, allocations: 42.84 kB / 3.591 GB, free: 29.44 MB / 458.7 MB 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.01003/10.12, allocations: 2.511 MB / 3.593 GB, free: 28.46 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/10.12, allocations: 11.56 kB / 3.593 GB, free: 28.46 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004892/10.13, allocations: 459.6 kB / 3.593 GB, free: 28.38 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003042/10.13, allocations: 0.9933 MB / 3.594 GB, free: 28.05 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/10.13, allocations: 111.1 kB / 3.595 GB, free: 28.05 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003375/10.13, allocations: 121.6 kB / 3.595 GB, free: 28.05 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006264/10.14, allocations: 1.917 MB / 3.597 GB, free: 27.68 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.151e-05/10.14, allocations: 3.844 kB / 3.597 GB, free: 27.68 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002381/10.14, allocations: 58.69 kB / 3.597 GB, free: 27.68 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.979e-05/10.14, allocations: 55.91 kB / 3.597 GB, free: 27.67 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005801/10.14, allocations: 1.554 MB / 3.598 GB, free: 27.66 MB / 458.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.01374/10.16, allocations: 9.415 MB / 3.607 GB, free: 21.25 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003786/10.16, allocations: 1.06 MB / 3.608 GB, free: 21.2 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009353/10.16, allocations: 412.1 kB / 3.609 GB, free: 21.2 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009889/10.17, allocations: 5.424 MB / 3.614 GB, free: 17.35 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.013e-05/10.17, allocations: 46.41 kB / 3.614 GB, free: 17.31 MB / 458.7 MB Notification: Performance of pre-optimization done (n=91): time 4.579e-06/10.17, allocations: 3.219 kB / 3.614 GB, free: 17.31 MB / 458.7 MB Notification: Performance of matching and sorting (n=134): time 0.03812/10.21, allocations: 6.971 MB / 3.621 GB, free: 16.23 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/10.21, allocations: 116.9 kB / 3.621 GB, free: 16.1 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/10.21, allocations: 0.6837 MB / 3.622 GB, free: 15.94 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000286/10.21, allocations: 53.39 kB / 3.622 GB, free: 15.91 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003749/10.21, allocations: 0.668 MB / 3.622 GB, free: 15.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004602/10.21, allocations: 449.3 kB / 3.623 GB, free: 15.21 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/10.21, allocations: 33.84 kB / 3.623 GB, free: 15.21 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/10.21, allocations: 364.7 kB / 3.623 GB, free: 14.9 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/10.21, allocations: 0.5293 MB / 3.624 GB, free: 14.9 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001545/10.21, allocations: 0.945 MB / 3.625 GB, free: 14.42 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/10.22, allocations: 0.6455 MB / 3.625 GB, free: 14.39 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-05/10.22, allocations: 3.562 kB / 3.625 GB, free: 14.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.008055/10.22, allocations: 2.272 MB / 3.628 GB, free: 14.23 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002356/10.23, allocations: 5.05 MB / 3.632 GB, free: 24.97 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.093e-05/10.23, allocations: 14.88 kB / 3.632 GB, free: 24.97 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007539/10.23, allocations: 1.199 MB / 3.634 GB, free: 24.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/10.24, allocations: 282.5 kB / 3.634 GB, free: 24.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00949/10.25, allocations: 7.035 MB / 3.641 GB, free: 19.42 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002418/10.25, allocations: 188.2 kB / 3.641 GB, free: 19.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002587/10.25, allocations: 89.05 kB / 3.641 GB, free: 19.41 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/10.25, allocations: 4.781 kB / 3.641 GB, free: 19.41 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00772/10.26, allocations: 2.164 MB / 3.643 GB, free: 19.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.528e-05/10.26, allocations: 14.03 kB / 3.643 GB, free: 19.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005218/10.26, allocations: 0.9595 MB / 3.644 GB, free: 19.24 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/10.26, allocations: 301 kB / 3.644 GB, free: 19.24 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008795/10.27, allocations: 6.862 MB / 3.651 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002152/10.27, allocations: 184.9 kB / 3.651 GB, free: 13.76 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002877/10.27, allocations: 94.16 kB / 3.651 GB, free: 13.75 MB / 474.7 MB 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.0005845/10.27, allocations: 204.2 kB / 3.652 GB, free: 13.64 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004097/10.27, allocations: 123.1 kB / 3.652 GB, free: 13.58 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009238/10.28, allocations: 5.112 MB / 3.657 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-05/10.28, allocations: 46.42 kB / 3.657 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.419e-06/10.28, allocations: 2.812 kB / 3.657 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.971e-05/10.28, allocations: 7.5 kB / 3.657 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01461/10.3, allocations: 8.004 MB / 3.665 GB, free: 12.06 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.827e-05/10.3, allocations: 0 / 3.665 GB, free: 12.06 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/10.3, allocations: 175.7 kB / 3.665 GB, free: 12.06 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007892/10.31, allocations: 2.188 MB / 3.667 GB, free: 11.93 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002355/10.31, allocations: 34.7 kB / 3.667 GB, free: 11.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009985/10.32, allocations: 8.114 MB / 3.675 GB, free: 22.39 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.401e-06/10.32, allocations: 5.812 kB / 3.675 GB, free: 22.39 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008552/10.33, allocations: 4.117 MB / 3.679 GB, free: 21.84 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/10.33, allocations: 431.9 kB / 3.679 GB, free: 21.63 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003288/10.33, allocations: 30.2 kB / 3.679 GB, free: 21.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001951/10.33, allocations: 222.2 kB / 3.679 GB, free: 21.62 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003193/10.33, allocations: 125.7 kB / 3.68 GB, free: 21.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001831/10.33, allocations: 58.16 kB / 3.68 GB, free: 21.62 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001126/10.33, allocations: 0.5965 MB / 3.68 GB, free: 21.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.023e-06/10.33, allocations: 0 / 3.68 GB, free: 21.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008379/10.34, allocations: 2.031 MB / 3.682 GB, free: 21.26 MB / 490.7 MB 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.01034/10.35, allocations: 2.324 MB / 3.684 GB, free: 20.81 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01009/10.36, allocations: 3.268 MB / 3.688 GB, free: 20.53 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.672e-06/10.36, allocations: 0 / 3.688 GB, free: 20.53 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004088/10.36, allocations: 1.573 MB / 3.689 GB, free: 20.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003594/10.37, allocations: 0.5266 MB / 3.69 GB, free: 20.38 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5042/10.87, allocations: 76.78 MB / 3.765 GB, free: 56.12 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001452/10.87, allocations: 1.449 MB / 3.766 GB, free: 55.41 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005739/10.87, allocations: 113.6 kB / 3.766 GB, free: 55.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.629e-06/10.87, allocations: 1.859 kB / 3.766 GB, free: 55.4 MB / 490.7 MB Notification: Performance of Templates: time 0.1406/11.02, allocations: 110.5 MB / 3.874 GB, free: 40.07 MB / 490.7 MB