Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,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.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") Notification: Performance of loadModel(ModelicaTest): time 1.898/1.898, allocations: 209.3 MB / 221.5 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.512e-05/3.528e-05, allocations: 0 / 273.1 MB, free: 3.148 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09214/0.0922, allocations: 48.69 MB / 321.8 MB, free: 2.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.156/6.249, allocations: 2.502 GB / 2.816 GB, free: 123.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/6.249, allocations: 81.17 kB / 2.816 GB, free: 123.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.691/7.94, allocations: 425.3 MB / 3.232 GB, free: 44.52 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.223e-06/7.94, allocations: 0 / 3.232 GB, free: 44.52 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.893e-05/7.94, allocations: 23.8 kB / 3.232 GB, free: 44.51 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.006154/7.946, allocations: 1.699 MB / 3.233 GB, free: 43.46 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/7.946, allocations: 7.75 kB / 3.233 GB, free: 43.46 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003317/7.95, allocations: 313.8 kB / 3.234 GB, free: 43.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/7.951, allocations: 0.5769 MB / 3.234 GB, free: 43.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.575e-05/7.951, allocations: 51.59 kB / 3.234 GB, free: 43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-05/7.951, allocations: 51.38 kB / 3.234 GB, free: 42.98 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/7.954, allocations: 0.9691 MB / 3.235 GB, free: 42.54 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/7.954, allocations: 4 kB / 3.235 GB, free: 42.53 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.341e-05/7.954, allocations: 25.31 kB / 3.235 GB, free: 42.52 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.751e-05/7.954, allocations: 23.12 kB / 3.235 GB, free: 42.52 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002547/7.957, allocations: 0.7903 MB / 3.236 GB, free: 42.28 MB / 442.7 MB 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.00558/7.962, allocations: 4.723 MB / 3.241 GB, free: 37.72 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002118/7.965, allocations: 0.6133 MB / 3.241 GB, free: 37.21 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000407/7.965, allocations: 216.1 kB / 3.241 GB, free: 37.01 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04132/8.006, allocations: 21.41 MB / 3.262 GB, free: 13.38 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/8.006, allocations: 34.56 kB / 3.262 GB, free: 13.34 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 3.898e-06/8.006, allocations: 0 / 3.262 GB, free: 13.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=60): time 0.02556/8.032, allocations: 3.741 MB / 3.266 GB, free: 9.523 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/8.032, allocations: 119.3 kB / 3.266 GB, free: 9.383 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006594/8.033, allocations: 428.6 kB / 3.267 GB, free: 8.953 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001029/8.033, allocations: 37.7 kB / 3.267 GB, free: 8.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/8.033, allocations: 351.6 kB / 3.267 GB, free: 8.566 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/8.033, allocations: 204.5 kB / 3.267 GB, free: 8.367 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-05/8.033, allocations: 16 kB / 3.267 GB, free: 8.352 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/8.033, allocations: 366.8 kB / 3.267 GB, free: 7.984 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005802/8.034, allocations: 269.5 kB / 3.268 GB, free: 7.723 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006681/8.035, allocations: 488.4 kB / 3.268 GB, free: 7.152 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007863/8.036, allocations: 331.3 kB / 3.268 GB, free: 6.828 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/8.036, allocations: 4 kB / 3.268 GB, free: 6.824 MB / 442.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002419/8.038, allocations: 1 MB / 3.269 GB, free: 5.812 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004772/8.039, allocations: 2.44 MB / 3.272 GB, free: 3.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/8.039, allocations: 8 kB / 3.272 GB, free: 3.172 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00475/8.043, allocations: 0.8171 MB / 3.273 GB, free: 2.352 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007674/8.044, allocations: 163.8 kB / 3.273 GB, free: 2.191 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/8.046, allocations: 1.604 MB / 3.274 GB, free: 0.5352 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/8.047, allocations: 100 kB / 3.274 GB, free: 448 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/8.048, allocations: 55.97 kB / 3.275 GB, free: 392 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/8.048, allocations: 4 kB / 3.275 GB, free: 388 kB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002691/8.05, allocations: 0.9344 MB / 3.275 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/8.05, allocations: 8 kB / 3.275 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002928/8.053, allocations: 0.544 MB / 3.276 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000852/8.054, allocations: 171.8 kB / 3.276 GB, free: 14.72 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002611/8.057, allocations: 1.554 MB / 3.278 GB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/8.058, allocations: 103.8 kB / 3.278 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/8.058, allocations: 39.98 kB / 3.278 GB, free: 12.98 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (66): * Single equations (assignments): 64 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003269/8.059, allocations: 157.8 kB / 3.278 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001946/8.059, allocations: 63.25 kB / 3.278 GB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007697/8.066, allocations: 3.922 MB / 3.282 GB, free: 8.77 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.824e-05/8.067, allocations: 47.92 kB / 3.282 GB, free: 8.723 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.867e-06/8.067, allocations: 0 / 3.282 GB, free: 8.723 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/8.067, allocations: 3.984 kB / 3.282 GB, free: 8.719 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008852/8.075, allocations: 4.977 MB / 3.287 GB, free: 3.652 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/8.076, allocations: 8.031 kB / 3.287 GB, free: 3.645 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005697/8.076, allocations: 103.9 kB / 3.287 GB, free: 3.543 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005807/8.082, allocations: 1.76 MB / 3.289 GB, free: 1.777 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/8.082, allocations: 19.98 kB / 3.289 GB, free: 1.758 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2716/8.354, allocations: 2.364 MB / 3.291 GB, free: 65.55 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.745e-06/8.354, allocations: 0.6875 kB / 3.291 GB, free: 65.55 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004272/8.358, allocations: 2.47 MB / 3.293 GB, free: 65.29 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006076/8.359, allocations: 339.2 kB / 3.294 GB, free: 65.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/8.359, allocations: 14.03 kB / 3.294 GB, free: 65.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008463/8.36, allocations: 100.2 kB / 3.294 GB, free: 65.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/8.36, allocations: 61.95 kB / 3.294 GB, free: 65.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.427e-05/8.36, allocations: 29.73 kB / 3.294 GB, free: 65.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006077/8.361, allocations: 419.3 kB / 3.294 GB, free: 65.09 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.621e-06/8.361, allocations: 6.875 kB / 3.294 GB, free: 65.09 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006091/8.367, allocations: 1.543 MB / 3.296 GB, free: 65.09 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (47): * Single equations (assignments): 36 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.009403/8.376, allocations: 1.839 MB / 3.298 GB, free: 64.98 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004595/8.381, allocations: 1.711 MB / 3.299 GB, free: 64.94 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/8.381, allocations: 2.297 kB / 3.299 GB, free: 64.94 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002083/8.383, allocations: 1.018 MB / 3.3 GB, free: 64.93 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002009/8.385, allocations: 292.2 kB / 3.3 GB, free: 64.92 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1889/8.574, allocations: 75.88 MB / 3.375 GB, free: 62.84 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000655/8.575, allocations: 1.181 MB / 3.376 GB, free: 62.11 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001718/8.576, allocations: 0.6794 MB / 3.376 GB, free: 62.07 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/8.577, allocations: 62.19 kB / 3.376 GB, free: 62.06 MB / 458.7 MB Notification: Performance of SimCode: time 1.836e-06/8.577, allocations: 0 / 3.376 GB, free: 62.06 MB / 458.7 MB Notification: Performance of Templates: time 0.08877/8.665, allocations: 52.41 MB / 3.428 GB, free: 30.53 MB / 458.7 MB