Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.446/2.446, allocations: 270 MB / 282.6 MB, free: 1.891 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.811e-05/3.811e-05, allocations: 4 kB / 347.1 MB, free: 3.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4343/0.4344, allocations: 61.88 MB / 408.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8581/1.293, allocations: 322.4 MB / 0.7142 GB, free: 3.312 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/1.293, allocations: 86.2 kB / 0.7143 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.9195/2.212, allocations: 168.5 MB / 0.8788 GB, free: 54.25 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.294e-06/2.213, allocations: 0 / 0.8788 GB, free: 54.25 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.338e-05/2.213, allocations: 27.92 kB / 0.8788 GB, free: 54.22 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.004944/2.218, allocations: 1.041 MB / 0.8798 GB, free: 53.14 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.05e-05/2.218, allocations: 16.03 kB / 0.8798 GB, free: 53.12 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002852/2.218, allocations: 90.52 kB / 0.8799 GB, free: 53.02 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008862/2.219, allocations: 98.95 kB / 0.88 GB, free: 52.93 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002403/2.221, allocations: 0.6051 MB / 0.8806 GB, free: 52.28 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.139e-05/2.221, allocations: 45.3 kB / 0.8807 GB, free: 52.23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002059/2.222, allocations: 48 kB / 0.8807 GB, free: 52.19 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002469/2.224, allocations: 0.7679 MB / 0.8815 GB, free: 51.36 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.625e-05/2.224, allocations: 7.938 kB / 0.8815 GB, free: 51.36 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001585/2.224, allocations: 24 kB / 0.8815 GB, free: 51.33 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.248e-05/2.224, allocations: 21 kB / 0.8815 GB, free: 51.31 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002155/2.227, allocations: 0.6422 MB / 0.8821 GB, free: 50.67 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008902/2.236, allocations: 3.286 MB / 0.8853 GB, free: 47.21 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/2.237, allocations: 392.5 kB / 0.8857 GB, free: 46.82 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009793/2.238, allocations: 253.5 kB / 0.886 GB, free: 46.57 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005354/2.239, allocations: 0.5719 MB / 0.8865 GB, free: 45.88 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/2.239, allocations: 42.55 kB / 0.8866 GB, free: 45.82 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00164/2.241, allocations: 131.3 kB / 0.8867 GB, free: 45.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=45): time 5.019e-06/2.241, allocations: 0 / 0.8867 GB, free: 45.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71): time 0.07987/2.32, allocations: 6.135 MB / 0.8927 GB, free: 39.43 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/2.321, allocations: 111.6 kB / 0.8928 GB, free: 39.29 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/2.322, allocations: 0.5465 MB / 0.8933 GB, free: 38.74 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002472/2.322, allocations: 37.7 kB / 0.8934 GB, free: 38.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/2.322, allocations: 386.7 kB / 0.8937 GB, free: 38.31 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002743/2.322, allocations: 244.4 kB / 0.894 GB, free: 38.07 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/2.323, allocations: 16 kB / 0.894 GB, free: 38.05 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.099e-05/2.323, allocations: 342.8 kB / 0.8943 GB, free: 37.71 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009613/2.324, allocations: 337.9 kB / 0.8946 GB, free: 37.38 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/2.325, allocations: 0.5137 MB / 0.8951 GB, free: 36.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/2.326, allocations: 386 kB / 0.8955 GB, free: 36.42 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/2.326, allocations: 4 kB / 0.8955 GB, free: 36.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.003245/2.329, allocations: 1.111 MB / 0.8966 GB, free: 35.29 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004514/2.33, allocations: 2.006 MB / 0.8985 GB, free: 33.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/2.33, allocations: 8 kB / 0.8985 GB, free: 33.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01225/2.342, allocations: 1.19 MB / 0.8997 GB, free: 31.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/2.344, allocations: 235.6 kB / 0.8999 GB, free: 31.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003583/2.348, allocations: 1.601 MB / 0.9015 GB, free: 30.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/2.35, allocations: 112 kB / 0.9016 GB, free: 29.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001918/2.35, allocations: 63.94 kB / 0.9017 GB, free: 29.87 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/2.35, allocations: 4 kB / 0.9017 GB, free: 29.86 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004059/2.354, allocations: 1.07 MB / 0.9027 GB, free: 28.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/2.354, allocations: 8 kB / 0.9027 GB, free: 28.78 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002924/2.357, allocations: 361.6 kB / 0.9031 GB, free: 28.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00219/2.359, allocations: 259.6 kB / 0.9033 GB, free: 28.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004732/2.364, allocations: 2.637 MB / 0.9059 GB, free: 25.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001901/2.366, allocations: 127.8 kB / 0.906 GB, free: 25.24 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/2.366, allocations: 59.94 kB / 0.9061 GB, free: 25.18 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003807/2.367, allocations: 148.8 kB / 0.9062 GB, free: 25.03 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003471/2.367, allocations: 79.06 kB / 0.9063 GB, free: 24.95 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0052/2.372, allocations: 1.493 MB / 0.9077 GB, free: 23.45 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/2.372, allocations: 16 kB / 0.9078 GB, free: 23.43 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/2.372, allocations: 0 / 0.9078 GB, free: 23.43 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/2.372, allocations: 3.984 kB / 0.9078 GB, free: 23.43 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008487/2.381, allocations: 2.525 MB / 0.9102 GB, free: 20.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/2.381, allocations: 0 / 0.9102 GB, free: 20.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/2.383, allocations: 183.7 kB / 0.9104 GB, free: 20.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0114/2.394, allocations: 1.225 MB / 0.9116 GB, free: 19.43 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002096/2.394, allocations: 27.97 kB / 0.9116 GB, free: 19.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002001/2.396, allocations: 1.511 MB / 0.9131 GB, free: 17.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/2.396, allocations: 4 kB / 0.9131 GB, free: 17.84 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005207/2.401, allocations: 1.738 MB / 0.9148 GB, free: 16.07 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007555/2.402, allocations: 275.8 kB / 0.9151 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002131/2.403, allocations: 23.92 kB / 0.9151 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001736/2.404, allocations: 112 kB / 0.9152 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002124/2.404, allocations: 64.69 kB / 0.9153 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000136/2.405, allocations: 39.95 kB / 0.9153 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007614/2.405, allocations: 439.2 kB / 0.9157 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.52e-07/2.405, allocations: 0 / 0.9157 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003328/2.409, allocations: 0.6948 MB / 0.9164 GB, free: 14.43 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pump.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.007816/2.417, allocations: 2.798 MB / 0.9191 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006353/2.423, allocations: 1.62 MB / 0.9207 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/2.423, allocations: 0 / 0.9207 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001486/2.425, allocations: 0.4989 MB / 0.9212 GB, free: 9.488 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00326/2.428, allocations: 365.9 kB / 0.9215 GB, free: 9.133 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004927/2.433, allocations: 1.518 MB / 0.923 GB, free: 7.562 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000474/2.433, allocations: 0.9889 MB / 0.924 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009242/2.434, allocations: 343.2 kB / 0.9243 GB, free: 6.207 MB / 0.5261 GB Notification: Performance of SimCode: time 1.433e-06/2.434, allocations: 0 / 0.9243 GB, free: 6.207 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.963/6.397, allocations: 28.08 MB / 0.9517 GB, free: 117.9 MB / 0.5261 GB