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.95/1.95, allocations: 195 MB / 203.2 MB, free: 6.754 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.934e-05/1.958e-05, allocations: 2.312 kB / 249.6 MB, free: 5.547 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07899/0.07902, allocations: 44.5 MB / 294.1 MB, free: 11.18 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.362/6.441, allocations: 2.624 GB / 2.911 GB, free: 105.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/6.441, allocations: 83.95 kB / 2.911 GB, free: 105.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.081/9.522, allocations: 0.6944 GB / 3.606 GB, free: 35.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.184e-06/9.522, allocations: 0 / 3.606 GB, free: 35.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001198/9.522, allocations: 37.66 kB / 3.606 GB, free: 35.75 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.01054/9.532, allocations: 2.705 MB / 3.608 GB, free: 34.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/9.532, allocations: 10.42 kB / 3.608 GB, free: 34.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005594/9.538, allocations: 0.5642 MB / 3.609 GB, free: 34.1 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003234/9.541, allocations: 0.9765 MB / 3.61 GB, free: 33.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002104/9.542, allocations: 150.7 kB / 3.61 GB, free: 33.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004746/9.542, allocations: 67.56 kB / 3.61 GB, free: 33.45 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003476/9.546, allocations: 1.397 MB / 3.611 GB, free: 32.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003503/9.549, allocations: 1.628 MB / 3.613 GB, free: 32.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.936e-05/9.549, allocations: 7.844 kB / 3.613 GB, free: 32.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002189/9.549, allocations: 6.531 kB / 3.613 GB, free: 32.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/9.549, allocations: 75.91 kB / 3.613 GB, free: 32.15 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.5826/10.13, allocations: 133.8 MB / 3.744 GB, free: 21.38 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002424/10.13, allocations: 1.078 MB / 3.745 GB, free: 21.35 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001228/10.14, allocations: 0.5748 MB / 3.745 GB, free: 21.34 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1528/10.29, allocations: 63.6 MB / 3.807 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001734/10.29, allocations: 0.74 MB / 3.808 GB, free: 12.79 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 5.975e-06/10.29, allocations: 0 / 3.808 GB, free: 12.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=107): time 0.02829/10.32, allocations: 5.764 MB / 3.814 GB, free: 12.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/10.32, allocations: 199.8 kB / 3.814 GB, free: 12.03 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/10.32, allocations: 0.7149 MB / 3.815 GB, free: 11.89 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000304/10.32, allocations: 34.64 kB / 3.815 GB, free: 11.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005466/10.32, allocations: 0.6373 MB / 3.815 GB, free: 11.54 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005028/10.32, allocations: 357.5 kB / 3.816 GB, free: 11.36 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/10.32, allocations: 0 / 3.816 GB, free: 11.36 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002244/10.32, allocations: 363.4 kB / 3.816 GB, free: 11.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/10.32, allocations: 0.5884 MB / 3.817 GB, free: 11.04 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001469/10.32, allocations: 0.9787 MB / 3.818 GB, free: 10.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009389/10.33, allocations: 1.701 MB / 3.819 GB, free: 9.551 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.83e-05/10.33, allocations: 4 kB / 3.819 GB, free: 9.547 MB / 490.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01397/10.35, allocations: 2.958 MB / 3.822 GB, free: 7.793 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002341/10.35, allocations: 4.361 MB / 3.826 GB, free: 19.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-05/10.35, allocations: 9.25 kB / 3.826 GB, free: 19.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002224/10.35, allocations: 0.7143 MB / 3.827 GB, free: 18.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/10.35, allocations: 282.4 kB / 3.827 GB, free: 18.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009739/10.36, allocations: 5.927 MB / 3.833 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/10.37, allocations: 98.42 kB / 3.833 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002948/10.37, allocations: 75.05 kB / 3.833 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/10.37, allocations: 4 kB / 3.833 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01147/10.38, allocations: 2.423 MB / 3.836 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.002e-05/10.38, allocations: 15.05 kB / 3.836 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001498/10.38, allocations: 498.6 kB / 3.836 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/10.38, allocations: 311.6 kB / 3.836 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0113/10.39, allocations: 7.953 MB / 3.844 GB, free: 3.887 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/10.39, allocations: 88.53 kB / 3.844 GB, free: 3.824 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002467/10.39, allocations: 66.3 kB / 3.844 GB, free: 3.777 MB / 0.4948 GB 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.0005797/10.4, allocations: 172.2 kB / 3.845 GB, free: 3.645 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004068/10.4, allocations: 116.9 kB / 3.845 GB, free: 3.531 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01007/10.41, allocations: 4.115 MB / 3.849 GB, free: 1.293 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.466e-05/10.41, allocations: 43.23 kB / 3.849 GB, free: 1.277 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/10.41, allocations: 3.875 kB / 3.849 GB, free: 1.277 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.783e-05/10.41, allocations: 5.438 kB / 3.849 GB, free: 1.277 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2992/10.71, allocations: 5.771 MB / 3.854 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/10.71, allocations: 2.188 kB / 3.854 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/10.71, allocations: 153 kB / 3.854 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00303/10.71, allocations: 1.158 MB / 3.856 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002793/10.71, allocations: 24.98 kB / 3.856 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006767/10.72, allocations: 4.878 MB / 3.86 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.417e-06/10.72, allocations: 1.25 kB / 3.86 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01112/10.73, allocations: 4.622 MB / 3.865 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/10.73, allocations: 389.4 kB / 3.865 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004055/10.73, allocations: 3.875 kB / 3.865 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/10.73, allocations: 79.45 kB / 3.865 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003231/10.73, allocations: 113.8 kB / 3.865 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001549/10.73, allocations: 44.22 kB / 3.866 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009123/10.73, allocations: 0.5107 MB / 3.866 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.64e-07/10.73, allocations: 0 / 3.866 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009186/10.74, allocations: 1.944 MB / 3.868 GB, free: 112.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pumps.medium.p,pumps.medium.T,reservoir.medium.T,reservoir.level,PT1.y) * Number of discrete variables: 32 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.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 (97): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.01123/10.75, allocations: 2.474 MB / 3.87 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007757/10.76, allocations: 3.294 MB / 3.874 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.277e-06/10.76, allocations: 0 / 3.874 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003097/10.76, allocations: 1.279 MB / 3.875 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003023/10.77, allocations: 472.5 kB / 3.875 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007547/10.77, allocations: 3.035 MB / 3.878 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/10.78, allocations: 1.412 MB / 3.88 GB, free: 110.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006405/10.78, allocations: 122 kB / 3.88 GB, free: 110.5 MB / 0.4948 GB Notification: Performance of SimCode: time 1.945e-06/10.78, allocations: 1.844 kB / 3.88 GB, free: 110.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.1137/10.89, allocations: 87.06 MB / 3.965 GB, free: 96.47 MB / 0.4948 GB