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_cpp_Modelica.Fluid.Examples.PumpingSystem") Notification: Performance of loadModel(Modelica): time 1.833/1.833, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.704e-05/2.72e-05, allocations: 3.344 kB / 255.3 MB, free: 3.203 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07651/0.07655, allocations: 44.51 MB / 299.8 MB, free: 6.637 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.322/6.399, allocations: 2.625 GB / 2.917 GB, free: 84.91 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/6.399, allocations: 73.55 kB / 2.917 GB, free: 84.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046/9.445, allocations: 0.7008 GB / 3.618 GB, free: 27.03 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.652e-06/9.445, allocations: 0 / 3.618 GB, free: 27.03 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001158/9.445, allocations: 35.42 kB / 3.618 GB, free: 27.02 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.01022/9.455, allocations: 2.712 MB / 3.621 GB, free: 25.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/9.455, allocations: 14.34 kB / 3.621 GB, free: 25.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00566/9.461, allocations: 0.5609 MB / 3.621 GB, free: 25.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002925/9.464, allocations: 0.9738 MB / 3.622 GB, free: 25.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/9.464, allocations: 191.6 kB / 3.623 GB, free: 25.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003213/9.465, allocations: 125.7 kB / 3.623 GB, free: 25.08 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005409/9.47, allocations: 2.04 MB / 3.625 GB, free: 24.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.872e-05/9.47, allocations: 7.844 kB / 3.625 GB, free: 24.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000234/9.47, allocations: 57.83 kB / 3.625 GB, free: 24.69 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001123/9.471, allocations: 79.89 kB / 3.625 GB, free: 24.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004952/9.476, allocations: 1.757 MB / 3.627 GB, free: 24.64 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.01548/9.491, allocations: 9.334 MB / 3.636 GB, free: 19.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004034/9.495, allocations: 1.504 MB / 3.637 GB, free: 18.69 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/9.497, allocations: 0.6722 MB / 3.638 GB, free: 18.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4219/9.918, allocations: 63.61 MB / 3.7 GB, free: 57.61 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003592/9.922, allocations: 1.113 MB / 3.701 GB, free: 57.49 MB / 458.7 MB Notification: Performance of pre-optimization done (n=110): time 5.977e-06/9.922, allocations: 1.625 kB / 3.701 GB, free: 57.49 MB / 458.7 MB Notification: Performance of matching and sorting (n=121): time 0.02166/9.944, allocations: 5.506 MB / 3.706 GB, free: 56.54 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.331e-05/9.944, allocations: 303.9 kB / 3.707 GB, free: 56.2 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001923/9.946, allocations: 0.9032 MB / 3.708 GB, free: 56.04 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003705/9.946, allocations: 48.89 kB / 3.708 GB, free: 56.01 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004554/9.947, allocations: 0.5563 MB / 3.708 GB, free: 55.74 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006195/9.947, allocations: 419 kB / 3.709 GB, free: 55.54 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/9.948, allocations: 32.22 kB / 3.709 GB, free: 55.54 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/9.948, allocations: 366.4 kB / 3.709 GB, free: 55.22 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001576/9.949, allocations: 0.6055 MB / 3.71 GB, free: 55.22 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001911/9.951, allocations: 1.007 MB / 3.711 GB, free: 54.77 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/9.953, allocations: 0.7155 MB / 3.711 GB, free: 54.76 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.354e-05/9.953, allocations: 3.531 kB / 3.711 GB, free: 54.76 MB / 458.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.005654/9.959, allocations: 2.058 MB / 3.713 GB, free: 54.61 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009021/9.96, allocations: 4.355 MB / 3.718 GB, free: 50.08 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.383e-05/9.96, allocations: 11.28 kB / 3.718 GB, free: 50.08 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008557/9.968, allocations: 1.022 MB / 3.719 GB, free: 50.03 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/9.97, allocations: 284.5 kB / 3.719 GB, free: 50.03 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005138/9.975, allocations: 5.456 MB / 3.724 GB, free: 45.58 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002132/9.977, allocations: 131.4 kB / 3.724 GB, free: 45.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002294/9.978, allocations: 77.2 kB / 3.724 GB, free: 45.57 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/9.978, allocations: 5.625 kB / 3.724 GB, free: 45.57 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004443/9.982, allocations: 1.807 MB / 3.726 GB, free: 45.49 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.892e-05/9.982, allocations: 11.47 kB / 3.726 GB, free: 45.49 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007098/9.989, allocations: 0.7727 MB / 3.727 GB, free: 45.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/9.991, allocations: 308.6 kB / 3.727 GB, free: 45.45 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007994/9.999, allocations: 8.083 MB / 3.735 GB, free: 39.08 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/10, allocations: 122.3 kB / 3.735 GB, free: 39.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002332/10, allocations: 65.39 kB / 3.735 GB, free: 39.07 MB / 458.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.0005885/10, allocations: 211.9 kB / 3.735 GB, free: 38.96 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004271/10, allocations: 139.2 kB / 3.736 GB, free: 38.89 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007991/10.01, allocations: 4.886 MB / 3.74 GB, free: 38.41 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.208e-05/10.01, allocations: 54.05 kB / 3.74 GB, free: 38.41 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.965e-06/10.01, allocations: 3.656 kB / 3.74 GB, free: 38.41 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.808e-05/10.01, allocations: 11.33 kB / 3.74 GB, free: 38.41 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/10.02, allocations: 6.678 MB / 3.747 GB, free: 37.86 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.855e-05/10.02, allocations: 7.078 kB / 3.747 GB, free: 37.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/10.02, allocations: 174.1 kB / 3.747 GB, free: 37.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005929/10.03, allocations: 1.477 MB / 3.749 GB, free: 37.78 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003374/10.03, allocations: 35.56 kB / 3.749 GB, free: 37.78 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004143/10.03, allocations: 4.456 MB / 3.753 GB, free: 34.66 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.395e-06/10.03, allocations: 0 / 3.753 GB, free: 34.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008275/10.04, allocations: 4.854 MB / 3.758 GB, free: 34.11 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001422/10.04, allocations: 0.5476 MB / 3.758 GB, free: 33.86 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004607/10.04, allocations: 29.53 kB / 3.758 GB, free: 33.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001641/10.04, allocations: 106.4 kB / 3.758 GB, free: 33.85 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003378/10.05, allocations: 124.2 kB / 3.758 GB, free: 33.85 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001592/10.05, allocations: 41.42 kB / 3.758 GB, free: 33.85 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001743/10.05, allocations: 0.969 MB / 3.759 GB, free: 33.73 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.997e-06/10.05, allocations: 2.594 kB / 3.759 GB, free: 33.73 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008696/10.06, allocations: 2.092 MB / 3.761 GB, free: 33.65 MB / 458.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.01044/10.07, allocations: 2.343 MB / 3.764 GB, free: 33.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008109/10.07, allocations: 3.527 MB / 3.767 GB, free: 32.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.51e-06/10.07, allocations: 5.562 kB / 3.767 GB, free: 32.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003625/10.08, allocations: 1.471 MB / 3.769 GB, free: 32.78 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004249/10.08, allocations: 0.6408 MB / 3.769 GB, free: 32.77 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008269/10.09, allocations: 3.548 MB / 3.773 GB, free: 32.02 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/10.09, allocations: 1.535 MB / 3.774 GB, free: 31.28 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006196/10.09, allocations: 127.7 kB / 3.774 GB, free: 31.27 MB / 458.7 MB Notification: Performance of SimCode: time 1.839e-06/10.09, allocations: 0 / 3.774 GB, free: 31.27 MB / 458.7 MB Notification: Performance of Templates: time 0.4051/10.5, allocations: 95.52 MB / 3.868 GB, free: 56.21 MB / 458.7 MB