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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics") Notification: Performance of loadModel(ModelicaTest): time 2.61/2.61, allocations: 270 MB / 283.6 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.449e-05/3.446e-05, allocations: 11.98 kB / 348.4 MB, free: 2.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3466, allocations: 61.87 MB / 410.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.195/7.542, allocations: 2.77 GB / 3.171 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/7.542, allocations: 87.47 kB / 3.171 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.777/11.32, allocations: 0.8275 GB / 3.998 GB, free: 42.67 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.674e-06/11.32, allocations: 0 / 3.998 GB, free: 42.67 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.000128/11.32, allocations: 40.11 kB / 3.998 GB, free: 42.67 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.009697/11.33, allocations: 2.594 MB / 4.001 GB, free: 41.5 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/11.33, allocations: 6.906 kB / 4.001 GB, free: 41.5 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005306/11.33, allocations: 464.9 kB / 4.001 GB, free: 41.42 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002682/11.34, allocations: 0.9891 MB / 4.002 GB, free: 41.09 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/11.34, allocations: 107.1 kB / 4.002 GB, free: 41.09 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002444/11.34, allocations: 118.3 kB / 4.002 GB, free: 41.09 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006149/11.34, allocations: 1.939 MB / 4.004 GB, free: 40.72 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.841e-05/11.34, allocations: 10.31 kB / 4.004 GB, free: 40.72 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002242/11.34, allocations: 54.95 kB / 4.004 GB, free: 40.72 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.1e-05/11.34, allocations: 55.92 kB / 4.004 GB, free: 40.71 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00571/11.35, allocations: 1.556 MB / 4.006 GB, free: 40.71 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.01297/11.36, allocations: 9.445 MB / 4.015 GB, free: 34.4 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003703/11.37, allocations: 1.061 MB / 4.016 GB, free: 34.38 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009028/11.37, allocations: 413 kB / 4.017 GB, free: 34.37 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01943/11.39, allocations: 8.178 MB / 4.025 GB, free: 29.39 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/11.39, allocations: 55.25 kB / 4.025 GB, free: 29.35 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=91): time 3.852e-06/11.39, allocations: 0 / 4.025 GB, free: 29.35 MB / 0.5417 GB Notification: Performance of matching and sorting (n=91): time 0.009162/11.4, allocations: 1.959 MB / 4.026 GB, free: 29.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/11.4, allocations: 111.3 kB / 4.027 GB, free: 29.07 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00145/11.4, allocations: 0.7446 MB / 4.027 GB, free: 28.91 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.00022/11.4, allocations: 43.33 kB / 4.027 GB, free: 28.88 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004413/11.4, allocations: 0.6392 MB / 4.028 GB, free: 28.56 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003294/11.4, allocations: 313.7 kB / 4.028 GB, free: 28.36 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.477e-05/11.4, allocations: 20.69 kB / 4.028 GB, free: 28.36 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.624e-05/11.4, allocations: 357 kB / 4.029 GB, free: 28.05 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008036/11.4, allocations: 327.6 kB / 4.029 GB, free: 28.05 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009883/11.4, allocations: 0.6909 MB / 4.03 GB, free: 27.62 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009643/11.4, allocations: 419 kB / 4.03 GB, free: 27.61 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/11.4, allocations: 3.938 kB / 4.03 GB, free: 27.61 MB / 0.5417 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.004512/11.41, allocations: 1.448 MB / 4.031 GB, free: 27.46 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001885/11.41, allocations: 4.619 MB / 4.036 GB, free: 38.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.578e-05/11.41, allocations: 9.438 kB / 4.036 GB, free: 38.66 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002983/11.41, allocations: 0.5141 MB / 4.036 GB, free: 38.63 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009874/11.41, allocations: 218.7 kB / 4.037 GB, free: 38.63 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004691/11.42, allocations: 2.722 MB / 4.039 GB, free: 36.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002201/11.42, allocations: 246.5 kB / 4.04 GB, free: 36.47 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000217/11.42, allocations: 73.67 kB / 4.04 GB, free: 36.47 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/11.42, allocations: 5.375 kB / 4.04 GB, free: 36.47 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005258/11.42, allocations: 1.314 MB / 4.041 GB, free: 36.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.053e-05/11.42, allocations: 10.28 kB / 4.041 GB, free: 36.42 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003729/11.43, allocations: 469.7 kB / 4.041 GB, free: 36.39 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/11.43, allocations: 252.1 kB / 4.042 GB, free: 36.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004125/11.43, allocations: 2.595 MB / 4.044 GB, free: 34.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/11.44, allocations: 212 kB / 4.044 GB, free: 34.26 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001954/11.44, allocations: 64.42 kB / 4.044 GB, free: 34.26 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.0004441/11.44, allocations: 187.8 kB / 4.045 GB, free: 34.14 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003389/11.44, allocations: 123.4 kB / 4.045 GB, free: 34.08 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006294/11.44, allocations: 3.89 MB / 4.049 GB, free: 33.72 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.655e-05/11.44, allocations: 37.39 kB / 4.049 GB, free: 33.72 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.725e-06/11.44, allocations: 1.5 kB / 4.049 GB, free: 33.72 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.29e-05/11.44, allocations: 6.328 kB / 4.049 GB, free: 33.72 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009397/11.45, allocations: 6.066 MB / 4.054 GB, free: 32.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/11.45, allocations: 3.75 kB / 4.055 GB, free: 32.82 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005933/11.45, allocations: 132.5 kB / 4.055 GB, free: 32.82 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003639/11.46, allocations: 1.451 MB / 4.056 GB, free: 32.76 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001494/11.46, allocations: 21.45 kB / 4.056 GB, free: 32.76 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004494/11.46, allocations: 3.716 MB / 4.06 GB, free: 30.65 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.441e-06/11.46, allocations: 0 / 4.06 GB, free: 30.65 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004491/11.47, allocations: 2.741 MB / 4.062 GB, free: 30.29 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/11.47, allocations: 406 kB / 4.063 GB, free: 30.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002296/11.47, allocations: 17.31 kB / 4.063 GB, free: 30.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001715/11.47, allocations: 196.9 kB / 4.063 GB, free: 30.06 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002154/11.47, allocations: 84.58 kB / 4.063 GB, free: 30.06 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/11.47, allocations: 38.56 kB / 4.063 GB, free: 30.06 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001183/11.47, allocations: 0.6562 MB / 4.064 GB, free: 29.94 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.7e-07/11.47, allocations: 10.59 kB / 4.064 GB, free: 29.94 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007648/11.48, allocations: 1.947 MB / 4.066 GB, free: 29.64 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.009898/11.49, allocations: 2.22 MB / 4.068 GB, free: 29.23 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007256/11.5, allocations: 1.965 MB / 4.07 GB, free: 29.18 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.179e-06/11.5, allocations: 0 / 4.07 GB, free: 29.18 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002559/11.5, allocations: 0.9148 MB / 4.071 GB, free: 29.16 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003955/11.5, allocations: 0.5792 MB / 4.071 GB, free: 29.14 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004906/11.51, allocations: 2.322 MB / 4.073 GB, free: 28.57 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/11.51, allocations: 1.399 MB / 4.075 GB, free: 27.85 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002726/11.51, allocations: 0.9582 MB / 4.076 GB, free: 27.84 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/11.51, allocations: 76.12 kB / 4.076 GB, free: 27.83 MB / 0.5573 GB Notification: Performance of SimCode: time 2.072e-06/11.51, allocations: 0 / 4.076 GB, free: 27.83 MB / 0.5573 GB Notification: Performance of Templates: time 0.1272/11.64, allocations: 66.63 MB / 4.141 GB, free: 5.27 MB / 0.5573 GB