Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpStorage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.996/2.996, allocations: 270 MB / 282.6 MB, free: 1.887 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.559e-05/3.566e-05, allocations: 4 kB / 347.1 MB, free: 3.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4287/0.4288, allocations: 61.87 MB / 408.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.005/9.433, allocations: 2.787 GB / 3.186 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004261/9.434, allocations: 81.7 kB / 3.187 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.425/11.86, allocations: 443.7 MB / 3.62 GB, free: 59.38 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.873e-06/11.86, allocations: 0 / 3.62 GB, free: 59.38 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.005e-05/11.86, allocations: 25.28 kB / 3.62 GB, free: 59.37 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.007736/11.87, allocations: 1.748 MB / 3.622 GB, free: 58.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/11.87, allocations: 7.656 kB / 3.622 GB, free: 58.3 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002519/11.87, allocations: 102.8 kB / 3.622 GB, free: 58.23 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003716/11.87, allocations: 334.4 kB / 3.622 GB, free: 58.17 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001729/11.87, allocations: 0.5688 MB / 3.623 GB, free: 57.79 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.971e-05/11.87, allocations: 44.59 kB / 3.623 GB, free: 57.77 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/11.87, allocations: 58.16 kB / 3.623 GB, free: 57.75 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003088/11.88, allocations: 0.9618 MB / 3.624 GB, free: 57.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.156e-05/11.88, allocations: 7.125 kB / 3.624 GB, free: 57.29 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/11.88, allocations: 27.53 kB / 3.624 GB, free: 57.27 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.099e-05/11.88, allocations: 28.59 kB / 3.624 GB, free: 57.27 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00279/11.88, allocations: 0.7914 MB / 3.624 GB, free: 57.04 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.00689/11.89, allocations: 4.52 MB / 3.629 GB, free: 53.25 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002815/11.89, allocations: 0.7176 MB / 3.63 GB, free: 53.02 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005704/11.89, allocations: 249.7 kB / 3.63 GB, free: 52.91 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1997/12.09, allocations: 55.75 MB / 3.684 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/12.09, allocations: 38.94 kB / 3.684 GB, free: 6.875 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 3.377e-06/12.09, allocations: 3.938 kB / 3.684 GB, free: 6.871 MB / 0.5261 GB Notification: Performance of matching and sorting (n=52): time 0.007643/12.1, allocations: 1.847 MB / 3.686 GB, free: 5.246 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/12.1, allocations: 111.2 kB / 3.686 GB, free: 5.113 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009832/12.1, allocations: 447 kB / 3.687 GB, free: 20.71 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001608/12.1, allocations: 33.7 kB / 3.687 GB, free: 20.67 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/12.1, allocations: 365.8 kB / 3.687 GB, free: 20.32 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/12.1, allocations: 176.2 kB / 3.687 GB, free: 20.17 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.709e-05/12.1, allocations: 12 kB / 3.687 GB, free: 20.16 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001717/12.1, allocations: 334 kB / 3.687 GB, free: 19.83 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000524/12.1, allocations: 196.7 kB / 3.688 GB, free: 19.64 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005867/12.1, allocations: 358.1 kB / 3.688 GB, free: 19.25 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005828/12.1, allocations: 237.3 kB / 3.688 GB, free: 19.04 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/12.1, allocations: 0 / 3.688 GB, free: 19.04 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002538/12.1, allocations: 0.7541 MB / 3.689 GB, free: 18.35 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007517/12.1, allocations: 1.74 MB / 3.691 GB, free: 16.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/12.1, allocations: 7.953 kB / 3.691 GB, free: 16.47 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003195/12.11, allocations: 391.8 kB / 3.691 GB, free: 16.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009994/12.11, allocations: 142 kB / 3.691 GB, free: 16.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/12.11, allocations: 0.8664 MB / 3.692 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/12.11, allocations: 91.19 kB / 3.692 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/12.11, allocations: 39.84 kB / 3.692 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/12.11, allocations: 4 kB / 3.692 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003334/12.12, allocations: 0.7462 MB / 3.693 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/12.12, allocations: 16 kB / 3.693 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002176/12.12, allocations: 275.7 kB / 3.693 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/12.12, allocations: 134.5 kB / 3.693 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/12.12, allocations: 0.8313 MB / 3.694 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/12.12, allocations: 90.17 kB / 3.694 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.166e-05/12.12, allocations: 39.75 kB / 3.694 GB, free: 13.18 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 (55): * Single equations (assignments): 54 * 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0003097/12.12, allocations: 148.8 kB / 3.694 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002271/12.12, allocations: 70.94 kB / 3.694 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005317/12.13, allocations: 2.828 MB / 3.697 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.269e-05/12.13, allocations: 52.53 kB / 3.697 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/12.13, allocations: 0 / 3.697 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/12.13, allocations: 3.516 kB / 3.697 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007662/12.14, allocations: 3.996 MB / 3.701 GB, free: 6.832 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/12.14, allocations: 4 kB / 3.701 GB, free: 6.828 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001513/12.14, allocations: 168.8 kB / 3.701 GB, free: 6.695 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005149/12.14, allocations: 78.42 kB / 3.701 GB, free: 6.633 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/12.14, allocations: 20 kB / 3.701 GB, free: 6.613 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/12.14, allocations: 1.172 MB / 3.703 GB, free: 5.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/12.14, allocations: 0 / 3.703 GB, free: 5.41 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004787/12.14, allocations: 2.368 MB / 3.705 GB, free: 3.199 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000825/12.14, allocations: 329.9 kB / 3.705 GB, free: 2.898 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/12.14, allocations: 15 kB / 3.705 GB, free: 2.887 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/12.15, allocations: 78.39 kB / 3.705 GB, free: 2.824 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/12.15, allocations: 56.33 kB / 3.705 GB, free: 2.789 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.171e-05/12.15, allocations: 21.73 kB / 3.705 GB, free: 2.77 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009669/12.15, allocations: 447.7 kB / 3.706 GB, free: 2.363 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.22e-07/12.15, allocations: 0 / 3.706 GB, free: 2.363 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007344/12.15, allocations: 1.41 MB / 3.707 GB, free: 0.9883 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,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$cse17.phase,$cse17.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 (67): * Single equations (assignments): 52 * 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.437/12.59, allocations: 4.567 MB / 3.712 GB, free: 78.66 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006579/12.6, allocations: 1.248 MB / 3.713 GB, free: 78.64 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/12.6, allocations: 0 / 3.713 GB, free: 78.64 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002439/12.6, allocations: 0.7973 MB / 3.714 GB, free: 78.64 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00402/12.6, allocations: 313.6 kB / 3.714 GB, free: 78.64 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/12.62, allocations: 2.591 MB / 3.716 GB, free: 78.16 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/12.62, allocations: 1.167 MB / 3.718 GB, free: 77.46 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/12.62, allocations: 453.2 kB / 3.718 GB, free: 77.45 MB / 0.5417 GB Notification: Performance of SimCode: time 1.343e-06/12.62, allocations: 0 / 3.718 GB, free: 77.45 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.062/16.68, allocations: 45.21 MB / 3.762 GB, free: 74.98 MB / 0.5417 GB