Running command: translateModel(Modelica.Fluid.Examples.PumpingSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Fluid.Examples.PumpingSystem") Notification: Performance of loadModel(Modelica): time 1.893/1.893, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.667e-05/2.675e-05, allocations: 2.031 kB / 292.1 MB, free: 8.859 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.124, allocations: 50.42 MB / 342.5 MB, free: 6.422 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.996/7.12, allocations: 2.798 GB / 3.133 GB, free: 72.23 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001966/7.12, allocations: 83.52 kB / 3.133 GB, free: 72.19 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.155/10.28, allocations: 0.7129 GB / 3.846 GB, free: 37.13 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.176e-06/10.28, allocations: 0 / 3.846 GB, free: 37.13 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.00013/10.28, allocations: 34.62 kB / 3.846 GB, free: 37.12 MB / 474.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.01028/10.29, allocations: 2.717 MB / 3.848 GB, free: 35.59 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/10.29, allocations: 10.34 kB / 3.848 GB, free: 35.59 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005697/10.29, allocations: 0.5732 MB / 3.849 GB, free: 35.47 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003051/10.29, allocations: 0.9866 MB / 3.85 GB, free: 34.92 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002212/10.29, allocations: 183.8 kB / 3.85 GB, free: 34.79 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004498/10.3, allocations: 120.7 kB / 3.85 GB, free: 34.75 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005421/10.3, allocations: 2.021 MB / 3.852 GB, free: 33.82 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.816e-05/10.3, allocations: 3.438 kB / 3.852 GB, free: 33.82 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002401/10.3, allocations: 54.36 kB / 3.852 GB, free: 33.79 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001148/10.3, allocations: 85.02 kB / 3.852 GB, free: 33.77 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004996/10.31, allocations: 1.74 MB / 3.854 GB, free: 33.21 MB / 474.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.01589/10.32, allocations: 9.301 MB / 3.863 GB, free: 26.52 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004045/10.33, allocations: 1.492 MB / 3.865 GB, free: 25.89 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/10.33, allocations: 0.6678 MB / 3.865 GB, free: 25.6 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4571/10.78, allocations: 63.62 MB / 3.927 GB, free: 44.85 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003981/10.79, allocations: 1.104 MB / 3.928 GB, free: 44.73 MB / 490.7 MB Notification: Performance of pre-optimization done (n=110): time 6.101e-06/10.79, allocations: 0 / 3.928 GB, free: 44.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=121): time 0.01978/10.81, allocations: 5.492 MB / 3.934 GB, free: 43.79 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.775e-05/10.81, allocations: 312.3 kB / 3.934 GB, free: 43.43 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/10.81, allocations: 0.9035 MB / 3.935 GB, free: 43.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000314/10.81, allocations: 46.64 kB / 3.935 GB, free: 43.24 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004216/10.81, allocations: 0.5584 MB / 3.936 GB, free: 42.97 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005075/10.81, allocations: 414.4 kB / 3.936 GB, free: 42.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/10.81, allocations: 33.92 kB / 3.936 GB, free: 42.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/10.81, allocations: 363.6 kB / 3.936 GB, free: 42.46 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/10.81, allocations: 0.6015 MB / 3.937 GB, free: 42.46 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/10.82, allocations: 0.9984 MB / 3.938 GB, free: 42.01 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001725/10.82, allocations: 0.7212 MB / 3.939 GB, free: 41.99 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/10.82, allocations: 2.688 kB / 3.939 GB, free: 41.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.005032/10.82, allocations: 2.013 MB / 3.941 GB, free: 41.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008676/10.82, allocations: 4.359 MB / 3.945 GB, free: 37.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.5e-05/10.82, allocations: 11.41 kB / 3.945 GB, free: 37.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007828/10.83, allocations: 1.022 MB / 3.946 GB, free: 37.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/10.83, allocations: 288.2 kB / 3.946 GB, free: 37.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004816/10.84, allocations: 5.439 MB / 3.951 GB, free: 32.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/10.84, allocations: 124.9 kB / 3.952 GB, free: 32.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002532/10.84, allocations: 77.09 kB / 3.952 GB, free: 32.81 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/10.84, allocations: 3.938 kB / 3.952 GB, free: 32.81 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00471/10.84, allocations: 1.883 MB / 3.953 GB, free: 32.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.263e-05/10.84, allocations: 9.375 kB / 3.953 GB, free: 32.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006909/10.85, allocations: 0.8887 MB / 3.954 GB, free: 32.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/10.85, allocations: 294 kB / 3.955 GB, free: 32.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004274/10.86, allocations: 4.765 MB / 3.959 GB, free: 28.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/10.86, allocations: 130.2 kB / 3.959 GB, free: 28.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002121/10.86, allocations: 70.17 kB / 3.959 GB, free: 28.75 MB / 490.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.000536/10.86, allocations: 209.6 kB / 3.96 GB, free: 28.65 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003991/10.86, allocations: 136.6 kB / 3.96 GB, free: 28.58 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008483/10.87, allocations: 4.885 MB / 3.965 GB, free: 28.14 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.549e-05/10.87, allocations: 50.52 kB / 3.965 GB, free: 28.14 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.805e-06/10.87, allocations: 0 / 3.965 GB, free: 28.14 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.903e-05/10.87, allocations: 10.3 kB / 3.965 GB, free: 28.14 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01098/10.88, allocations: 6.688 MB / 3.971 GB, free: 27.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.558e-05/10.88, allocations: 2.5 kB / 3.971 GB, free: 27.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/10.88, allocations: 176.9 kB / 3.971 GB, free: 27.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00597/10.89, allocations: 1.474 MB / 3.973 GB, free: 27.51 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003637/10.89, allocations: 38.17 kB / 3.973 GB, free: 27.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004139/10.89, allocations: 4.451 MB / 3.977 GB, free: 24.39 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.307e-06/10.89, allocations: 2.719 kB / 3.977 GB, free: 24.39 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008325/10.9, allocations: 4.839 MB / 3.982 GB, free: 23.85 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001393/10.9, allocations: 0.5473 MB / 3.982 GB, free: 23.61 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003731/10.9, allocations: 26.34 kB / 3.982 GB, free: 23.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001563/10.9, allocations: 110.8 kB / 3.983 GB, free: 23.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003315/10.9, allocations: 120.8 kB / 3.983 GB, free: 23.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001642/10.9, allocations: 48.52 kB / 3.983 GB, free: 23.59 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001698/10.91, allocations: 0.9697 MB / 3.984 GB, free: 23.47 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.064e-06/10.91, allocations: 0 / 3.984 GB, free: 23.47 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008096/10.91, allocations: 2.076 MB / 3.986 GB, free: 23.39 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.01052/10.92, allocations: 2.364 MB / 3.988 GB, free: 23.12 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007757/10.93, allocations: 3.181 MB / 3.991 GB, free: 22.88 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.891e-06/10.93, allocations: 2.812 kB / 3.991 GB, free: 22.88 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003186/10.94, allocations: 1.453 MB / 3.993 GB, free: 22.87 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003948/10.94, allocations: 0.6447 MB / 3.993 GB, free: 22.85 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00784/10.95, allocations: 3.546 MB / 3.997 GB, free: 22.09 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/10.95, allocations: 1.53 MB / 3.998 GB, free: 21.36 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006074/10.95, allocations: 130.9 kB / 3.998 GB, free: 21.35 MB / 490.7 MB Notification: Performance of SimCode: time 1.833e-06/10.95, allocations: 2.656 kB / 3.998 GB, free: 21.35 MB / 490.7 MB Notification: Performance of Templates: time 0.4389/11.39, allocations: 95.21 MB / 4.091 GB, free: 72.07 MB / 0.4948 GB