Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") Notification: Performance of loadModel(ModelicaTest): time 2.335/2.335, allocations: 270 MB / 283.6 MB, free: 1.922 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.977e-05/2.989e-05, allocations: 4 kB / 348.4 MB, free: 2.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.326, allocations: 61.87 MB / 410.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.272/7.598, allocations: 2.787 GB / 3.188 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003892/7.599, allocations: 85.14 kB / 3.188 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.089/9.687, allocations: 444.5 MB / 3.622 GB, free: 63.41 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.212e-06/9.688, allocations: 3.938 kB / 3.622 GB, free: 63.41 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.337e-05/9.688, allocations: 19.5 kB / 3.622 GB, free: 63.4 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.01006/9.698, allocations: 1.777 MB / 3.624 GB, free: 62.45 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/9.698, allocations: 12.5 kB / 3.624 GB, free: 62.44 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007248/9.705, allocations: 334 kB / 3.624 GB, free: 62.38 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002507/9.708, allocations: 0.5762 MB / 3.625 GB, free: 62 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/9.708, allocations: 51.88 kB / 3.625 GB, free: 61.98 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002537/9.708, allocations: 60.16 kB / 3.625 GB, free: 61.96 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006039/9.714, allocations: 0.9828 MB / 3.626 GB, free: 61.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/9.714, allocations: 3.797 kB / 3.626 GB, free: 61.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-05/9.714, allocations: 26.59 kB / 3.626 GB, free: 61.48 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.032e-05/9.714, allocations: 19.75 kB / 3.626 GB, free: 61.48 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00253/9.717, allocations: 0.8261 MB / 3.627 GB, free: 61.24 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.006673/9.724, allocations: 4.845 MB / 3.632 GB, free: 57.35 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002658/9.726, allocations: 0.7406 MB / 3.632 GB, free: 57.12 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004798/9.727, allocations: 237 kB / 3.633 GB, free: 57.02 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05207/9.779, allocations: 24.16 MB / 3.656 GB, free: 41.64 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/9.779, allocations: 42.72 kB / 3.656 GB, free: 41.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 3.58e-06/9.779, allocations: 0 / 3.656 GB, free: 41.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.004412/9.783, allocations: 1.08 MB / 3.657 GB, free: 41.26 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/9.784, allocations: 106.8 kB / 3.657 GB, free: 41.14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007233/9.784, allocations: 471.5 kB / 3.658 GB, free: 40.91 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.773e-05/9.784, allocations: 41.48 kB / 3.658 GB, free: 40.87 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/9.785, allocations: 331 kB / 3.658 GB, free: 40.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000139/9.785, allocations: 166.8 kB / 3.658 GB, free: 40.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/9.785, allocations: 15.78 kB / 3.658 GB, free: 40.46 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001032/9.785, allocations: 364.5 kB / 3.659 GB, free: 40.13 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004439/9.785, allocations: 184.9 kB / 3.659 GB, free: 40.05 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005244/9.786, allocations: 365.5 kB / 3.659 GB, free: 39.77 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000517/9.786, allocations: 227.7 kB / 3.659 GB, free: 39.67 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.868e-06/9.786, allocations: 7.938 kB / 3.659 GB, free: 39.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001741/9.788, allocations: 0.7172 MB / 3.66 GB, free: 39.37 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000408/9.789, allocations: 2.004 MB / 3.662 GB, free: 37.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/9.789, allocations: 7.312 kB / 3.662 GB, free: 37.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003278/9.792, allocations: 442.8 kB / 3.662 GB, free: 37.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007283/9.793, allocations: 149.3 kB / 3.663 GB, free: 37.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/9.794, allocations: 0.7974 MB / 3.663 GB, free: 36.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/9.795, allocations: 133.9 kB / 3.664 GB, free: 36.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/9.795, allocations: 33.81 kB / 3.664 GB, free: 36.45 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/9.795, allocations: 3.656 kB / 3.664 GB, free: 36.45 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001804/9.797, allocations: 0.6471 MB / 3.664 GB, free: 36.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/9.797, allocations: 3.156 kB / 3.664 GB, free: 36.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/9.798, allocations: 178.3 kB / 3.664 GB, free: 36.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008327/9.799, allocations: 155.1 kB / 3.665 GB, free: 36.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/9.8, allocations: 0.7211 MB / 3.665 GB, free: 35.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/9.801, allocations: 116.1 kB / 3.665 GB, free: 35.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.21e-05/9.801, allocations: 39.03 kB / 3.665 GB, free: 35.51 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 (59): * Single equations (assignments): 58 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002303/9.802, allocations: 146.5 kB / 3.666 GB, free: 35.37 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/9.802, allocations: 60.53 kB / 3.666 GB, free: 35.34 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00407/9.806, allocations: 3.061 MB / 3.669 GB, free: 33.84 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.234e-05/9.806, allocations: 42.16 kB / 3.669 GB, free: 33.82 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/9.806, allocations: 3.781 kB / 3.669 GB, free: 33.82 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/9.806, allocations: 3.703 kB / 3.669 GB, free: 33.82 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001854/9.808, allocations: 1.472 MB / 3.67 GB, free: 33.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.39e-06/9.808, allocations: 0 / 3.67 GB, free: 33.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004798/9.808, allocations: 100.2 kB / 3.67 GB, free: 33.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003991/9.812, allocations: 1.393 MB / 3.671 GB, free: 32.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.476e-05/9.813, allocations: 15.02 kB / 3.672 GB, free: 32.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001721/9.814, allocations: 1.536 MB / 3.673 GB, free: 31.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.967e-06/9.814, allocations: 0 / 3.673 GB, free: 31.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002907/9.817, allocations: 2.021 MB / 3.675 GB, free: 30.78 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000573/9.818, allocations: 340 kB / 3.675 GB, free: 30.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/9.818, allocations: 18.56 kB / 3.675 GB, free: 30.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008213/9.819, allocations: 78.19 kB / 3.675 GB, free: 30.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/9.819, allocations: 51.92 kB / 3.675 GB, free: 30.49 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.12e-05/9.819, allocations: 20.7 kB / 3.675 GB, free: 30.49 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007142/9.82, allocations: 469.3 kB / 3.676 GB, free: 30.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.58e-07/9.82, allocations: 3.438 kB / 3.676 GB, free: 30.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00518/9.825, allocations: 1.433 MB / 3.677 GB, free: 29.21 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,$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 (40): * Single equations (assignments): 30 * 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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.008045/9.833, allocations: 1.736 MB / 3.679 GB, free: 27.86 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002987/9.836, allocations: 1.201 MB / 3.68 GB, free: 26.74 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.081e-06/9.836, allocations: 0.6875 kB / 3.68 GB, free: 26.74 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/9.837, allocations: 0.7419 MB / 3.681 GB, free: 26.04 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/9.839, allocations: 316.5 kB / 3.681 GB, free: 25.81 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002922/9.842, allocations: 1.775 MB / 3.683 GB, free: 24.17 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006075/9.843, allocations: 1.175 MB / 3.684 GB, free: 23.14 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001494/9.844, allocations: 0.6748 MB / 3.685 GB, free: 22.73 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/9.844, allocations: 50.48 kB / 3.685 GB, free: 22.68 MB / 0.5261 GB Notification: Performance of SimCode: time 1.634e-06/9.844, allocations: 0 / 3.685 GB, free: 22.68 MB / 0.5261 GB Notification: Performance of Templates: time 0.08301/9.927, allocations: 45.94 MB / 3.73 GB, free: 2.434 MB / 0.5417 GB