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.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") Notification: Performance of loadModel(ModelicaTest): time 1.892/1.892, allocations: 209.3 MB / 223.8 MB, free: 0.5781 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.128e-05/4.112e-05, allocations: 4 kB / 276.2 MB, free: 15.22 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4825/0.4826, allocations: 48.7 MB / 324.9 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage): time 0.06889/0.5516, allocations: 33.96 MB / 358.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03406/0.5857, allocations: 16.14 MB / 375 MB, free: 13.31 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/0.587, allocations: 31.75 kB / 375 MB, free: 13.28 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001634/0.5886, allocations: 398 kB / 375.4 MB, free: 12.89 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01609/0.6048, allocations: 3.584 MB / 379 MB, free: 9.297 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01065/0.6154, allocations: 2.574 MB / 381.6 MB, free: 6.719 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002344/0.6178, allocations: 0.81 MB / 382.4 MB, free: 5.906 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006965/0.6185, allocations: 303.5 kB / 382.7 MB, free: 5.609 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001804/0.6204, allocations: 0.5726 MB / 383.2 MB, free: 5.031 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01548/0.6359, allocations: 6.176 MB / 389.4 MB, free: 14.85 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02095/0.6569, allocations: 6.95 MB / 396.4 MB, free: 7.895 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00301/0.6599, allocations: 420 kB / 396.8 MB, free: 7.484 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004125/0.6604, allocations: 147.5 kB / 396.9 MB, free: 7.34 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003566/0.6608, allocations: 87.94 kB / 397 MB, free: 7.254 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009733/0.6705, allocations: 3.313 MB / 400.3 MB, free: 3.934 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.6706, allocations: 0 / 400.3 MB, free: 3.934 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.6706, allocations: 0 / 400.3 MB, free: 3.934 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.224e-05/0.6706, allocations: 0 / 400.3 MB, free: 3.934 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.005324/0.676, allocations: 1.446 MB / 401.8 MB, free: 2.441 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.676, allocations: 15.97 kB / 401.8 MB, free: 2.426 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003383/0.6794, allocations: 286.8 kB / 402.1 MB, free: 2.145 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.6809, allocations: 0.52 MB / 402.6 MB, free: 1.582 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.871e-05/0.681, allocations: 53.31 kB / 402.6 MB, free: 1.531 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.6812, allocations: 55.95 kB / 402.7 MB, free: 1.477 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004009/0.6852, allocations: 0.9828 MB / 403.7 MB, free: 444 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.498e-05/0.6853, allocations: 7.938 kB / 403.7 MB, free: 436 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.6854, allocations: 24 kB / 403.7 MB, free: 412 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-05/0.6855, allocations: 21 kB / 403.7 MB, free: 388 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00425/0.6898, allocations: 0.9093 MB / 404.6 MB, free: 15.47 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.007673/0.6975, allocations: 4.483 MB / 409.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003966/0.7015, allocations: 0.7772 MB / 409.9 MB, free: 9.781 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6105/1.312, allocations: 83.86 MB / 493.7 MB, free: 128.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.287e-05/1.312, allocations: 44.73 kB / 493.8 MB, free: 128.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=48): time 3.216e-06/1.312, allocations: 0 / 493.8 MB, free: 128.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=52): time 0.01045/1.323, allocations: 2.265 MB / 496 MB, free: 127.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/1.323, allocations: 113.4 kB / 496.2 MB, free: 127.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007803/1.324, allocations: 435.7 kB / 496.6 MB, free: 127.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.01e-05/1.324, allocations: 32.02 kB / 496.6 MB, free: 127.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/1.324, allocations: 342.5 kB / 497 MB, free: 126.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/1.324, allocations: 180.2 kB / 497.1 MB, free: 126.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.198e-05/1.324, allocations: 14.81 kB / 497.1 MB, free: 126.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/1.324, allocations: 368.1 kB / 497.5 MB, free: 126.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/1.325, allocations: 275.9 kB / 497.8 MB, free: 126.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/1.327, allocations: 472.1 kB / 498.2 MB, free: 125.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/1.328, allocations: 324 kB / 498.5 MB, free: 125.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/1.328, allocations: 2.188 kB / 498.6 MB, free: 125.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003888/1.332, allocations: 1.004 MB / 499.6 MB, free: 125.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004508/1.332, allocations: 2.18 MB / 0.49 GB, free: 122.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/1.332, allocations: 6.25 kB / 0.49 GB, free: 122.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003188/1.335, allocations: 414.4 kB / 0.4904 GB, free: 122.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009629/1.336, allocations: 148.9 kB / 0.4905 GB, free: 122.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/1.338, allocations: 0.9168 MB / 0.4914 GB, free: 121.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/1.34, allocations: 100.9 kB / 0.4915 GB, free: 121.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.742e-05/1.34, allocations: 33.73 kB / 0.4915 GB, free: 121.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/1.34, allocations: 2.656 kB / 0.4915 GB, free: 121.9 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003973/1.344, allocations: 0.9523 MB / 0.4925 GB, free: 121.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/1.344, allocations: 6.781 kB / 0.4925 GB, free: 121.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002219/1.346, allocations: 325.7 kB / 0.4928 GB, free: 121.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009793/1.347, allocations: 146.9 kB / 0.4929 GB, free: 121.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001659/1.349, allocations: 0.8756 MB / 0.4938 GB, free: 120.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/1.35, allocations: 87.16 kB / 0.4939 GB, free: 120.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-05/1.35, allocations: 35.11 kB / 0.4939 GB, free: 120.5 MB / 410.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.0004875/1.351, allocations: 217.3 kB / 0.4941 GB, free: 120.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/1.351, allocations: 60.81 kB / 0.4942 GB, free: 120.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005432/1.356, allocations: 2.914 MB / 0.497 GB, free: 118.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.254e-05/1.356, allocations: 43.92 kB / 0.4971 GB, free: 118.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/1.356, allocations: 1.688 kB / 0.4971 GB, free: 118.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/1.356, allocations: 3.984 kB / 0.4971 GB, free: 118.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006742/1.363, allocations: 4.063 MB / 0.501 GB, free: 114.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/1.363, allocations: 3.938 kB / 0.501 GB, free: 114.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/1.364, allocations: 163.8 kB / 0.5012 GB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004376/1.365, allocations: 72.8 kB / 0.5013 GB, free: 114.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-05/1.365, allocations: 12 kB / 0.5013 GB, free: 114.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006117/1.366, allocations: 1.185 MB / 0.5024 GB, free: 112.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.366, allocations: 4.188 kB / 0.5024 GB, free: 112.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004745/1.37, allocations: 2.585 MB / 0.505 GB, free: 110.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005372/1.371, allocations: 315.8 kB / 0.5053 GB, free: 109.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/1.371, allocations: 19.92 kB / 0.5053 GB, free: 109.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000855/1.372, allocations: 73.39 kB / 0.5053 GB, free: 109.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/1.372, allocations: 56.47 kB / 0.5054 GB, free: 109.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.078e-05/1.372, allocations: 16 kB / 0.5054 GB, free: 109.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00061/1.373, allocations: 399 kB / 0.5058 GB, free: 109.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.71e-07/1.373, allocations: 3.938 kB / 0.5058 GB, free: 109.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004224/1.377, allocations: 1.276 MB / 0.507 GB, free: 108.2 MB / 410.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.006533/1.384, allocations: 1.371 MB / 0.5084 GB, free: 107.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004665/1.388, allocations: 1.527 MB / 0.5099 GB, free: 105.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/1.388, allocations: 0 / 0.5099 GB, free: 105.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001781/1.39, allocations: 0.8637 MB / 0.5107 GB, free: 104.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002507/1.393, allocations: 303 kB / 0.511 GB, free: 104.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005031/1.398, allocations: 3.233 MB / 0.5142 GB, free: 101.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006019/1.398, allocations: 1.171 MB / 0.5153 GB, free: 99.97 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00189/1.4, allocations: 0.7345 MB / 0.516 GB, free: 99.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000218/1.4, allocations: 59.42 kB / 0.5161 GB, free: 99.18 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/1.401, allocations: 0 / 0.5161 GB, free: 99.18 MB / 410.7 MB Notification: Performance of Templates: time 0.08096/1.481, allocations: 39.57 MB / 0.5547 GB, free: 59.65 MB / 410.7 MB