Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 3.077/3.077, allocations: 270 MB / 282.6 MB, free: 1.875 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.4e-05/4.408e-05, allocations: 4 kB / 347.1 MB, free: 3.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4039/0.404, allocations: 61.86 MB / 408.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.841/9.245, allocations: 2.77 GB / 3.169 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/9.245, allocations: 84.08 kB / 3.169 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.438/13.68, allocations: 0.8276 GB / 3.997 GB, free: 42.18 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.335e-06/13.68, allocations: 3.891 kB / 3.997 GB, free: 42.18 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001255/13.68, allocations: 33.66 kB / 3.997 GB, free: 42.18 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.01142/13.7, allocations: 2.593 MB / 3.999 GB, free: 40.98 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/13.7, allocations: 9.219 kB / 3.999 GB, free: 40.98 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000472/13.7, allocations: 199 kB / 4 GB, free: 40.94 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004791/13.7, allocations: 462.8 kB / 4 GB, free: 40.86 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003079/13.7, allocations: 0.9901 MB / 4.001 GB, free: 40.53 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/13.7, allocations: 108.6 kB / 4.001 GB, free: 40.53 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002774/13.7, allocations: 118.7 kB / 4.001 GB, free: 40.53 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006002/13.71, allocations: 1.936 MB / 4.003 GB, free: 40.16 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.646e-05/13.71, allocations: 5.5 kB / 4.003 GB, free: 40.16 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002449/13.71, allocations: 59.31 kB / 4.003 GB, free: 40.16 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.825e-05/13.71, allocations: 54.09 kB / 4.003 GB, free: 40.15 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00538/13.72, allocations: 1.556 MB / 4.005 GB, free: 40.14 MB / 0.5417 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.0148/13.73, allocations: 9.446 MB / 4.014 GB, free: 33.82 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004094/13.74, allocations: 1.063 MB / 4.015 GB, free: 33.79 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/13.74, allocations: 410.5 kB / 4.015 GB, free: 33.79 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02598/13.76, allocations: 8.186 MB / 4.023 GB, free: 28.8 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/13.76, allocations: 51.83 kB / 4.024 GB, free: 28.75 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=91): time 3.497e-06/13.76, allocations: 0 / 4.024 GB, free: 28.75 MB / 0.5417 GB Notification: Performance of matching and sorting (n=91): time 0.009453/13.77, allocations: 1.949 MB / 4.025 GB, free: 28.61 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/13.77, allocations: 114.4 kB / 4.026 GB, free: 28.48 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001528/13.77, allocations: 0.75 MB / 4.026 GB, free: 28.32 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002505/13.77, allocations: 44.3 kB / 4.026 GB, free: 28.29 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004463/13.77, allocations: 0.6422 MB / 4.027 GB, free: 27.9 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003966/13.77, allocations: 304.6 kB / 4.027 GB, free: 27.71 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/13.77, allocations: 26.66 kB / 4.027 GB, free: 27.71 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001045/13.77, allocations: 350 kB / 4.028 GB, free: 27.4 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000883/13.78, allocations: 326.8 kB / 4.028 GB, free: 27.39 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/13.78, allocations: 0.6922 MB / 4.029 GB, free: 26.95 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/13.78, allocations: 421.3 kB / 4.029 GB, free: 26.94 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/13.78, allocations: 3.75 kB / 4.029 GB, free: 26.94 MB / 0.5417 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.004944/13.78, allocations: 1.393 MB / 4.03 GB, free: 26.83 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001025/13.78, allocations: 4.616 MB / 4.035 GB, free: 22.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.207e-05/13.78, allocations: 11.56 kB / 4.035 GB, free: 22.03 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003416/13.79, allocations: 0.5155 MB / 4.035 GB, free: 21.99 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/13.79, allocations: 217.9 kB / 4.036 GB, free: 21.99 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006333/13.8, allocations: 2.717 MB / 4.038 GB, free: 35.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002948/13.8, allocations: 242.9 kB / 4.038 GB, free: 35.84 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002912/13.8, allocations: 71.45 kB / 4.039 GB, free: 35.84 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/13.8, allocations: 3.219 kB / 4.039 GB, free: 35.84 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006459/13.8, allocations: 1.314 MB / 4.04 GB, free: 35.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-05/13.81, allocations: 14.41 kB / 4.04 GB, free: 35.79 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00412/13.81, allocations: 422.5 kB / 4.04 GB, free: 35.75 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/13.81, allocations: 239.8 kB / 4.04 GB, free: 35.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00499/13.82, allocations: 2.576 MB / 4.043 GB, free: 33.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002282/13.82, allocations: 210.5 kB / 4.043 GB, free: 33.63 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001902/13.82, allocations: 69.86 kB / 4.043 GB, free: 33.63 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase,pumpLinear.monitoring.state_in.phase,pumpQuadraticLinear.monitoring.state_in.phase,pumpPolynomial.monitoring.state_in.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 107 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,2 8,2 8,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0004982/13.82, allocations: 192.4 kB / 4.043 GB, free: 33.51 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004244/13.82, allocations: 122.1 kB / 4.044 GB, free: 33.45 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007318/13.83, allocations: 3.89 MB / 4.047 GB, free: 33.09 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-05/13.83, allocations: 36.98 kB / 4.047 GB, free: 33.09 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/13.83, allocations: 0 / 4.047 GB, free: 33.09 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.323e-05/13.83, allocations: 3.75 kB / 4.047 GB, free: 33.09 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01032/13.84, allocations: 6.077 MB / 4.053 GB, free: 32.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/13.84, allocations: 4.828 kB / 4.053 GB, free: 32.19 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008792/13.84, allocations: 125.5 kB / 4.053 GB, free: 32.19 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0043/13.84, allocations: 1.445 MB / 4.055 GB, free: 32.13 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001814/13.84, allocations: 23.38 kB / 4.055 GB, free: 32.13 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004776/13.85, allocations: 3.725 MB / 4.059 GB, free: 30.01 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/13.85, allocations: 3.188 kB / 4.059 GB, free: 30.01 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004971/13.85, allocations: 2.729 MB / 4.061 GB, free: 29.65 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001181/13.85, allocations: 415.3 kB / 4.062 GB, free: 29.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002637/13.85, allocations: 18.56 kB / 4.062 GB, free: 29.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002114/13.86, allocations: 202.1 kB / 4.062 GB, free: 29.41 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002482/13.86, allocations: 84.52 kB / 4.062 GB, free: 29.41 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/13.86, allocations: 36.41 kB / 4.062 GB, free: 29.41 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001323/13.86, allocations: 0.6578 MB / 4.063 GB, free: 29.29 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.2e-07/13.86, allocations: 0 / 4.063 GB, free: 29.29 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009111/13.87, allocations: 1.948 MB / 4.064 GB, free: 28.99 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 10,2 10,2 10,2 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01621/13.88, allocations: 4.683 MB / 4.069 GB, free: 27.82 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01017/13.89, allocations: 1.919 MB / 4.071 GB, free: 27.78 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/13.89, allocations: 3 kB / 4.071 GB, free: 27.78 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002898/13.9, allocations: 0.9047 MB / 4.072 GB, free: 27.75 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005196/13.9, allocations: 0.587 MB / 4.072 GB, free: 27.73 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/13.91, allocations: 3.102 MB / 4.075 GB, free: 26.59 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001089/13.91, allocations: 1.39 MB / 4.077 GB, free: 25.85 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001145/13.91, allocations: 0.6244 MB / 4.077 GB, free: 25.35 MB / 0.5573 GB Notification: Performance of SimCode: time 2.715e-06/13.91, allocations: 0 / 4.077 GB, free: 25.35 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.967/18.88, allocations: 77.96 MB / 4.153 GB, free: 70.89 MB / 0.573 GB