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.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") Notification: Performance of loadModel(ModelicaTest): time 2.444/2.444, allocations: 234.9 MB / 249.4 MB, free: 10 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.877e-05/2.867e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3909, allocations: 54.86 MB / 362.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV): time 0.06024/0.4511, allocations: 34.28 MB / 397.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03395/0.4851, allocations: 16.27 MB / 413.4 MB, free: 11.1 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001283/0.4865, allocations: 35.69 kB / 413.5 MB, free: 11.06 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0017/0.4882, allocations: 398 kB / 413.9 MB, free: 10.67 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01592/0.5041, allocations: 3.641 MB / 417.5 MB, free: 7.02 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01109/0.5153, allocations: 2.613 MB / 420.1 MB, free: 4.402 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002863/0.5181, allocations: 0.8374 MB / 421 MB, free: 3.562 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000862/0.5191, allocations: 307.4 kB / 421.3 MB, free: 3.262 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002096/0.5212, allocations: 0.592 MB / 421.8 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01509/0.5363, allocations: 6.274 MB / 428.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02106/0.5574, allocations: 7.086 MB / 435.2 MB, free: 5.297 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003584/0.5611, allocations: 436 kB / 435.6 MB, free: 4.871 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004958/0.5616, allocations: 139.5 kB / 435.8 MB, free: 4.734 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000415/0.562, allocations: 88 kB / 435.9 MB, free: 4.648 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01089/0.5729, allocations: 3.391 MB / 439.2 MB, free: 1.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.573, allocations: 0 / 439.2 MB, free: 1.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.573, allocations: 0 / 439.2 MB, free: 1.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.615e-05/0.5731, allocations: 0 / 439.2 MB, free: 1.25 MB / 362.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.006491/0.5796, allocations: 1.507 MB / 440.7 MB, free: 15.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.178e-05/0.5797, allocations: 12.03 kB / 440.8 MB, free: 15.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003878/0.5835, allocations: 318.7 kB / 441.1 MB, free: 15.37 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002026/0.5856, allocations: 0.52 MB / 441.6 MB, free: 14.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.571e-05/0.5858, allocations: 57.25 kB / 441.6 MB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.5859, allocations: 55.98 kB / 441.7 MB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004157/0.5901, allocations: 0.9991 MB / 442.7 MB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/0.5902, allocations: 3.938 kB / 442.7 MB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/0.5903, allocations: 28 kB / 442.7 MB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.595e-05/0.5904, allocations: 21.31 kB / 442.8 MB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004376/0.5948, allocations: 0.9338 MB / 443.7 MB, free: 12.66 MB / 378.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.009434/0.6043, allocations: 4.882 MB / 448.6 MB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004553/0.6089, allocations: 0.8323 MB / 449.4 MB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07422/0.6832, allocations: 21.65 MB / 471.1 MB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.605e-05/0.6833, allocations: 42.92 kB / 471.1 MB, free: 14.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=47): time 5.61e-06/0.6833, allocations: 8 kB / 471.1 MB, free: 14.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=68): time 0.05144/0.7347, allocations: 4.494 MB / 475.6 MB, free: 9.531 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.513e-05/0.7349, allocations: 107.4 kB / 475.7 MB, free: 9.402 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009986/0.7359, allocations: 454 kB / 476.1 MB, free: 8.949 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001766/0.7361, allocations: 41.64 kB / 476.2 MB, free: 8.902 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003827/0.7365, allocations: 347.7 kB / 476.5 MB, free: 8.559 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003388/0.7369, allocations: 232.6 kB / 476.7 MB, free: 8.328 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.737, allocations: 24 kB / 476.8 MB, free: 8.305 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002133/0.7372, allocations: 370.8 kB / 477.1 MB, free: 7.934 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0022/0.7394, allocations: 481.7 kB / 477.6 MB, free: 7.465 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002454/0.7419, allocations: 0.6836 MB / 478.3 MB, free: 6.688 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002477/0.7444, allocations: 0.5263 MB / 478.8 MB, free: 6.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.7445, allocations: 0 / 478.8 MB, free: 6.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.006755/0.7513, allocations: 1.529 MB / 480.3 MB, free: 4.617 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001199/0.7525, allocations: 2.445 MB / 482.8 MB, free: 1.984 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.055e-05/0.7526, allocations: 8 kB / 482.8 MB, free: 1.977 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01359/0.7662, allocations: 1.433 MB / 484.2 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/0.7676, allocations: 175.7 kB / 484.4 MB, free: 376 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005391/0.773, allocations: 1.925 MB / 486.3 MB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/0.775, allocations: 112 kB / 486.4 MB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002445/0.7753, allocations: 47.97 kB / 486.5 MB, free: 14.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.7753, allocations: 4 kB / 486.5 MB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006876/0.7822, allocations: 1.45 MB / 487.9 MB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.797e-05/0.7823, allocations: 8 kB / 487.9 MB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006123/0.7884, allocations: 0.8095 MB / 488.8 MB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.7898, allocations: 183.8 kB / 488.9 MB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004778/0.7946, allocations: 1.824 MB / 490.8 MB, free: 9.895 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/0.7963, allocations: 115.9 kB / 490.9 MB, free: 9.781 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/0.7965, allocations: 43.98 kB / 490.9 MB, free: 9.738 MB / 426.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.0006234/0.7972, allocations: 229.6 kB / 491.1 MB, free: 9.504 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002353/0.7974, allocations: 71.11 kB / 491.2 MB, free: 9.434 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01059/0.808, allocations: 4.059 MB / 495.3 MB, free: 5.316 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.278e-05/0.8081, allocations: 47.92 kB / 495.3 MB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.8082, allocations: 4 kB / 495.3 MB, free: 5.266 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-05/0.8082, allocations: 3.984 kB / 495.3 MB, free: 5.262 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3766/1.185, allocations: 5.545 MB / 0.4891 GB, free: 126 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.179e-05/1.185, allocations: 1.453 kB / 0.4891 GB, free: 126 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008791/1.186, allocations: 109.5 kB / 0.4892 GB, free: 126 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01354/1.199, allocations: 2.085 MB / 0.4913 GB, free: 126 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001682/1.2, allocations: 22.67 kB / 0.4913 GB, free: 126 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005274/1.205, allocations: 2.595 MB / 0.4938 GB, free: 124.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/1.205, allocations: 2.578 kB / 0.4938 GB, free: 124.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007626/1.213, allocations: 2.928 MB / 0.4967 GB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007908/1.213, allocations: 364.9 kB / 0.497 GB, free: 123.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002303/1.214, allocations: 15.97 kB / 0.497 GB, free: 123.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/1.215, allocations: 108.8 kB / 0.4972 GB, free: 123.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002399/1.215, allocations: 66.39 kB / 0.4972 GB, free: 123.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/1.215, allocations: 34.11 kB / 0.4972 GB, free: 123.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000773/1.216, allocations: 441.4 kB / 0.4977 GB, free: 123 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-07/1.216, allocations: 0 / 0.4977 GB, free: 123 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005228/1.221, allocations: 1.411 MB / 0.499 GB, free: 122.9 MB / 426.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.007621/1.229, allocations: 1.443 MB / 0.5005 GB, free: 122.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008481/1.238, allocations: 2.351 MB / 0.5028 GB, free: 122 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.968e-06/1.238, allocations: 0 / 0.5028 GB, free: 122 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00306/1.241, allocations: 1.193 MB / 0.5039 GB, free: 120.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002953/1.244, allocations: 299.1 kB / 0.5042 GB, free: 120.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006507/1.25, allocations: 3.447 MB / 0.5076 GB, free: 117.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007011/1.251, allocations: 1.2 MB / 0.5087 GB, free: 115.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002053/1.253, allocations: 0.752 MB / 0.5095 GB, free: 115.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/1.253, allocations: 59.42 kB / 0.5095 GB, free: 115.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.653e-06/1.253, allocations: 0 / 0.5095 GB, free: 115.2 MB / 426.7 MB Notification: Performance of Templates: time 0.1034/1.357, allocations: 48.41 MB / 0.5568 GB, free: 66.8 MB / 426.7 MB