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.1_Modelica.Fluid.Examples.PumpingSystem") Notification: Performance of loadModel(Modelica): time 1.645/1.645, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.724e-05/2.732e-05, allocations: 4 kB / 228.1 MB, free: 7.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08376/0.0838, allocations: 38.77 MB / 266.9 MB, free: 496 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.PumpingSystem): time 0.3985/0.4824, allocations: 52.66 MB / 319.6 MB, free: 5.113 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0411/0.5235, allocations: 22.28 MB / 341.9 MB, free: 5.496 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00209/0.5257, allocations: 48.16 kB / 341.9 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002603/0.5283, allocations: 0.5738 MB / 342.5 MB, free: 4.938 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01798/0.5464, allocations: 4.512 MB / 347 MB, free: 1.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0114/0.5578, allocations: 2.83 MB / 349.8 MB, free: 14.71 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004428/0.5623, allocations: 1.698 MB / 351.5 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001713/0.564, allocations: 0.7259 MB / 352.2 MB, free: 12.44 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02376/0.5878, allocations: 9.244 MB / 361.5 MB, free: 3.188 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0409/0.6288, allocations: 15.13 MB / 376.6 MB, free: 4.051 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02342/0.6522, allocations: 7.956 MB / 384.6 MB, free: 12.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003501/0.6558, allocations: 0.4961 MB / 385.1 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001014/0.6569, allocations: 378.9 kB / 385.4 MB, free: 11.22 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000801/0.6577, allocations: 164 kB / 385.6 MB, free: 11.06 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01239/0.6701, allocations: 4.525 MB / 390.1 MB, free: 6.523 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6701, allocations: 0 / 390.1 MB, free: 6.523 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.6702, allocations: 0 / 390.1 MB, free: 6.523 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.448e-05/0.6702, allocations: 4 kB / 390.1 MB, free: 6.52 MB / 314.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.009644/0.6799, allocations: 2.197 MB / 392.3 MB, free: 4.266 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.68, allocations: 8.031 kB / 392.3 MB, free: 4.258 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005108/0.6851, allocations: 445.8 kB / 392.8 MB, free: 3.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002624/0.6878, allocations: 0.8674 MB / 393.6 MB, free: 2.906 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002831/0.6881, allocations: 183.4 kB / 393.8 MB, free: 2.707 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004729/0.6886, allocations: 116 kB / 393.9 MB, free: 2.594 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006929/0.6955, allocations: 2.016 MB / 395.9 MB, free: 460 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.235e-05/0.6956, allocations: 4 kB / 395.9 MB, free: 456 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002484/0.6959, allocations: 47.98 kB / 396 MB, free: 408 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001729/0.6961, allocations: 86.08 kB / 396.1 MB, free: 320 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007072/0.7032, allocations: 1.772 MB / 397.8 MB, free: 14.53 MB / 330.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.02302/0.7262, allocations: 9.366 MB / 407.2 MB, free: 4.551 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005566/0.7318, allocations: 1.494 MB / 408.7 MB, free: 3.004 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5069/1.239, allocations: 64.21 MB / 472.9 MB, free: 111.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003791/1.243, allocations: 1.075 MB / 474 MB, free: 110.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=110): time 5.68e-06/1.243, allocations: 5.078 kB / 474 MB, free: 110.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=121): time 0.02736/1.27, allocations: 6.586 MB / 480.6 MB, free: 104 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.093e-05/1.27, allocations: 299.7 kB / 480.9 MB, free: 103.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/1.272, allocations: 0.9143 MB / 481.8 MB, free: 102.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002557/1.272, allocations: 45.7 kB / 481.8 MB, free: 102.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004868/1.273, allocations: 0.578 MB / 482.4 MB, free: 102 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004506/1.273, allocations: 414.3 kB / 482.8 MB, free: 101.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/1.273, allocations: 32 kB / 482.9 MB, free: 101.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/1.273, allocations: 369.1 kB / 483.2 MB, free: 101.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001819/1.275, allocations: 0.6416 MB / 483.9 MB, free: 100.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002042/1.277, allocations: 1.046 MB / 484.9 MB, free: 99.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001991/1.279, allocations: 0.7435 MB / 485.6 MB, free: 98.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/1.279, allocations: 4 kB / 485.6 MB, free: 98.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.006073/1.285, allocations: 2.179 MB / 487.8 MB, free: 96.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008298/1.286, allocations: 4.451 MB / 492.3 MB, free: 91.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.823e-05/1.286, allocations: 12 kB / 492.3 MB, free: 91.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01079/1.297, allocations: 1.016 MB / 493.3 MB, free: 90.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002329/1.299, allocations: 295.5 kB / 493.6 MB, free: 90.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004544/1.304, allocations: 4.04 MB / 497.6 MB, free: 86.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002445/1.306, allocations: 127.9 kB / 497.8 MB, free: 86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002608/1.307, allocations: 75.81 kB / 497.8 MB, free: 85.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/1.307, allocations: 4 kB / 497.8 MB, free: 85.93 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005656/1.312, allocations: 1.875 MB / 499.7 MB, free: 84.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-05/1.313, allocations: 8 kB / 499.7 MB, free: 84.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009462/1.322, allocations: 0.7683 MB / 0.4888 GB, free: 83.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002387/1.324, allocations: 315.5 kB / 0.4891 GB, free: 82.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007943/1.332, allocations: 6.735 MB / 0.4956 GB, free: 75.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/1.335, allocations: 119.9 kB / 0.4957 GB, free: 75.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001831/1.335, allocations: 67.98 kB / 0.4958 GB, free: 75.6 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * 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,reservoir.medium.phase,pumps.medium.phase,sink.state.phase,sink.medium.phase,userValve.state_b.phase,userValve.state_a.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 (160): * Single equations (assignments): 154 * 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: 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 6,2 7,1 1,2 3,2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0009546/1.336, allocations: 383.6 kB / 0.4962 GB, free: 75.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003344/1.336, allocations: 134.4 kB / 0.4963 GB, free: 75.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009197/1.345, allocations: 4.962 MB / 0.5012 GB, free: 70.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.434e-05/1.345, allocations: 48.03 kB / 0.5012 GB, free: 70.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.345, allocations: 3.938 kB / 0.5012 GB, free: 70.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.398e-05/1.345, allocations: 7.969 kB / 0.5012 GB, free: 70 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01187/1.357, allocations: 6.754 MB / 0.5078 GB, free: 63.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/1.357, allocations: 0 / 0.5078 GB, free: 63.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001434/1.359, allocations: 175.8 kB / 0.508 GB, free: 63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006785/1.366, allocations: 1.383 MB / 0.5093 GB, free: 61.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003144/1.366, allocations: 35.98 kB / 0.5094 GB, free: 61.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004686/1.371, allocations: 4.468 MB / 0.5137 GB, free: 56.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.371, allocations: 0 / 0.5137 GB, free: 56.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009751/1.381, allocations: 4.937 MB / 0.5185 GB, free: 51.92 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001262/1.382, allocations: 0.5328 MB / 0.5191 GB, free: 51.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004352/1.382, allocations: 31.98 kB / 0.5191 GB, free: 51.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001973/1.384, allocations: 111.8 kB / 0.5192 GB, free: 51.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003608/1.385, allocations: 125 kB / 0.5193 GB, free: 51.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001654/1.385, allocations: 51.97 kB / 0.5194 GB, free: 51.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001922/1.387, allocations: 0.9885 MB / 0.5203 GB, free: 50.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.012e-06/1.387, allocations: 4.766 kB / 0.5203 GB, free: 50.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006642/1.393, allocations: 1.894 MB / 0.5222 GB, free: 48.3 MB / 362.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.level,reservoir.medium.T,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,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.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.008174/1.402, allocations: 1.657 MB / 0.5238 GB, free: 46.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01033/1.412, allocations: 3.481 MB / 0.5272 GB, free: 43.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.046e-06/1.412, allocations: 0 / 0.5272 GB, free: 43.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004511/1.417, allocations: 1.526 MB / 0.5287 GB, free: 41.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00527/1.422, allocations: 0.6352 MB / 0.5293 GB, free: 41.24 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/1.432, allocations: 5.218 MB / 0.5344 GB, free: 35.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/1.433, allocations: 1.547 MB / 0.5359 GB, free: 34.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.004242/1.438, allocations: 1.505 MB / 0.5374 GB, free: 32.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004558/1.438, allocations: 103.4 kB / 0.5375 GB, free: 32.79 MB / 362.7 MB Notification: Performance of SimCode: time 1.743e-06/1.438, allocations: 4 kB / 0.5375 GB, free: 32.79 MB / 362.7 MB Notification: Performance of Templates: time 0.3669/1.805, allocations: 61.19 MB / 0.5972 GB, free: 113.4 MB / 362.7 MB