Running command: translateModel(Modelica.Fluid.Examples.PumpingSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|PT1.y|pumps.medium.T|pumps.medium.p|reservoir.level|reservoir.medium.T|PumpRPMGenerator.y|controller.y",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.PumpingSystem") Notification: Performance of loadModel(Modelica): time 1.858/1.858, allocations: 194.9 MB / 208 MB, free: 3.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.748e-05/3.749e-05, allocations: 0 / 255.4 MB, free: 2.703 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09446/0.09453, allocations: 44.5 MB / 299.9 MB, free: 6.133 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.22/6.314, allocations: 2.625 GB / 2.917 GB, free: 37.89 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/6.314, allocations: 83.95 kB / 2.918 GB, free: 37.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.464/9.778, allocations: 0.7008 GB / 3.618 GB, free: 23.96 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.078e-06/9.778, allocations: 3.562 kB / 3.618 GB, free: 23.96 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001296/9.779, allocations: 34.56 kB / 3.618 GB, free: 23.96 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 307 * Number of variables: 307 Notification: Performance of Generate backend data structure: time 0.01122/9.79, allocations: 2.703 MB / 3.621 GB, free: 22.81 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/9.79, allocations: 13.84 kB / 3.621 GB, free: 22.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006062/9.796, allocations: 0.5737 MB / 3.622 GB, free: 22.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00304/9.799, allocations: 0.9704 MB / 3.623 GB, free: 22.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002064/9.799, allocations: 189.3 kB / 3.623 GB, free: 22.31 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003958/9.8, allocations: 116.2 kB / 3.623 GB, free: 22.31 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005646/9.805, allocations: 2.023 MB / 3.625 GB, free: 21.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.504e-05/9.806, allocations: 10.53 kB / 3.625 GB, free: 21.95 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002451/9.806, allocations: 65.98 kB / 3.625 GB, free: 21.95 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001173/9.806, allocations: 77.12 kB / 3.625 GB, free: 21.94 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005457/9.811, allocations: 1.733 MB / 3.627 GB, free: 21.93 MB / 426.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.01657/9.828, allocations: 9.337 MB / 3.636 GB, free: 16.74 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004259/9.832, allocations: 1.485 MB / 3.637 GB, free: 16.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00151/9.834, allocations: 0.6679 MB / 3.638 GB, free: 16.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1524/9.986, allocations: 63.61 MB / 3.7 GB, free: 24.88 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003479/9.99, allocations: 1.115 MB / 3.701 GB, free: 24.76 MB / 474.7 MB Notification: Performance of pre-optimization done (n=110): time 5.369e-06/9.99, allocations: 0 / 3.701 GB, free: 24.76 MB / 474.7 MB Notification: Performance of matching and sorting (n=121): time 0.0188/10.01, allocations: 5.51 MB / 3.706 GB, free: 23.63 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002033/10.01, allocations: 302.7 kB / 3.707 GB, free: 23.29 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/10.01, allocations: 0.8971 MB / 3.708 GB, free: 23.12 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000244/10.01, allocations: 55.17 kB / 3.708 GB, free: 23.09 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004702/10.01, allocations: 0.5662 MB / 3.708 GB, free: 22.84 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003953/10.01, allocations: 411.8 kB / 3.709 GB, free: 22.58 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/10.01, allocations: 29.03 kB / 3.709 GB, free: 22.58 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002097/10.01, allocations: 363.2 kB / 3.709 GB, free: 22.28 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/10.01, allocations: 0.6041 MB / 3.71 GB, free: 22.27 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/10.02, allocations: 0.9971 MB / 3.711 GB, free: 21.81 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/10.02, allocations: 0.7142 MB / 3.711 GB, free: 21.78 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.366e-06/10.02, allocations: 3.781 kB / 3.711 GB, free: 21.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.005141/10.02, allocations: 2.087 MB / 3.713 GB, free: 21.58 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002127/10.02, allocations: 4.358 MB / 3.718 GB, free: 17.01 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.375e-05/10.02, allocations: 12.25 kB / 3.718 GB, free: 17.01 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008093/10.03, allocations: 1.023 MB / 3.719 GB, free: 16.94 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001825/10.03, allocations: 283.3 kB / 3.719 GB, free: 16.94 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006496/10.04, allocations: 5.463 MB / 3.724 GB, free: 12.47 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/10.04, allocations: 122 kB / 3.724 GB, free: 12.46 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002517/10.04, allocations: 83.12 kB / 3.724 GB, free: 12.45 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/10.04, allocations: 4.656 kB / 3.724 GB, free: 12.45 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004605/10.05, allocations: 1.775 MB / 3.726 GB, free: 12.36 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.012e-05/10.05, allocations: 12.75 kB / 3.726 GB, free: 12.36 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007004/10.05, allocations: 0.7899 MB / 3.727 GB, free: 12.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/10.06, allocations: 307.9 kB / 3.727 GB, free: 12.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009947/10.07, allocations: 8.079 MB / 3.735 GB, free: 5.883 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/10.07, allocations: 123.3 kB / 3.735 GB, free: 5.863 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002439/10.07, allocations: 75.47 kB / 3.735 GB, free: 5.863 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 24 (pipe.flowModel.states[2].phase,pipe.flowModel.states[1].phase,$whenCondition2,$whenCondition1,reservoir.regularFlow[1],reservoir.regularFlow[2],reservoir.regularFlow[3],reservoir.inFlow[1],reservoir.inFlow[2],reservoir.inFlow[3],$PRE.controller.y,controller.y,PumpRPMGenerator.endValue,PumpRPMGenerator.rate,PumpRPMGenerator.T,sink.state.phase,sink.medium.phase,userValve.state_b.phase,userValve.state_a.phase,reservoir.medium.phase,pumps.medium.phase,pumps.monitoring.state_in.phase,source.state.phase,source.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 150 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {2 1,1 6,2 7,1 1,2 3,1 2,2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005834/10.07, allocations: 203.7 kB / 3.735 GB, free: 5.746 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003963/10.07, allocations: 142 kB / 3.736 GB, free: 5.676 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008244/10.08, allocations: 4.873 MB / 3.74 GB, free: 5.16 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.311e-05/10.08, allocations: 50.88 kB / 3.74 GB, free: 5.16 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.844e-06/10.08, allocations: 0 / 3.74 GB, free: 5.16 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.984e-05/10.08, allocations: 15.06 kB / 3.74 GB, free: 5.156 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01159/10.09, allocations: 6.678 MB / 3.747 GB, free: 4.578 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.749e-05/10.09, allocations: 0 / 3.747 GB, free: 4.578 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/10.09, allocations: 180.3 kB / 3.747 GB, free: 4.574 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005932/10.1, allocations: 1.479 MB / 3.749 GB, free: 4.488 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003339/10.1, allocations: 40.55 kB / 3.749 GB, free: 4.488 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005101/10.1, allocations: 4.447 MB / 3.753 GB, free: 17.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/10.1, allocations: 0 / 3.753 GB, free: 17.36 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008419/10.11, allocations: 4.84 MB / 3.758 GB, free: 16.17 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/10.11, allocations: 0.5437 MB / 3.758 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000489/10.11, allocations: 26.31 kB / 3.758 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001669/10.11, allocations: 114.6 kB / 3.758 GB, free: 15.72 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003363/10.11, allocations: 113.4 kB / 3.758 GB, free: 15.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001724/10.12, allocations: 56.81 kB / 3.758 GB, free: 15.63 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001751/10.12, allocations: 0.9657 MB / 3.759 GB, free: 15.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.6e-07/10.12, allocations: 0 / 3.759 GB, free: 15.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008882/10.13, allocations: 2.101 MB / 3.761 GB, free: 13.12 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (pumps.medium.p,pumps.medium.T,reservoir.medium.T,reservoir.level,PT1.y) * Number of discrete variables: 36 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$whenCondition2,$whenCondition1,reservoir.regularFlow[1],reservoir.regularFlow[2],reservoir.regularFlow[3],reservoir.inFlow[1],reservoir.inFlow[2],reservoir.inFlow[3],controller.y,PumpRPMGenerator.endValue,PumpRPMGenerator.rate,PumpRPMGenerator.T) * Number of discrete states: 2 (controller.y,PumpRPMGenerator.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {2 1,1 1,1 6,2 9,2 3,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01148/10.14, allocations: 2.35 MB / 3.764 GB, free: 11.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009094/10.15, allocations: 3.491 MB / 3.767 GB, free: 9.145 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.718e-06/10.15, allocations: 1.5 kB / 3.767 GB, free: 9.145 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003788/10.15, allocations: 1.481 MB / 3.769 GB, free: 8.398 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004276/10.15, allocations: 0.644 MB / 3.769 GB, free: 8.039 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009024/10.16, allocations: 3.513 MB / 3.773 GB, free: 5.527 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001603/10.17, allocations: 1.548 MB / 3.774 GB, free: 4.273 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004216/10.17, allocations: 1.479 MB / 3.776 GB, free: 3.41 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000482/10.17, allocations: 101.8 kB / 3.776 GB, free: 3.32 MB / 490.7 MB Notification: Performance of SimCode: time 2.162e-06/10.17, allocations: 1.594 kB / 3.776 GB, free: 3.32 MB / 490.7 MB Notification: Performance of Templates: time 0.5039/10.67, allocations: 72.6 MB / 3.847 GB, free: 78.54 MB / 490.7 MB