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.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") Notification: Performance of loadModel(ModelicaTest): time 1.921/1.921, allocations: 209.3 MB / 221.5 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.189e-05/3.2e-05, allocations: 4 kB / 273.1 MB, free: 3.152 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08772/0.08777, allocations: 48.69 MB / 321.8 MB, free: 2.367 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.638/6.725, allocations: 2.502 GB / 2.817 GB, free: 125.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/6.726, allocations: 84.39 kB / 2.817 GB, free: 125.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.819/8.545, allocations: 426.4 MB / 3.233 GB, free: 41.81 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.603e-06/8.545, allocations: 0 / 3.233 GB, free: 41.81 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.625e-05/8.545, allocations: 15.94 kB / 3.233 GB, free: 41.79 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.006218/8.551, allocations: 1.73 MB / 3.235 GB, free: 40.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/8.551, allocations: 8.031 kB / 3.235 GB, free: 40.02 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003318/8.554, allocations: 324.8 kB / 3.235 GB, free: 39.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/8.556, allocations: 0.5905 MB / 3.236 GB, free: 39.08 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.837e-05/8.556, allocations: 49.31 kB / 3.236 GB, free: 39.03 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/8.556, allocations: 58.58 kB / 3.236 GB, free: 38.98 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002634/8.559, allocations: 0.9755 MB / 3.237 GB, free: 37.94 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/8.559, allocations: 7.938 kB / 3.237 GB, free: 37.93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.439e-05/8.559, allocations: 28 kB / 3.237 GB, free: 37.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.693e-05/8.559, allocations: 21.31 kB / 3.237 GB, free: 37.88 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002423/8.561, allocations: 0.8144 MB / 3.238 GB, free: 37.07 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.005911/8.567, allocations: 4.756 MB / 3.242 GB, free: 31.94 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002544/8.57, allocations: 0.7416 MB / 3.243 GB, free: 31.19 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004314/8.57, allocations: 226.1 kB / 3.243 GB, free: 30.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04053/8.611, allocations: 21.4 MB / 3.264 GB, free: 6.918 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/8.611, allocations: 43.11 kB / 3.264 GB, free: 6.867 MB / 442.7 MB Notification: Performance of pre-optimization done (n=47): time 3.826e-06/8.611, allocations: 0 / 3.264 GB, free: 6.867 MB / 442.7 MB Notification: Performance of matching and sorting (n=68): time 0.02736/8.638, allocations: 4.007 MB / 3.268 GB, free: 2.789 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/8.639, allocations: 123.3 kB / 3.268 GB, free: 2.645 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006718/8.639, allocations: 436.7 kB / 3.269 GB, free: 2.211 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001135/8.639, allocations: 41.7 kB / 3.269 GB, free: 2.164 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/8.64, allocations: 343.7 kB / 3.269 GB, free: 1.82 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/8.64, allocations: 226.2 kB / 3.269 GB, free: 1.602 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.306e-05/8.64, allocations: 16 kB / 3.269 GB, free: 1.586 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/8.64, allocations: 374.8 kB / 3.27 GB, free: 1.211 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007047/8.641, allocations: 333.9 kB / 3.27 GB, free: 0.8828 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000809/8.642, allocations: 0.5375 MB / 3.27 GB, free: 260 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/8.643, allocations: 389.9 kB / 3.271 GB, free: 15.87 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.472e-06/8.643, allocations: 4 kB / 3.271 GB, free: 15.87 MB / 458.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.003451/8.646, allocations: 1.191 MB / 3.272 GB, free: 14.67 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001418/8.648, allocations: 2.445 MB / 3.274 GB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/8.648, allocations: 8 kB / 3.274 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009126/8.657, allocations: 1.307 MB / 3.276 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000928/8.658, allocations: 171.7 kB / 3.276 GB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003267/8.661, allocations: 1.755 MB / 3.278 GB, free: 8.742 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/8.662, allocations: 123.9 kB / 3.278 GB, free: 8.621 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/8.663, allocations: 51.97 kB / 3.278 GB, free: 8.57 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/8.663, allocations: 4 kB / 3.278 GB, free: 8.566 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003446/8.666, allocations: 1.105 MB / 3.279 GB, free: 7.457 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/8.666, allocations: 11.98 kB / 3.279 GB, free: 7.445 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004179/8.67, allocations: 0.7348 MB / 3.28 GB, free: 6.711 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/8.671, allocations: 187.8 kB / 3.28 GB, free: 6.527 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002853/8.674, allocations: 1.659 MB / 3.281 GB, free: 4.816 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/8.676, allocations: 123.8 kB / 3.281 GB, free: 4.695 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/8.676, allocations: 47.98 kB / 3.281 GB, free: 4.648 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 (70): * Single equations (assignments): 68 * 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 14,2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003475/8.676, allocations: 153.5 kB / 3.282 GB, free: 4.492 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002029/8.676, allocations: 67.16 kB / 3.282 GB, free: 4.426 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01131/8.688, allocations: 4.08 MB / 3.286 GB, free: 292 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001115/8.688, allocations: 47.92 kB / 3.286 GB, free: 244 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/8.688, allocations: 0 / 3.286 GB, free: 244 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.232e-05/8.688, allocations: 3.984 kB / 3.286 GB, free: 240 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3578/9.046, allocations: 5.334 MB / 3.291 GB, free: 64.74 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/9.046, allocations: 1.375 kB / 3.291 GB, free: 64.74 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006402/9.047, allocations: 115.3 kB / 3.291 GB, free: 64.74 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01064/9.057, allocations: 2.222 MB / 3.293 GB, free: 64.69 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001663/9.057, allocations: 25 kB / 3.293 GB, free: 64.69 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003798/9.061, allocations: 2.516 MB / 3.296 GB, free: 63.64 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/9.061, allocations: 4.109 kB / 3.296 GB, free: 63.64 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005657/9.067, allocations: 2.756 MB / 3.298 GB, free: 63.34 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007798/9.068, allocations: 357.7 kB / 3.299 GB, free: 63.21 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/9.068, allocations: 16.5 kB / 3.299 GB, free: 63.21 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/9.069, allocations: 117 kB / 3.299 GB, free: 63.21 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001818/9.069, allocations: 67.28 kB / 3.299 GB, free: 63.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/9.069, allocations: 30.45 kB / 3.299 GB, free: 63.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006679/9.07, allocations: 432.4 kB / 3.299 GB, free: 63.11 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.45e-07/9.07, allocations: 0 / 3.299 GB, free: 63.11 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006472/9.077, allocations: 1.574 MB / 3.301 GB, free: 63.11 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,$cse19.phase,$cse19.region,$cse20.phase,$cse20.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 13,2 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.009638/9.086, allocations: 1.844 MB / 3.303 GB, free: 62.99 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004749/9.091, allocations: 1.92 MB / 3.305 GB, free: 62.95 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.973e-06/9.091, allocations: 0 / 3.305 GB, free: 62.95 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002012/9.093, allocations: 1.083 MB / 3.306 GB, free: 62.93 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001977/9.095, allocations: 305.1 kB / 3.306 GB, free: 62.93 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1906/9.286, allocations: 75.96 MB / 3.38 GB, free: 60.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006932/9.286, allocations: 1.19 MB / 3.381 GB, free: 59.97 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001802/9.288, allocations: 0.6849 MB / 3.382 GB, free: 59.93 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/9.289, allocations: 62.08 kB / 3.382 GB, free: 59.92 MB / 458.7 MB Notification: Performance of SimCode: time 1.84e-06/9.289, allocations: 0 / 3.382 GB, free: 59.92 MB / 458.7 MB Notification: Performance of Templates: time 0.0922/9.381, allocations: 54.98 MB / 3.436 GB, free: 20.75 MB / 458.7 MB