Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,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|Valve.minLimiter.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH") Notification: Performance of loadModel(ModelicaTest): time 2.455/2.455, allocations: 270.1 MB / 283.6 MB, free: 3.102 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.4e-05/3.415e-05, allocations: 0 / 348.4 MB, free: 10.83 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1145, allocations: 61.89 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.994/7.108, allocations: 2.792 GB / 3.193 GB, free: 139 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/7.109, allocations: 83.14 kB / 3.193 GB, free: 139 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.214/9.323, allocations: 444.3 MB / 3.627 GB, free: 56.33 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.36e-06/9.323, allocations: 0 / 3.627 GB, free: 56.33 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.052e-05/9.323, allocations: 28.41 kB / 3.627 GB, free: 56.32 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.005962/9.329, allocations: 1.751 MB / 3.629 GB, free: 55.34 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/9.329, allocations: 10.81 kB / 3.629 GB, free: 55.34 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003801/9.333, allocations: 358.5 kB / 3.629 GB, free: 55.27 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/9.334, allocations: 0.5728 MB / 3.629 GB, free: 54.88 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.86e-05/9.334, allocations: 54.61 kB / 3.629 GB, free: 54.86 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/9.335, allocations: 53.44 kB / 3.63 GB, free: 54.84 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002772/9.337, allocations: 0.9808 MB / 3.63 GB, free: 54.38 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/9.337, allocations: 3.938 kB / 3.63 GB, free: 54.38 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/9.338, allocations: 27.88 kB / 3.631 GB, free: 54.36 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.765e-05/9.338, allocations: 24.62 kB / 3.631 GB, free: 54.36 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002765/9.34, allocations: 0.8098 MB / 3.631 GB, free: 54.12 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.005935/9.346, allocations: 4.916 MB / 3.636 GB, free: 50.07 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00226/9.349, allocations: 0.6985 MB / 3.637 GB, free: 49.85 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004547/9.349, allocations: 226.8 kB / 3.637 GB, free: 49.75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05561/9.405, allocations: 24.29 MB / 3.661 GB, free: 34.15 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/9.405, allocations: 42.69 kB / 3.661 GB, free: 34.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=46): time 3.978e-06/9.405, allocations: 0 / 3.661 GB, free: 34.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46): time 0.00453/9.409, allocations: 1.065 MB / 3.662 GB, free: 33.78 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/9.409, allocations: 113.3 kB / 3.662 GB, free: 33.65 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007571/9.41, allocations: 446.1 kB / 3.662 GB, free: 33.43 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001092/9.41, allocations: 33.2 kB / 3.662 GB, free: 33.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/9.411, allocations: 343.1 kB / 3.663 GB, free: 33.13 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/9.411, allocations: 155.4 kB / 3.663 GB, free: 33.01 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.096e-05/9.411, allocations: 15.72 kB / 3.663 GB, free: 33 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001076/9.411, allocations: 369 kB / 3.663 GB, free: 32.66 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004295/9.411, allocations: 172.8 kB / 3.663 GB, free: 32.59 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005049/9.412, allocations: 352.2 kB / 3.664 GB, free: 32.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005036/9.412, allocations: 220.7 kB / 3.664 GB, free: 32.21 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.696e-06/9.412, allocations: 0 / 3.664 GB, free: 32.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001699/9.414, allocations: 0.6646 MB / 3.665 GB, free: 31.93 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003942/9.415, allocations: 2.007 MB / 3.667 GB, free: 29.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/9.415, allocations: 7.125 kB / 3.667 GB, free: 29.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001961/9.417, allocations: 268.7 kB / 3.667 GB, free: 29.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007866/9.417, allocations: 143 kB / 3.667 GB, free: 29.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/9.419, allocations: 0.7422 MB / 3.668 GB, free: 29.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/9.42, allocations: 117.8 kB / 3.668 GB, free: 29.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/9.42, allocations: 42.28 kB / 3.668 GB, free: 29.06 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/9.42, allocations: 0 / 3.668 GB, free: 29.06 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001564/9.422, allocations: 0.6016 MB / 3.668 GB, free: 28.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/9.422, allocations: 7.281 kB / 3.668 GB, free: 28.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/9.423, allocations: 174.4 kB / 3.669 GB, free: 28.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007434/9.424, allocations: 147.9 kB / 3.669 GB, free: 28.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007568/9.424, allocations: 0.714 MB / 3.669 GB, free: 28.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009966/9.425, allocations: 110.5 kB / 3.67 GB, free: 28.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.445e-05/9.426, allocations: 29.89 kB / 3.67 GB, free: 28.12 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (58): * Single equations (assignments): 57 * 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 {2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002424/9.426, allocations: 147.7 kB / 3.67 GB, free: 27.98 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/9.426, allocations: 62.88 kB / 3.67 GB, free: 27.95 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004049/9.43, allocations: 3.033 MB / 3.673 GB, free: 26.46 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.467e-05/9.43, allocations: 42.89 kB / 3.673 GB, free: 26.45 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.42e-06/9.43, allocations: 3.953 kB / 3.673 GB, free: 26.45 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/9.43, allocations: 7.312 kB / 3.673 GB, free: 26.45 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001883/9.432, allocations: 1.471 MB / 3.674 GB, free: 25.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/9.432, allocations: 3.75 kB / 3.674 GB, free: 25.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004824/9.433, allocations: 93.66 kB / 3.674 GB, free: 25.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00266/9.435, allocations: 1.161 MB / 3.675 GB, free: 25.44 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.784e-05/9.435, allocations: 15.22 kB / 3.675 GB, free: 25.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/9.437, allocations: 1.478 MB / 3.677 GB, free: 24.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/9.437, allocations: 11.41 kB / 3.677 GB, free: 24.46 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002853/9.44, allocations: 1.991 MB / 3.679 GB, free: 23.46 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005755/9.441, allocations: 338.1 kB / 3.679 GB, free: 23.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/9.441, allocations: 11.97 kB / 3.679 GB, free: 23.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007883/9.442, allocations: 86.3 kB / 3.679 GB, free: 23.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/9.442, allocations: 57.7 kB / 3.679 GB, free: 23.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.545e-05/9.442, allocations: 22.52 kB / 3.679 GB, free: 23.16 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006866/9.442, allocations: 451.1 kB / 3.68 GB, free: 22.95 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.98e-07/9.443, allocations: 0 / 3.68 GB, free: 22.95 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005459/9.448, allocations: 1.436 MB / 3.681 GB, free: 22.64 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,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.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 (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.008409/9.456, allocations: 1.737 MB / 3.683 GB, free: 22.17 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002751/9.459, allocations: 1.158 MB / 3.684 GB, free: 21.73 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.948e-06/9.459, allocations: 1.812 kB / 3.684 GB, free: 21.73 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001165/9.46, allocations: 0.7401 MB / 3.685 GB, free: 21.37 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/9.463, allocations: 315.6 kB / 3.685 GB, free: 21.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/9.466, allocations: 1.778 MB / 3.687 GB, free: 20.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006184/9.466, allocations: 1.162 MB / 3.688 GB, free: 19.77 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001644/9.468, allocations: 0.6754 MB / 3.689 GB, free: 19.71 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/9.468, allocations: 54.19 kB / 3.689 GB, free: 19.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.907e-06/9.468, allocations: 3.844 kB / 3.689 GB, free: 19.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.08584/9.554, allocations: 45.55 MB / 3.733 GB, free: 352 kB / 0.5417 GB