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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") Notification: Performance of loadModel(ModelicaTest): time 2.314/2.314, allocations: 270.1 MB / 283.6 MB, free: 3.086 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.483e-05/3.501e-05, allocations: 4 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1144, allocations: 61.89 MB / 410.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.326/7.441, allocations: 2.787 GB / 3.188 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/7.441, allocations: 82.02 kB / 3.188 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.048/9.489, allocations: 444.5 MB / 3.622 GB, free: 57.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.322e-06/9.489, allocations: 3.594 kB / 3.622 GB, free: 57.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.934e-05/9.489, allocations: 19.12 kB / 3.622 GB, free: 57.8 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.008047/9.497, allocations: 1.78 MB / 3.624 GB, free: 56.84 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/9.498, allocations: 10.94 kB / 3.624 GB, free: 56.84 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005591/9.503, allocations: 330 kB / 3.624 GB, free: 56.79 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/9.505, allocations: 0.5756 MB / 3.625 GB, free: 56.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.657e-05/9.505, allocations: 51.5 kB / 3.625 GB, free: 56.38 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/9.505, allocations: 54.09 kB / 3.625 GB, free: 56.36 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002631/9.507, allocations: 0.9879 MB / 3.626 GB, free: 55.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/9.507, allocations: 7.875 kB / 3.626 GB, free: 55.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.683e-05/9.508, allocations: 30.91 kB / 3.626 GB, free: 55.88 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.66e-05/9.508, allocations: 24.69 kB / 3.626 GB, free: 55.88 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002667/9.51, allocations: 0.8178 MB / 3.627 GB, free: 55.64 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.006386/9.517, allocations: 4.848 MB / 3.632 GB, free: 51.75 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002891/9.52, allocations: 0.7399 MB / 3.632 GB, free: 51.53 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004728/9.52, allocations: 233.4 kB / 3.633 GB, free: 51.43 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05437/9.575, allocations: 24.16 MB / 3.656 GB, free: 36.05 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/9.575, allocations: 42.62 kB / 3.656 GB, free: 36 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 6.25e-06/9.575, allocations: 0 / 3.656 GB, free: 36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.004305/9.579, allocations: 1.08 MB / 3.657 GB, free: 35.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/9.579, allocations: 114.1 kB / 3.657 GB, free: 35.54 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007338/9.58, allocations: 461.1 kB / 3.658 GB, free: 35.32 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.594e-05/9.58, allocations: 33.58 kB / 3.658 GB, free: 35.29 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/9.58, allocations: 343 kB / 3.658 GB, free: 35.01 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/9.58, allocations: 161.1 kB / 3.658 GB, free: 34.89 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.774e-05/9.58, allocations: 11.91 kB / 3.658 GB, free: 34.88 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001058/9.581, allocations: 368.7 kB / 3.659 GB, free: 34.54 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004232/9.581, allocations: 190.5 kB / 3.659 GB, free: 34.46 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004947/9.581, allocations: 367.7 kB / 3.659 GB, free: 34.17 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004868/9.582, allocations: 229.3 kB / 3.659 GB, free: 34.08 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/9.582, allocations: 0 / 3.659 GB, free: 34.08 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001643/9.584, allocations: 0.7086 MB / 3.66 GB, free: 33.78 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000407/9.584, allocations: 2.017 MB / 3.662 GB, free: 31.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/9.584, allocations: 3.75 kB / 3.662 GB, free: 31.63 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003189/9.587, allocations: 443.7 kB / 3.662 GB, free: 31.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008221/9.588, allocations: 146.8 kB / 3.663 GB, free: 31.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/9.589, allocations: 0.8023 MB / 3.663 GB, free: 30.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/9.591, allocations: 124.5 kB / 3.664 GB, free: 30.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/9.591, allocations: 43.62 kB / 3.664 GB, free: 30.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/9.591, allocations: 3.625 kB / 3.664 GB, free: 30.86 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001793/9.593, allocations: 0.6421 MB / 3.664 GB, free: 30.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/9.593, allocations: 7.375 kB / 3.664 GB, free: 30.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/9.594, allocations: 176.2 kB / 3.664 GB, free: 30.58 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007585/9.595, allocations: 160.6 kB / 3.665 GB, free: 30.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009612/9.596, allocations: 0.7164 MB / 3.665 GB, free: 29.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009568/9.597, allocations: 118.5 kB / 3.665 GB, free: 29.92 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-05/9.597, allocations: 32.81 kB / 3.665 GB, free: 29.91 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.0002394/9.597, allocations: 147.5 kB / 3.666 GB, free: 29.77 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/9.597, allocations: 67.84 kB / 3.666 GB, free: 29.74 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004116/9.601, allocations: 3.054 MB / 3.669 GB, free: 28.25 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-05/9.601, allocations: 41.92 kB / 3.669 GB, free: 28.24 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.744e-06/9.601, allocations: 2.594 kB / 3.669 GB, free: 28.24 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/9.601, allocations: 3.562 kB / 3.669 GB, free: 28.24 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001951/9.603, allocations: 1.475 MB / 3.67 GB, free: 27.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.651e-06/9.603, allocations: 2.688 kB / 3.67 GB, free: 27.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000496/9.604, allocations: 91.36 kB / 3.67 GB, free: 27.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00398/9.608, allocations: 1.397 MB / 3.672 GB, free: 27.21 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.623e-05/9.608, allocations: 14.38 kB / 3.672 GB, free: 27.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00173/9.61, allocations: 1.538 MB / 3.673 GB, free: 26.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.672e-06/9.61, allocations: 0 / 3.673 GB, free: 26.21 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002942/9.613, allocations: 2.024 MB / 3.675 GB, free: 25.19 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005771/9.613, allocations: 342.4 kB / 3.675 GB, free: 24.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/9.613, allocations: 19.78 kB / 3.675 GB, free: 24.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008057/9.614, allocations: 79.52 kB / 3.675 GB, free: 24.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/9.614, allocations: 54.05 kB / 3.675 GB, free: 24.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.329e-05/9.615, allocations: 19.77 kB / 3.675 GB, free: 24.89 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006933/9.615, allocations: 470.6 kB / 3.676 GB, free: 24.67 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.21e-07/9.615, allocations: 0 / 3.676 GB, free: 24.67 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005501/9.621, allocations: 1.44 MB / 3.677 GB, free: 24.36 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.008293/9.629, allocations: 1.724 MB / 3.679 GB, free: 23.91 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003142/9.632, allocations: 1.191 MB / 3.68 GB, free: 23.47 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.812e-06/9.632, allocations: 0 / 3.68 GB, free: 23.47 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00119/9.634, allocations: 0.7392 MB / 3.681 GB, free: 23.11 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/9.636, allocations: 322.3 kB / 3.681 GB, free: 23.02 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003173/9.639, allocations: 1.781 MB / 3.683 GB, free: 22.22 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006304/9.64, allocations: 1.172 MB / 3.684 GB, free: 21.49 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001758/9.641, allocations: 0.682 MB / 3.685 GB, free: 21.43 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/9.642, allocations: 49.67 kB / 3.685 GB, free: 21.42 MB / 0.5261 GB Notification: Performance of SimCode: time 2.319e-06/9.642, allocations: 0 / 3.685 GB, free: 21.42 MB / 0.5261 GB Notification: Performance of Templates: time 0.08366/9.725, allocations: 45.95 MB / 3.73 GB, free: 3.395 MB / 0.5417 GB