Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.424/2.424, allocations: 270 MB / 282.6 MB, free: 1.832 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.706e-05/4.718e-05, allocations: 7.938 kB / 347.1 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4364/0.4365, allocations: 61.85 MB / 408.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.72/9.157, allocations: 2.787 GB / 3.186 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/9.157, allocations: 82.83 kB / 3.187 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.395/11.55, allocations: 444.1 MB / 3.62 GB, free: 59.24 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.534e-06/11.55, allocations: 0 / 3.62 GB, free: 59.24 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.166e-05/11.55, allocations: 15.56 kB / 3.62 GB, free: 59.23 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.008097/11.56, allocations: 1.755 MB / 3.622 GB, free: 58.16 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/11.56, allocations: 11.81 kB / 3.622 GB, free: 58.16 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000242/11.56, allocations: 100.3 kB / 3.622 GB, free: 58.09 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003633/11.56, allocations: 337.9 kB / 3.622 GB, free: 58.02 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001799/11.57, allocations: 0.5642 MB / 3.623 GB, free: 57.64 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.658e-05/11.57, allocations: 48.06 kB / 3.623 GB, free: 57.62 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/11.57, allocations: 60.59 kB / 3.623 GB, free: 57.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003199/11.57, allocations: 0.9639 MB / 3.624 GB, free: 57.15 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.876e-05/11.57, allocations: 7.25 kB / 3.624 GB, free: 57.15 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/11.57, allocations: 27.88 kB / 3.624 GB, free: 57.13 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.294e-05/11.57, allocations: 22.48 kB / 3.624 GB, free: 57.12 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002864/11.57, allocations: 0.8029 MB / 3.625 GB, free: 56.89 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.006962/11.58, allocations: 4.538 MB / 3.629 GB, free: 53.09 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003025/11.58, allocations: 0.7396 MB / 3.63 GB, free: 52.86 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000575/11.58, allocations: 238.3 kB / 3.63 GB, free: 52.75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1779/11.76, allocations: 55.75 MB / 3.685 GB, free: 6.516 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002776/11.76, allocations: 43 kB / 3.685 GB, free: 22.46 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=48): time 4.328e-06/11.76, allocations: 2.906 kB / 3.685 GB, free: 22.46 MB / 0.5417 GB Notification: Performance of matching and sorting (n=52): time 0.007674/11.77, allocations: 1.867 MB / 3.687 GB, free: 20.82 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.036e-05/11.77, allocations: 115.2 kB / 3.687 GB, free: 20.68 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007781/11.77, allocations: 445.9 kB / 3.687 GB, free: 20.28 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.823e-05/11.77, allocations: 37.7 kB / 3.687 GB, free: 20.24 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/11.77, allocations: 352.3 kB / 3.687 GB, free: 19.91 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/11.77, allocations: 180.8 kB / 3.688 GB, free: 19.75 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.796e-05/11.77, allocations: 16 kB / 3.688 GB, free: 19.73 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001353/11.77, allocations: 338.2 kB / 3.688 GB, free: 19.4 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005319/11.77, allocations: 193 kB / 3.688 GB, free: 19.21 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006109/11.77, allocations: 361.2 kB / 3.688 GB, free: 18.82 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006467/11.77, allocations: 241.2 kB / 3.689 GB, free: 18.61 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/11.77, allocations: 3.938 kB / 3.689 GB, free: 18.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002503/11.78, allocations: 0.7596 MB / 3.689 GB, free: 17.91 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006768/11.78, allocations: 1.737 MB / 3.691 GB, free: 16.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/11.78, allocations: 8 kB / 3.691 GB, free: 16.03 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003156/11.78, allocations: 389 kB / 3.691 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000998/11.78, allocations: 141.5 kB / 3.692 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/11.78, allocations: 0.8563 MB / 3.692 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/11.78, allocations: 96.25 kB / 3.693 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/11.78, allocations: 38.98 kB / 3.693 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/11.78, allocations: 4 kB / 3.693 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00342/11.79, allocations: 0.7584 MB / 3.693 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/11.79, allocations: 8 kB / 3.693 GB, free: 14 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002262/11.79, allocations: 284.3 kB / 3.694 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000974/11.79, allocations: 143.5 kB / 3.694 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/11.79, allocations: 0.8316 MB / 3.695 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/11.79, allocations: 98.66 kB / 3.695 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.661e-05/11.79, allocations: 31.47 kB / 3.695 GB, free: 12.74 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (56): * Single equations (assignments): 55 * 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 {3 18} Notification: Performance of prepare postOptimizeDAE: time 0.0003046/11.79, allocations: 140.7 kB / 3.695 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002118/11.79, allocations: 67.19 kB / 3.695 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005188/11.8, allocations: 2.862 MB / 3.698 GB, free: 9.934 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.361e-05/11.8, allocations: 42.94 kB / 3.698 GB, free: 9.91 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/11.8, allocations: 0 / 3.698 GB, free: 9.91 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.602e-05/11.8, allocations: 3.609 kB / 3.698 GB, free: 9.91 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00735/11.81, allocations: 4.014 MB / 3.702 GB, free: 6.359 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/11.81, allocations: 3.797 kB / 3.702 GB, free: 6.359 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001518/11.81, allocations: 175.1 kB / 3.702 GB, free: 6.223 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005346/11.81, allocations: 63.16 kB / 3.702 GB, free: 6.172 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.965e-05/11.81, allocations: 19.47 kB / 3.702 GB, free: 6.156 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009201/11.81, allocations: 1.184 MB / 3.703 GB, free: 4.941 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/11.81, allocations: 0 / 3.703 GB, free: 4.941 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004576/11.82, allocations: 2.384 MB / 3.705 GB, free: 2.711 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007852/11.82, allocations: 329.9 kB / 3.706 GB, free: 2.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/11.82, allocations: 16 kB / 3.706 GB, free: 2.395 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/11.82, allocations: 72.33 kB / 3.706 GB, free: 2.34 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001787/11.82, allocations: 52.98 kB / 3.706 GB, free: 2.312 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.53e-05/11.82, allocations: 26.06 kB / 3.706 GB, free: 2.289 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009247/11.82, allocations: 457.2 kB / 3.706 GB, free: 1.875 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.61e-07/11.82, allocations: 0 / 3.706 GB, free: 1.875 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007325/11.83, allocations: 1.411 MB / 3.708 GB, free: 0.4961 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 25 ($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.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$cse18.phase,$cse18.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 (68): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.4175/12.24, allocations: 4.579 MB / 3.712 GB, free: 78.73 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004238/12.25, allocations: 1.26 MB / 3.713 GB, free: 78.71 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/12.25, allocations: 0.9688 kB / 3.713 GB, free: 78.71 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002/12.25, allocations: 0.8079 MB / 3.714 GB, free: 78.71 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003162/12.25, allocations: 325.2 kB / 3.714 GB, free: 78.71 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008542/12.26, allocations: 2.586 MB / 3.717 GB, free: 78.24 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006473/12.26, allocations: 1.163 MB / 3.718 GB, free: 77.54 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000827/12.26, allocations: 457.2 kB / 3.719 GB, free: 77.53 MB / 0.5417 GB Notification: Performance of SimCode: time 1.703e-06/12.26, allocations: 3.062 kB / 3.719 GB, free: 77.53 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.157/16.42, allocations: 45.4 MB / 3.763 GB, free: 75.05 MB / 0.5417 GB