Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.449/2.449, allocations: 270 MB / 282.6 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.635e-05/3.641e-05, allocations: 4 kB / 347.1 MB, free: 3.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.425/0.425, allocations: 61.88 MB / 408.9 MB, free: 10.62 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.896/9.321, allocations: 2.792 GB / 3.191 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004631/9.322, allocations: 83.83 kB / 3.192 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.397/11.72, allocations: 444.4 MB / 3.625 GB, free: 57.92 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.435e-06/11.72, allocations: 0 / 3.625 GB, free: 57.92 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.436e-05/11.72, allocations: 21.48 kB / 3.625 GB, free: 57.91 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.008354/11.73, allocations: 1.772 MB / 3.627 GB, free: 56.83 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/11.73, allocations: 11.59 kB / 3.627 GB, free: 56.83 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003118/11.73, allocations: 101.2 kB / 3.627 GB, free: 56.75 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004294/11.73, allocations: 356.3 kB / 3.628 GB, free: 56.68 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001868/11.73, allocations: 0.5655 MB / 3.628 GB, free: 56.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.342e-05/11.73, allocations: 51.06 kB / 3.628 GB, free: 56.28 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/11.73, allocations: 53.88 kB / 3.628 GB, free: 56.26 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003418/11.74, allocations: 0.9814 MB / 3.629 GB, free: 55.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.308e-05/11.74, allocations: 6.688 kB / 3.629 GB, free: 55.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/11.74, allocations: 23.88 kB / 3.629 GB, free: 55.79 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.907e-05/11.74, allocations: 28.95 kB / 3.629 GB, free: 55.78 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003197/11.74, allocations: 0.8049 MB / 3.63 GB, free: 55.55 MB / 0.5261 GB 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.008567/11.75, allocations: 4.926 MB / 3.635 GB, free: 51.49 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002921/11.75, allocations: 0.696 MB / 3.636 GB, free: 51.27 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000563/11.75, allocations: 229.5 kB / 3.636 GB, free: 51.17 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07808/11.83, allocations: 24.31 MB / 3.66 GB, free: 34.26 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/11.83, allocations: 34.94 kB / 3.66 GB, free: 34.21 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=46): time 4.318e-06/11.83, allocations: 0 / 3.66 GB, free: 34.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46): time 0.005282/11.84, allocations: 1.065 MB / 3.661 GB, free: 33.36 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/11.84, allocations: 113.7 kB / 3.661 GB, free: 33.23 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008429/11.84, allocations: 445.5 kB / 3.661 GB, free: 32.82 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001383/11.84, allocations: 37.7 kB / 3.661 GB, free: 32.78 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/11.84, allocations: 371.4 kB / 3.662 GB, free: 32.43 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/11.84, allocations: 158 kB / 3.662 GB, free: 32.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.043e-05/11.84, allocations: 12 kB / 3.662 GB, free: 32.29 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.121e-05/11.84, allocations: 334.5 kB / 3.662 GB, free: 31.95 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004765/11.84, allocations: 172.4 kB / 3.662 GB, free: 31.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005711/11.84, allocations: 351.1 kB / 3.663 GB, free: 31.39 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005559/11.84, allocations: 215.7 kB / 3.663 GB, free: 31.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/11.84, allocations: 0 / 3.663 GB, free: 31.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00174/11.84, allocations: 0.6376 MB / 3.663 GB, free: 30.61 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.00046/11.84, allocations: 2.004 MB / 3.665 GB, free: 28.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/11.84, allocations: 7.562 kB / 3.665 GB, free: 28.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002323/11.85, allocations: 269.7 kB / 3.666 GB, free: 28.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/11.85, allocations: 138.1 kB / 3.666 GB, free: 28.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/11.85, allocations: 0.7565 MB / 3.666 GB, free: 27.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/11.85, allocations: 120.7 kB / 3.667 GB, free: 27.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/11.85, allocations: 35.09 kB / 3.667 GB, free: 27.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/11.85, allocations: 7.953 kB / 3.667 GB, free: 27.24 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001984/11.85, allocations: 0.5954 MB / 3.667 GB, free: 26.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/11.85, allocations: 8 kB / 3.667 GB, free: 26.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001353/11.85, allocations: 156.1 kB / 3.667 GB, free: 26.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/11.85, allocations: 147.8 kB / 3.667 GB, free: 26.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008006/11.86, allocations: 0.6941 MB / 3.668 GB, free: 25.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/11.86, allocations: 105.1 kB / 3.668 GB, free: 25.67 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.367e-05/11.86, allocations: 31.75 kB / 3.668 GB, free: 25.64 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 12} Notification: Performance of prepare postOptimizeDAE: time 0.000312/11.86, allocations: 140.8 kB / 3.668 GB, free: 25.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/11.86, allocations: 63.25 kB / 3.669 GB, free: 25.43 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004664/11.86, allocations: 3.025 MB / 3.671 GB, free: 22.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.957e-05/11.86, allocations: 51.3 kB / 3.672 GB, free: 22.66 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/11.86, allocations: 3.938 kB / 3.672 GB, free: 22.66 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/11.86, allocations: 3.75 kB / 3.672 GB, free: 22.66 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/11.86, allocations: 1.475 MB / 3.673 GB, free: 21.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/11.86, allocations: 4 kB / 3.673 GB, free: 21.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007409/11.86, allocations: 92.67 kB / 3.673 GB, free: 21.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003188/11.87, allocations: 1.162 MB / 3.674 GB, free: 20.34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/11.87, allocations: 19.52 kB / 3.674 GB, free: 20.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/11.87, allocations: 1.474 MB / 3.676 GB, free: 18.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/11.87, allocations: 4.062 kB / 3.676 GB, free: 18.92 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003288/11.87, allocations: 2.003 MB / 3.678 GB, free: 17.06 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007492/11.87, allocations: 328.7 kB / 3.678 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/11.87, allocations: 12 kB / 3.678 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/11.88, allocations: 90.75 kB / 3.678 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/11.88, allocations: 55.19 kB / 3.678 GB, free: 16.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.462e-05/11.88, allocations: 23.8 kB / 3.678 GB, free: 16.63 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008045/11.88, allocations: 449 kB / 3.679 GB, free: 16.21 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.91e-07/11.88, allocations: 0 / 3.679 GB, free: 16.21 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006974/11.88, allocations: 1.437 MB / 3.68 GB, free: 14.81 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.0143/11.9, allocations: 3.874 MB / 3.684 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003905/11.9, allocations: 1.133 MB / 3.685 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/11.9, allocations: 448 / 3.685 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001405/11.9, allocations: 0.7356 MB / 3.686 GB, free: 9.684 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003056/11.91, allocations: 324.3 kB / 3.686 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007875/11.91, allocations: 2.386 MB / 3.688 GB, free: 7.254 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006189/11.91, allocations: 1.167 MB / 3.689 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007339/11.92, allocations: 415.8 kB / 3.69 GB, free: 5.855 MB / 0.5261 GB Notification: Performance of SimCode: time 1.402e-06/11.92, allocations: 0 / 3.69 GB, free: 5.855 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.643/16.56, allocations: 42.74 MB / 3.731 GB, free: 75.27 MB / 0.5417 GB