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_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") Notification: Performance of loadModel(ModelicaTest): time 2.346/2.346, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 2.97e-05/2.976e-05, allocations: 4 kB / 323.4 MB, free: 4.316 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3203, allocations: 58.84 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.718/7.039, allocations: 2.782 GB / 3.155 GB, free: 124 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/7.039, allocations: 80.88 kB / 3.155 GB, free: 124 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.871/8.91, allocations: 439.8 MB / 3.585 GB, free: 61.38 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.206e-06/8.91, allocations: 0 / 3.585 GB, free: 61.38 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.698e-05/8.91, allocations: 18.23 kB / 3.585 GB, free: 61.38 MB / 0.5105 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.006581/8.917, allocations: 1.781 MB / 3.587 GB, free: 60.61 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/8.917, allocations: 6.469 kB / 3.587 GB, free: 60.61 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003579/8.921, allocations: 335.4 kB / 3.587 GB, free: 60.57 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/8.922, allocations: 0.5791 MB / 3.587 GB, free: 60.32 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.515e-05/8.922, allocations: 50.09 kB / 3.588 GB, free: 60.32 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/8.922, allocations: 56.59 kB / 3.588 GB, free: 60.32 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00314/8.926, allocations: 0.9859 MB / 3.589 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.134e-05/8.926, allocations: 3.844 kB / 3.589 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/8.926, allocations: 25.78 kB / 3.589 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.14e-05/8.926, allocations: 25.81 kB / 3.589 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002878/8.929, allocations: 0.8202 MB / 3.589 GB, free: 60.11 MB / 0.5105 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.007245/8.936, allocations: 4.846 MB / 3.594 GB, free: 56.88 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002846/8.939, allocations: 0.7509 MB / 3.595 GB, free: 56.85 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004902/8.939, allocations: 232.9 kB / 3.595 GB, free: 56.84 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05479/8.994, allocations: 24.15 MB / 3.619 GB, free: 42.19 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/8.994, allocations: 46.2 kB / 3.619 GB, free: 42.14 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 3.375e-06/8.994, allocations: 0 / 3.619 GB, free: 42.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47): time 0.004549/8.999, allocations: 1.076 MB / 3.62 GB, free: 42.06 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/8.999, allocations: 119.9 kB / 3.62 GB, free: 41.93 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007223/9, allocations: 457.9 kB / 3.62 GB, free: 41.82 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.461e-05/9, allocations: 34.33 kB / 3.62 GB, free: 41.79 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/9, allocations: 340.8 kB / 3.621 GB, free: 41.61 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/9, allocations: 164.8 kB / 3.621 GB, free: 41.51 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/9, allocations: 11.91 kB / 3.621 GB, free: 41.51 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001073/9, allocations: 373.4 kB / 3.621 GB, free: 41.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004187/9.001, allocations: 188.8 kB / 3.621 GB, free: 41.19 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005298/9.001, allocations: 377.3 kB / 3.622 GB, free: 40.98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005137/9.002, allocations: 220.6 kB / 3.622 GB, free: 40.98 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.766e-06/9.002, allocations: 0 / 3.622 GB, free: 40.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001762/9.004, allocations: 0.7132 MB / 3.623 GB, free: 40.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003943/9.004, allocations: 2.002 MB / 3.625 GB, free: 38.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/9.004, allocations: 11.66 kB / 3.625 GB, free: 38.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003242/9.007, allocations: 443.1 kB / 3.625 GB, free: 38.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007696/9.008, allocations: 144.8 kB / 3.625 GB, free: 38.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001426/9.01, allocations: 0.7981 MB / 3.626 GB, free: 38.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/9.011, allocations: 133.8 kB / 3.626 GB, free: 38.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.687e-05/9.011, allocations: 37.92 kB / 3.626 GB, free: 38.24 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/9.011, allocations: 3.969 kB / 3.626 GB, free: 38.24 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00187/9.013, allocations: 0.6428 MB / 3.627 GB, free: 38.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/9.013, allocations: 3.438 kB / 3.627 GB, free: 38.22 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/9.014, allocations: 180.3 kB / 3.627 GB, free: 38.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008517/9.015, allocations: 159.8 kB / 3.627 GB, free: 38.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/9.016, allocations: 0.7139 MB / 3.628 GB, free: 37.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/9.017, allocations: 118 kB / 3.628 GB, free: 37.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.325e-05/9.017, allocations: 35.91 kB / 3.628 GB, free: 37.66 MB / 0.5105 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.0002576/9.018, allocations: 142.7 kB / 3.628 GB, free: 37.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/9.018, allocations: 65.77 kB / 3.628 GB, free: 37.52 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004194/9.022, allocations: 3.058 MB / 3.631 GB, free: 37.19 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.51e-05/9.022, allocations: 39.41 kB / 3.631 GB, free: 37.19 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.59e-06/9.022, allocations: 3.938 kB / 3.631 GB, free: 37.18 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/9.022, allocations: 7.172 kB / 3.631 GB, free: 37.18 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001987/9.024, allocations: 1.476 MB / 3.633 GB, free: 36.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.678e-06/9.024, allocations: 1.531 kB / 3.633 GB, free: 36.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004895/9.025, allocations: 90.69 kB / 3.633 GB, free: 36.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004099/9.029, allocations: 1.396 MB / 3.634 GB, free: 36.84 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/9.029, allocations: 18.38 kB / 3.634 GB, free: 36.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00184/9.031, allocations: 1.535 MB / 3.636 GB, free: 36.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.336e-06/9.031, allocations: 3.953 kB / 3.636 GB, free: 36.28 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00323/9.034, allocations: 2.018 MB / 3.638 GB, free: 35.92 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006218/9.035, allocations: 344 kB / 3.638 GB, free: 35.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/9.035, allocations: 11.95 kB / 3.638 GB, free: 35.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000778/9.036, allocations: 81.11 kB / 3.638 GB, free: 35.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/9.036, allocations: 55.77 kB / 3.638 GB, free: 35.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.194e-05/9.036, allocations: 21.91 kB / 3.638 GB, free: 35.62 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007003/9.037, allocations: 458.3 kB / 3.638 GB, free: 35.41 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.35e-07/9.037, allocations: 2.531 kB / 3.638 GB, free: 35.41 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005732/9.042, allocations: 1.443 MB / 3.64 GB, free: 35.1 MB / 0.5105 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.008876/9.051, allocations: 1.737 MB / 3.642 GB, free: 34.67 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003189/9.055, allocations: 1.197 MB / 3.643 GB, free: 34.25 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.33e-06/9.055, allocations: 192 / 3.643 GB, free: 34.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001182/9.056, allocations: 0.7376 MB / 3.643 GB, free: 33.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002253/9.058, allocations: 327.3 kB / 3.644 GB, free: 33.81 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003275/9.061, allocations: 1.764 MB / 3.646 GB, free: 33.03 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006553/9.062, allocations: 1.172 MB / 3.647 GB, free: 32.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001599/9.064, allocations: 0.681 MB / 3.647 GB, free: 32.26 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/9.064, allocations: 50.95 kB / 3.647 GB, free: 32.25 MB / 0.5105 GB Notification: Performance of SimCode: time 1.659e-06/9.064, allocations: 0 / 3.647 GB, free: 32.25 MB / 0.5105 GB Notification: Performance of Templates: time 0.08422/9.148, allocations: 45.86 MB / 3.692 GB, free: 15.83 MB / 0.5105 GB