Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.966/1.966, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.657e-05/3.665e-05, allocations: 4 kB / 273.2 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1076, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.011/1.119, allocations: 309.6 MB / 0.6166 GB, free: 38.35 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/1.119, allocations: 77.52 kB / 0.6167 GB, free: 38.31 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7921/1.911, allocations: 162.9 MB / 0.7758 GB, free: 45.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.144e-06/1.912, allocations: 3.938 kB / 0.7758 GB, free: 45.92 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.401e-05/1.912, allocations: 27.98 kB / 0.7758 GB, free: 45.89 MB / 426.7 MB 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.003697/1.915, allocations: 1.03 MB / 0.7768 GB, free: 44.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.027e-05/1.915, allocations: 8.031 kB / 0.7768 GB, free: 44.81 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002203/1.916, allocations: 94.45 kB / 0.7769 GB, free: 44.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005751/1.916, allocations: 102.9 kB / 0.777 GB, free: 44.61 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/1.918, allocations: 0.6401 MB / 0.7776 GB, free: 43.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.36e-05/1.918, allocations: 37.31 kB / 0.7776 GB, free: 43.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001784/1.918, allocations: 52 kB / 0.7777 GB, free: 43.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/1.92, allocations: 0.7523 MB / 0.7784 GB, free: 43.04 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.249e-05/1.92, allocations: 0 / 0.7784 GB, free: 43.04 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/1.921, allocations: 28 kB / 0.7785 GB, free: 43.01 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.343e-05/1.921, allocations: 24.98 kB / 0.7785 GB, free: 42.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/1.922, allocations: 0.646 MB / 0.7791 GB, free: 42.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007452/1.93, allocations: 3.285 MB / 0.7823 GB, free: 38.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/1.931, allocations: 376.5 kB / 0.7827 GB, free: 38.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006912/1.932, allocations: 245.5 kB / 0.7829 GB, free: 38.26 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004227/1.932, allocations: 0.5757 MB / 0.7835 GB, free: 37.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/1.932, allocations: 38.56 kB / 0.7835 GB, free: 37.51 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001258/1.934, allocations: 115.5 kB / 0.7836 GB, free: 37.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 4.538e-06/1.934, allocations: 0 / 0.7836 GB, free: 37.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=71): time 0.0662/2, allocations: 6.025 MB / 0.7895 GB, free: 31.22 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/2, allocations: 111.6 kB / 0.7896 GB, free: 31.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008646/2.001, allocations: 499.5 kB / 0.7901 GB, free: 30.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002116/2.001, allocations: 45.7 kB / 0.7901 GB, free: 30.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/2.001, allocations: 410 kB / 0.7905 GB, free: 30.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002533/2.002, allocations: 240.5 kB / 0.7908 GB, free: 29.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/2.002, allocations: 16 kB / 0.7908 GB, free: 29.89 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.089e-05/2.002, allocations: 346.8 kB / 0.7911 GB, free: 29.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008595/2.003, allocations: 317.9 kB / 0.7914 GB, free: 29.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009814/2.004, allocations: 0.5541 MB / 0.7919 GB, free: 28.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/2.005, allocations: 385.9 kB / 0.7923 GB, free: 28.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/2.005, allocations: 0 / 0.7923 GB, free: 28.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00309/2.008, allocations: 1.107 MB / 0.7934 GB, free: 27.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006199/2.009, allocations: 2.964 MB / 0.7963 GB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/2.009, allocations: 12 kB / 0.7963 GB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01239/2.021, allocations: 1.171 MB / 0.7974 GB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002054/2.023, allocations: 255.6 kB / 0.7977 GB, free: 22.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00316/2.026, allocations: 1.569 MB / 0.7992 GB, free: 20.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00218/2.029, allocations: 116 kB / 0.7993 GB, free: 20.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001808/2.029, allocations: 60.03 kB / 0.7994 GB, free: 20.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/2.029, allocations: 4 kB / 0.7994 GB, free: 20.65 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003354/2.032, allocations: 1.055 MB / 0.8004 GB, free: 19.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/2.032, allocations: 11.98 kB / 0.8004 GB, free: 19.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002441/2.035, allocations: 341.4 kB / 0.8008 GB, free: 19.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002135/2.037, allocations: 271.6 kB / 0.801 GB, free: 18.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00423/2.041, allocations: 2.598 MB / 0.8036 GB, free: 16.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/2.043, allocations: 123.9 kB / 0.8037 GB, free: 16.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/2.043, allocations: 63.94 kB / 0.8037 GB, free: 16.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 77 * 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.0003885/2.044, allocations: 152.7 kB / 0.8039 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002953/2.044, allocations: 75.06 kB / 0.8039 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005144/2.049, allocations: 1.469 MB / 0.8054 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.281e-05/2.049, allocations: 12.11 kB / 0.8054 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/2.049, allocations: 3.938 kB / 0.8054 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/2.049, allocations: 3.984 kB / 0.8054 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008117/2.057, allocations: 2.443 MB / 0.8078 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/2.057, allocations: 0 / 0.8078 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00153/2.059, allocations: 183.8 kB / 0.808 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009971/2.069, allocations: 1.146 MB / 0.8091 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002059/2.069, allocations: 27.97 kB / 0.8091 GB, free: 10.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001859/2.071, allocations: 1.483 MB / 0.8106 GB, free: 8.883 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/2.071, allocations: 0 / 0.8106 GB, free: 8.883 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00522/2.076, allocations: 1.68 MB / 0.8122 GB, free: 7.184 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006603/2.077, allocations: 259.7 kB / 0.8124 GB, free: 6.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001959/2.077, allocations: 20 kB / 0.8125 GB, free: 6.891 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001644/2.079, allocations: 115.9 kB / 0.8126 GB, free: 6.777 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002169/2.079, allocations: 60.78 kB / 0.8126 GB, free: 6.719 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001291/2.079, allocations: 43.95 kB / 0.8127 GB, free: 6.676 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006367/2.08, allocations: 383.2 kB / 0.813 GB, free: 6.305 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.82e-07/2.08, allocations: 0 / 0.813 GB, free: 6.305 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003032/2.083, allocations: 0.6637 MB / 0.8137 GB, free: 5.641 MB / 426.7 MB 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.01076/2.094, allocations: 2.706 MB / 0.8163 GB, free: 2.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009825/2.104, allocations: 1.571 MB / 0.8179 GB, free: 1.328 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/2.104, allocations: 7.938 kB / 0.8179 GB, free: 1.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002274/2.106, allocations: 498.8 kB / 0.8184 GB, free: 0.8359 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004337/2.11, allocations: 313.2 kB / 0.8186 GB, free: 0.5391 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3272/2.438, allocations: 1.523 MB / 0.8201 GB, free: 81.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000638/2.438, allocations: 0.9907 MB / 0.8211 GB, free: 80.76 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001116/2.44, allocations: 334.6 kB / 0.8214 GB, free: 80.76 MB / 426.7 MB Notification: Performance of SimCode: time 1.433e-06/2.44, allocations: 0 / 0.8214 GB, free: 80.76 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.719/6.158, allocations: 26.91 MB / 0.8477 GB, free: 79.81 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat does not exist to compare? outputFormat=mat