Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") Notification: Performance of loadModel(ModelicaTest): time 2.569/2.569, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.542e-05/4.542e-05, allocations: 0 / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4258/0.4259, allocations: 54.86 MB / 362.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage): time 0.06663/0.4926, allocations: 34.2 MB / 397.1 MB, free: 11.5 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03464/0.5273, allocations: 16.24 MB / 413.3 MB, free: 11.22 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/0.5286, allocations: 31.75 kB / 413.3 MB, free: 11.19 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001817/0.5305, allocations: 398 kB / 413.7 MB, free: 10.8 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01759/0.5481, allocations: 3.618 MB / 417.4 MB, free: 7.172 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01105/0.5592, allocations: 2.6 MB / 420 MB, free: 4.566 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002328/0.5615, allocations: 0.8295 MB / 420.8 MB, free: 3.734 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007399/0.5623, allocations: 296.1 kB / 421.1 MB, free: 3.445 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001825/0.5642, allocations: 0.5764 MB / 421.6 MB, free: 2.867 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0166/0.5808, allocations: 6.27 MB / 427.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02281/0.6037, allocations: 7.078 MB / 435 MB, free: 5.508 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003756/0.6075, allocations: 432 kB / 435.4 MB, free: 5.086 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005232/0.6081, allocations: 143.5 kB / 435.6 MB, free: 4.945 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003981/0.6085, allocations: 87.94 kB / 435.6 MB, free: 4.859 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01034/0.6189, allocations: 3.36 MB / 439 MB, free: 1.492 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.6189, allocations: 0 / 439 MB, free: 1.492 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.6189, allocations: 0 / 439 MB, free: 1.492 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.7e-05/0.619, allocations: 0 / 439 MB, free: 1.492 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.005497/0.6245, allocations: 1.466 MB / 440.5 MB, free: 15.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.6246, allocations: 8.031 kB / 440.5 MB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003473/0.628, allocations: 314.7 kB / 440.8 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/0.6296, allocations: 0.52 MB / 441.3 MB, free: 15.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.6297, allocations: 45.31 kB / 441.4 MB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.6299, allocations: 63.88 kB / 441.4 MB, free: 14.99 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004212/0.6341, allocations: 0.9878 MB / 442.4 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.358e-05/0.6342, allocations: 0 / 442.4 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/0.6344, allocations: 27.98 kB / 442.4 MB, free: 13.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-05/0.6344, allocations: 25 kB / 442.5 MB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004683/0.6391, allocations: 0.9091 MB / 443.4 MB, free: 12.98 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.008702/0.6479, allocations: 4.479 MB / 447.8 MB, free: 8.082 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004407/0.6524, allocations: 0.781 MB / 448.6 MB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6314/1.284, allocations: 83.91 MB / 0.5201 GB, free: 99.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.638e-05/1.284, allocations: 39 kB / 0.5201 GB, free: 99.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=48): time 2.615e-06/1.284, allocations: 0 / 0.5201 GB, free: 99.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=52): time 0.009879/1.294, allocations: 2.272 MB / 0.5223 GB, free: 97.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/1.294, allocations: 111.8 kB / 0.5224 GB, free: 97.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006846/1.295, allocations: 430.8 kB / 0.5228 GB, free: 96.89 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.43e-05/1.295, allocations: 33.7 kB / 0.5229 GB, free: 96.85 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/1.295, allocations: 341.6 kB / 0.5232 GB, free: 96.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/1.295, allocations: 177.7 kB / 0.5234 GB, free: 96.35 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.325e-05/1.295, allocations: 16 kB / 0.5234 GB, free: 96.33 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/1.295, allocations: 374.5 kB / 0.5237 GB, free: 95.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/1.296, allocations: 277.1 kB / 0.524 GB, free: 95.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/1.298, allocations: 470 kB / 0.5244 GB, free: 95.15 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/1.299, allocations: 325.8 kB / 0.5248 GB, free: 94.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/1.299, allocations: 4 kB / 0.5248 GB, free: 94.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003703/1.302, allocations: 1.006 MB / 0.5257 GB, free: 93.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005074/1.303, allocations: 2.182 MB / 0.5279 GB, free: 91.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/1.303, allocations: 4 kB / 0.5279 GB, free: 91.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003195/1.306, allocations: 401.9 kB / 0.5283 GB, free: 91.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009768/1.307, allocations: 147.8 kB / 0.5284 GB, free: 90.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/1.309, allocations: 0.9243 MB / 0.5293 GB, free: 89.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/1.311, allocations: 91.84 kB / 0.5294 GB, free: 89.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/1.311, allocations: 35.98 kB / 0.5294 GB, free: 89.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/1.311, allocations: 11.94 kB / 0.5294 GB, free: 89.84 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00397/1.315, allocations: 0.9507 MB / 0.5304 GB, free: 88.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/1.315, allocations: 4 kB / 0.5304 GB, free: 88.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002211/1.317, allocations: 322.8 kB / 0.5307 GB, free: 88.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009646/1.318, allocations: 143.8 kB / 0.5308 GB, free: 88.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001653/1.32, allocations: 0.881 MB / 0.5317 GB, free: 87.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/1.321, allocations: 86.05 kB / 0.5318 GB, free: 87.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.593e-05/1.321, allocations: 35.89 kB / 0.5318 GB, free: 87.41 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (60): * Single equations (assignments): 59 * 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0005006/1.322, allocations: 215.2 kB / 0.532 GB, free: 87.19 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/1.322, allocations: 59.25 kB / 0.532 GB, free: 87.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005315/1.327, allocations: 2.923 MB / 0.5349 GB, free: 84.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-05/1.327, allocations: 43.92 kB / 0.5349 GB, free: 84.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.689e-06/1.327, allocations: 0 / 0.5349 GB, free: 84.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/1.327, allocations: 7.984 kB / 0.535 GB, free: 84.15 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006815/1.334, allocations: 4.063 MB / 0.5389 GB, free: 80.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/1.334, allocations: 0 / 0.5389 GB, free: 80.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/1.335, allocations: 163.8 kB / 0.5391 GB, free: 79.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004683/1.336, allocations: 68.73 kB / 0.5391 GB, free: 79.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.662e-05/1.336, allocations: 23.94 kB / 0.5392 GB, free: 79.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006872/1.337, allocations: 1.177 MB / 0.5403 GB, free: 78.56 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.337, allocations: 0 / 0.5403 GB, free: 78.56 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005136/1.342, allocations: 2.589 MB / 0.5428 GB, free: 75.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006976/1.343, allocations: 322.8 kB / 0.5432 GB, free: 75.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001842/1.343, allocations: 12 kB / 0.5432 GB, free: 75.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009017/1.344, allocations: 71.92 kB / 0.5432 GB, free: 75.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/1.344, allocations: 56.47 kB / 0.5433 GB, free: 75.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.886e-05/1.344, allocations: 23.94 kB / 0.5433 GB, free: 75.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007151/1.345, allocations: 399 kB / 0.5437 GB, free: 75.06 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.345, allocations: 0 / 0.5437 GB, free: 75.06 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005046/1.35, allocations: 1.277 MB / 0.5449 GB, free: 73.88 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$cse17.phase,$cse17.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 (67): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007682/1.357, allocations: 1.379 MB / 0.5463 GB, free: 72.67 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004875/1.362, allocations: 1.536 MB / 0.5478 GB, free: 71.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/1.362, allocations: 0 / 0.5478 GB, free: 71.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001984/1.364, allocations: 0.8562 MB / 0.5486 GB, free: 70.28 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002684/1.367, allocations: 294.1 kB / 0.5489 GB, free: 70 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006153/1.373, allocations: 3.236 MB / 0.5521 GB, free: 66.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006971/1.374, allocations: 1.175 MB / 0.5532 GB, free: 65.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002039/1.376, allocations: 0.7209 MB / 0.5539 GB, free: 64.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002516/1.376, allocations: 63.42 kB / 0.554 GB, free: 64.82 MB / 426.7 MB Notification: Performance of SimCode: time 1.283e-06/1.376, allocations: 0 / 0.554 GB, free: 64.82 MB / 426.7 MB Notification: Performance of Templates: time 0.08327/1.46, allocations: 39.79 MB / 0.5928 GB, free: 25.06 MB / 426.7 MB