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.993/1.993, allocations: 209.3 MB / 223.8 MB, free: 440 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.864e-05/3.849e-05, allocations: 7.984 kB / 276.2 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3522, allocations: 48.69 MB / 324.9 MB, free: 3.371 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV): time 0.0595/0.4118, allocations: 34.03 MB / 358.9 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03384/0.4457, allocations: 16.2 MB / 375.1 MB, free: 13.17 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.447, allocations: 31.75 kB / 375.1 MB, free: 13.14 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001678/0.4487, allocations: 402 kB / 375.5 MB, free: 12.74 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01593/0.4647, allocations: 3.591 MB / 379.1 MB, free: 9.141 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01122/0.4759, allocations: 2.601 MB / 381.7 MB, free: 6.539 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002384/0.4783, allocations: 0.8257 MB / 382.5 MB, free: 5.715 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006554/0.479, allocations: 303.4 kB / 382.8 MB, free: 5.414 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001586/0.4806, allocations: 0.5765 MB / 383.4 MB, free: 4.836 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01526/0.4959, allocations: 6.199 MB / 389.6 MB, free: 14.63 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02107/0.517, allocations: 6.957 MB / 396.6 MB, free: 7.668 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003007/0.5201, allocations: 424 kB / 397 MB, free: 7.254 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003427/0.5204, allocations: 147.4 kB / 397.1 MB, free: 7.109 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003616/0.5208, allocations: 88 kB / 397.2 MB, free: 7.023 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009222/0.53, allocations: 3.333 MB / 400.6 MB, free: 3.684 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.5301, allocations: 4 kB / 400.6 MB, free: 3.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5301, allocations: 0 / 400.6 MB, free: 3.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.65e-05/0.5301, allocations: 7.938 kB / 400.6 MB, free: 3.672 MB / 330.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.00511/0.5353, allocations: 1.47 MB / 402 MB, free: 2.152 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.5353, allocations: 16.02 kB / 402.1 MB, free: 2.137 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003176/0.5385, allocations: 294.7 kB / 402.3 MB, free: 1.848 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.5397, allocations: 0.5355 MB / 402.9 MB, free: 1.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.682e-05/0.5398, allocations: 57.31 kB / 402.9 MB, free: 1.215 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.54, allocations: 59.95 kB / 403 MB, free: 1.156 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003724/0.5437, allocations: 1.007 MB / 404 MB, free: 92 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.5438, allocations: 0 / 404 MB, free: 92 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.5439, allocations: 24 kB / 404 MB, free: 68 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.914e-05/0.5439, allocations: 21.31 kB / 404 MB, free: 44 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004174/0.5481, allocations: 0.9338 MB / 405 MB, free: 15.11 MB / 346.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.008153/0.5563, allocations: 4.855 MB / 409.8 MB, free: 9.824 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004357/0.5607, allocations: 0.8478 MB / 410.7 MB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06937/0.6301, allocations: 21.58 MB / 432.3 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.411e-05/0.6302, allocations: 43 kB / 432.3 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of pre-optimization done (n=47): time 3.346e-06/0.6302, allocations: 0 / 432.3 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of matching and sorting (n=68): time 0.04984/0.6801, allocations: 4.498 MB / 436.8 MB, free: 12.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.576e-05/0.6802, allocations: 111.4 kB / 436.9 MB, free: 11.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009196/0.6811, allocations: 453.9 kB / 437.3 MB, free: 11.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001473/0.6813, allocations: 37.7 kB / 437.4 MB, free: 11.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003349/0.6816, allocations: 355.7 kB / 437.7 MB, free: 11.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002914/0.6819, allocations: 232.7 kB / 438 MB, free: 10.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.533e-05/0.682, allocations: 12 kB / 438 MB, free: 10.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.6822, allocations: 378.7 kB / 438.3 MB, free: 10.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002043/0.6843, allocations: 481.6 kB / 438.8 MB, free: 10 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00225/0.6866, allocations: 0.6837 MB / 439.5 MB, free: 9.219 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002244/0.6888, allocations: 0.5185 MB / 440 MB, free: 8.703 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.6889, allocations: 0 / 440 MB, free: 8.703 MB / 378.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.006497/0.6954, allocations: 1.537 MB / 441.5 MB, free: 7.152 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001143/0.6966, allocations: 2.452 MB / 444 MB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/0.6966, allocations: 8 kB / 444 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01304/0.7097, allocations: 1.422 MB / 445.4 MB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.7111, allocations: 183.6 kB / 445.6 MB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005075/0.7162, allocations: 1.909 MB / 447.5 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/0.7179, allocations: 119.8 kB / 447.6 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/0.7181, allocations: 51.91 kB / 447.7 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.7181, allocations: 8 kB / 447.7 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006426/0.7246, allocations: 1.45 MB / 449.1 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.463e-05/0.7246, allocations: 12 kB / 449.2 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005869/0.7305, allocations: 0.8056 MB / 450 MB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/0.7319, allocations: 191.7 kB / 450.1 MB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004649/0.7366, allocations: 1.807 MB / 452 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/0.7382, allocations: 119.8 kB / 452.1 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/0.7384, allocations: 47.97 kB / 452.1 MB, free: 12.26 MB / 394.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 (71): * Single equations (assignments): 69 * 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 13,2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0006456/0.7391, allocations: 229.6 kB / 452.3 MB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/0.7393, allocations: 63.25 kB / 452.4 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01009/0.7494, allocations: 4.051 MB / 456.5 MB, free: 7.855 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.649e-05/0.7495, allocations: 55.88 kB / 456.5 MB, free: 7.801 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.7496, allocations: 0 / 456.5 MB, free: 7.801 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.726e-05/0.7496, allocations: 3.984 kB / 456.5 MB, free: 7.797 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01303/0.7626, allocations: 5.557 MB / 462.1 MB, free: 2.137 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/0.7627, allocations: 4 kB / 462.1 MB, free: 2.133 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007705/0.7635, allocations: 107.9 kB / 462.2 MB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0127/0.7762, allocations: 2.087 MB / 464.3 MB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001694/0.7764, allocations: 23.98 kB / 464.3 MB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005622/0.7821, allocations: 2.588 MB / 466.9 MB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/0.7821, allocations: 4.031 kB / 466.9 MB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008241/0.7904, allocations: 2.923 MB / 469.8 MB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008077/0.7912, allocations: 366.6 kB / 470.2 MB, free: 9.871 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002216/0.7915, allocations: 12 kB / 470.2 MB, free: 9.859 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/0.7928, allocations: 111.8 kB / 470.3 MB, free: 9.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002175/0.793, allocations: 68.48 kB / 470.4 MB, free: 9.688 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/0.7932, allocations: 31.98 kB / 470.4 MB, free: 9.656 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008817/0.794, allocations: 451 kB / 470.8 MB, free: 9.215 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7941, allocations: 0 / 470.8 MB, free: 9.215 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005353/0.7994, allocations: 1.409 MB / 472.2 MB, free: 7.805 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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,$cse16.phase,$cse16.region,$cse17.phase,$cse17.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 12,2 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.008026/0.8075, allocations: 1.428 MB / 473.7 MB, free: 6.371 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009144/0.8167, allocations: 2.346 MB / 476 MB, free: 4.012 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.8168, allocations: 0 / 476 MB, free: 4.012 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003313/0.8201, allocations: 1.2 MB / 477.2 MB, free: 2.809 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002864/0.823, allocations: 297.8 kB / 477.5 MB, free: 2.523 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2627/1.086, allocations: 3.453 MB / 481 MB, free: 134 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009348/1.087, allocations: 1.198 MB / 482.1 MB, free: 133.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00254/1.089, allocations: 0.7469 MB / 482.9 MB, free: 133.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/1.09, allocations: 56.06 kB / 482.9 MB, free: 133.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/1.09, allocations: 0 / 482.9 MB, free: 133.3 MB / 410.7 MB Notification: Performance of Templates: time 0.1027/1.192, allocations: 48.22 MB / 0.5187 GB, free: 100.1 MB / 410.7 MB