Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valveOpening.y|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV") Notification: Performance of loadModel(ModelicaTest): time 2.459/2.459, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.065e-05/3.074e-05, allocations: 4 kB / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1105, allocations: 61.89 MB / 410.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.964/7.074, allocations: 2.77 GB / 3.171 GB, free: 165.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/7.074, allocations: 83.73 kB / 3.171 GB, free: 165.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.871/8.945, allocations: 424.6 MB / 3.586 GB, free: 67.36 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.251e-06/8.946, allocations: 0 / 3.586 GB, free: 67.36 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.153e-05/8.946, allocations: 24.91 kB / 3.586 GB, free: 67.36 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.00559/8.951, allocations: 1.637 MB / 3.587 GB, free: 66.66 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/8.951, allocations: 14.84 kB / 3.587 GB, free: 66.66 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003589/8.955, allocations: 304.4 kB / 3.588 GB, free: 66.62 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/8.956, allocations: 0.523 MB / 3.588 GB, free: 66.38 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.474e-05/8.956, allocations: 52.72 kB / 3.588 GB, free: 66.38 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/8.956, allocations: 56.72 kB / 3.588 GB, free: 66.38 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00271/8.959, allocations: 0.9314 MB / 3.589 GB, free: 66.18 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/8.959, allocations: 6.562 kB / 3.589 GB, free: 66.18 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-05/8.959, allocations: 28.66 kB / 3.589 GB, free: 66.18 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.61e-05/8.959, allocations: 24.34 kB / 3.589 GB, free: 66.18 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002396/8.962, allocations: 0.769 MB / 3.59 GB, free: 66.18 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.005458/8.967, allocations: 4.641 MB / 3.594 GB, free: 62.95 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002284/8.969, allocations: 0.6826 MB / 3.595 GB, free: 62.93 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004103/8.97, allocations: 214.2 kB / 3.595 GB, free: 62.92 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05433/9.024, allocations: 24.15 MB / 3.619 GB, free: 48.27 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/9.024, allocations: 49.33 kB / 3.619 GB, free: 48.22 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=43): time 3.652e-06/9.024, allocations: 0 / 3.619 GB, free: 48.22 MB / 0.5261 GB Notification: Performance of matching and sorting (n=43): time 0.004117/9.028, allocations: 0.991 MB / 3.62 GB, free: 48.15 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/9.028, allocations: 112.4 kB / 3.62 GB, free: 48.02 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005709/9.029, allocations: 399.4 kB / 3.62 GB, free: 47.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.672e-05/9.029, allocations: 38.48 kB / 3.62 GB, free: 47.87 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/9.029, allocations: 316.7 kB / 3.621 GB, free: 47.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/9.029, allocations: 148.1 kB / 3.621 GB, free: 47.61 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/9.03, allocations: 10.09 kB / 3.621 GB, free: 47.61 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.72e-05/9.03, allocations: 359.1 kB / 3.621 GB, free: 47.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003387/9.03, allocations: 160.2 kB / 3.621 GB, free: 47.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004161/9.03, allocations: 325.4 kB / 3.622 GB, free: 47.11 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003994/9.031, allocations: 202.9 kB / 3.622 GB, free: 47.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.483e-06/9.031, allocations: 0 / 3.622 GB, free: 47.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001741/9.033, allocations: 0.6387 MB / 3.622 GB, free: 47.02 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003866/9.033, allocations: 1.926 MB / 3.624 GB, free: 45.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/9.033, allocations: 3.938 kB / 3.624 GB, free: 45.03 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000896/9.034, allocations: 172.6 kB / 3.625 GB, free: 45.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005821/9.035, allocations: 125.6 kB / 3.625 GB, free: 45.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008968/9.035, allocations: 0.7335 MB / 3.625 GB, free: 44.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009509/9.036, allocations: 107.8 kB / 3.625 GB, free: 44.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-05/9.037, allocations: 33.22 kB / 3.625 GB, free: 44.46 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/9.037, allocations: 3.5 kB / 3.625 GB, free: 44.46 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001486/9.038, allocations: 0.5533 MB / 3.626 GB, free: 44.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/9.038, allocations: 3.938 kB / 3.626 GB, free: 44.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001207/9.039, allocations: 179.8 kB / 3.626 GB, free: 44.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006149/9.04, allocations: 120.9 kB / 3.626 GB, free: 44.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007369/9.041, allocations: 0.7077 MB / 3.627 GB, free: 43.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008928/9.042, allocations: 100.3 kB / 3.627 GB, free: 43.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.633e-05/9.042, allocations: 25.88 kB / 3.627 GB, free: 43.89 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002284/9.042, allocations: 142.7 kB / 3.627 GB, free: 43.78 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/9.042, allocations: 55.53 kB / 3.627 GB, free: 43.75 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003834/9.046, allocations: 2.897 MB / 3.63 GB, free: 43.43 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.423e-05/9.046, allocations: 41.8 kB / 3.63 GB, free: 43.43 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.268e-06/9.046, allocations: 3.828 kB / 3.63 GB, free: 43.43 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/9.046, allocations: 7.297 kB / 3.63 GB, free: 43.43 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001865/9.048, allocations: 1.429 MB / 3.632 GB, free: 43.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.098e-06/9.048, allocations: 3.953 kB / 3.632 GB, free: 43.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004765/9.049, allocations: 89.12 kB / 3.632 GB, free: 43.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001451/9.05, allocations: 0.7455 MB / 3.632 GB, free: 43.12 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.824e-05/9.05, allocations: 16.8 kB / 3.632 GB, free: 43.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0013/9.051, allocations: 1.244 MB / 3.634 GB, free: 42.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.912e-06/9.051, allocations: 3.781 kB / 3.634 GB, free: 42.57 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002563/9.054, allocations: 1.807 MB / 3.635 GB, free: 42.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005109/9.055, allocations: 318.3 kB / 3.636 GB, free: 42.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/9.055, allocations: 10.12 kB / 3.636 GB, free: 42.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007261/9.055, allocations: 76.36 kB / 3.636 GB, free: 42.07 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/9.056, allocations: 49.64 kB / 3.636 GB, free: 42.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-05/9.056, allocations: 20.3 kB / 3.636 GB, free: 42.07 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006059/9.056, allocations: 419.7 kB / 3.636 GB, free: 41.96 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.11e-07/9.056, allocations: 0 / 3.636 GB, free: 41.96 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00534/9.062, allocations: 1.35 MB / 3.638 GB, free: 41.77 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.008502/9.07, allocations: 1.69 MB / 3.639 GB, free: 41.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002562/9.073, allocations: 1.104 MB / 3.64 GB, free: 41.38 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/9.073, allocations: 5.219 kB / 3.64 GB, free: 41.38 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00112/9.074, allocations: 0.7101 MB / 3.641 GB, free: 41.36 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002076/9.076, allocations: 307.1 kB / 3.641 GB, free: 41.33 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003039/9.079, allocations: 1.694 MB / 3.643 GB, free: 40.93 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006004/9.08, allocations: 1.139 MB / 3.644 GB, free: 40.21 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001593/9.081, allocations: 0.6763 MB / 3.645 GB, free: 40.17 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/9.082, allocations: 55.05 kB / 3.645 GB, free: 40.16 MB / 0.5261 GB Notification: Performance of SimCode: time 1.757e-06/9.082, allocations: 0 / 3.645 GB, free: 40.16 MB / 0.5261 GB Notification: Performance of Templates: time 0.08189/9.163, allocations: 43.86 MB / 3.688 GB, free: 33.29 MB / 0.5261 GB