Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.337/2.337, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.864e-05/3.865e-05, allocations: 4 kB / 305 MB, free: 5.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.3998, allocations: 54.85 MB / 359.9 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8466/1.246, allocations: 315.8 MB / 0.6599 GB, free: 18.5 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/1.247, allocations: 84.64 kB / 0.6599 GB, free: 18.46 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8559/2.103, allocations: 163 MB / 0.8191 GB, free: 65.34 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.844e-06/2.103, allocations: 0 / 0.8191 GB, free: 65.34 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.711e-05/2.103, allocations: 24.12 kB / 0.8191 GB, free: 65.31 MB / 474.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.003742/2.107, allocations: 1.038 MB / 0.8202 GB, free: 64.23 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/2.107, allocations: 8.031 kB / 0.8202 GB, free: 64.22 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002073/2.107, allocations: 94.52 kB / 0.8203 GB, free: 64.12 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000571/2.107, allocations: 94.97 kB / 0.8203 GB, free: 64.03 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/2.109, allocations: 0.6322 MB / 0.821 GB, free: 63.35 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.065e-05/2.109, allocations: 41.31 kB / 0.821 GB, free: 63.31 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/2.109, allocations: 56 kB / 0.8211 GB, free: 63.25 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/2.111, allocations: 0.753 MB / 0.8218 GB, free: 62.45 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/2.111, allocations: 3.938 kB / 0.8218 GB, free: 62.45 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/2.111, allocations: 24 kB / 0.8218 GB, free: 62.42 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.031e-05/2.111, allocations: 21 kB / 0.8218 GB, free: 62.4 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001511/2.113, allocations: 0.6383 MB / 0.8225 GB, free: 61.77 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006589/2.12, allocations: 3.301 MB / 0.8257 GB, free: 58.29 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/2.121, allocations: 376.5 kB / 0.826 GB, free: 57.91 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006433/2.121, allocations: 237.6 kB / 0.8263 GB, free: 57.68 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004195/2.122, allocations: 0.5758 MB / 0.8268 GB, free: 56.97 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/2.122, allocations: 38.56 kB / 0.8269 GB, free: 56.93 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001256/2.123, allocations: 119.5 kB / 0.827 GB, free: 56.81 MB / 474.7 MB Notification: Performance of pre-optimization done (n=45): time 3.316e-06/2.123, allocations: 4 kB / 0.827 GB, free: 56.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=71): time 0.0666/2.19, allocations: 6.022 MB / 0.8329 GB, free: 50.64 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/2.19, allocations: 115.5 kB / 0.833 GB, free: 50.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008856/2.191, allocations: 499.5 kB / 0.8335 GB, free: 50.01 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001987/2.191, allocations: 37.7 kB / 0.8335 GB, free: 49.97 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002373/2.191, allocations: 410.1 kB / 0.8339 GB, free: 49.56 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/2.191, allocations: 236.5 kB / 0.8341 GB, free: 49.33 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/2.192, allocations: 20 kB / 0.8341 GB, free: 49.31 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.856e-05/2.192, allocations: 347.2 kB / 0.8345 GB, free: 48.96 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008615/2.193, allocations: 313.9 kB / 0.8348 GB, free: 48.66 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009729/2.194, allocations: 0.558 MB / 0.8353 GB, free: 47.98 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/2.195, allocations: 393.9 kB / 0.8357 GB, free: 47.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/2.195, allocations: 0 / 0.8357 GB, free: 47.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003103/2.198, allocations: 1.102 MB / 0.8368 GB, free: 46.48 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006477/2.198, allocations: 2.97 MB / 0.8397 GB, free: 43.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-05/2.199, allocations: 8 kB / 0.8397 GB, free: 43.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01262/2.211, allocations: 1.175 MB / 0.8408 GB, free: 42.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00208/2.213, allocations: 251.6 kB / 0.8411 GB, free: 41.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0032/2.217, allocations: 1.576 MB / 0.8426 GB, free: 40.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002316/2.219, allocations: 116 kB / 0.8427 GB, free: 40.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001887/2.219, allocations: 67.94 kB / 0.8428 GB, free: 40.04 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/2.219, allocations: 0 / 0.8428 GB, free: 40.04 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003435/2.223, allocations: 1.046 MB / 0.8438 GB, free: 38.99 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/2.223, allocations: 8 kB / 0.8438 GB, free: 38.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00247/2.225, allocations: 350 kB / 0.8441 GB, free: 38.63 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002105/2.227, allocations: 267.6 kB / 0.8444 GB, free: 38.37 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004254/2.231, allocations: 2.594 MB / 0.8469 GB, free: 35.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/2.233, allocations: 119.9 kB / 0.847 GB, free: 35.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001696/2.234, allocations: 63.94 kB / 0.8471 GB, free: 35.43 MB / 474.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.0003826/2.234, allocations: 160.7 kB / 0.8472 GB, free: 35.27 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/2.234, allocations: 75.06 kB / 0.8473 GB, free: 35.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005075/2.239, allocations: 1.465 MB / 0.8487 GB, free: 33.72 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/2.239, allocations: 16 kB / 0.8488 GB, free: 33.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/2.239, allocations: 0 / 0.8488 GB, free: 33.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/2.239, allocations: 3.984 kB / 0.8488 GB, free: 33.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008059/2.247, allocations: 2.427 MB / 0.8511 GB, free: 31.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/2.248, allocations: 4 kB / 0.8511 GB, free: 31.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/2.249, allocations: 191.7 kB / 0.8513 GB, free: 31.01 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01014/2.259, allocations: 1.136 MB / 0.8524 GB, free: 29.87 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001951/2.26, allocations: 31.97 kB / 0.8525 GB, free: 29.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/2.261, allocations: 1.479 MB / 0.8539 GB, free: 28.31 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/2.261, allocations: 0 / 0.8539 GB, free: 28.31 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005049/2.266, allocations: 1.684 MB / 0.8556 GB, free: 26.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006347/2.267, allocations: 255.9 kB / 0.8558 GB, free: 26.33 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002013/2.267, allocations: 24.02 kB / 0.8558 GB, free: 26.31 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001613/2.269, allocations: 111.9 kB / 0.8559 GB, free: 26.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/2.269, allocations: 64.67 kB / 0.856 GB, free: 26.14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001266/2.269, allocations: 39.97 kB / 0.856 GB, free: 26.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006641/2.27, allocations: 379.2 kB / 0.8564 GB, free: 25.73 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.51e-07/2.27, allocations: 4 kB / 0.8564 GB, free: 25.73 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002988/2.273, allocations: 0.6753 MB / 0.8571 GB, free: 25.05 MB / 474.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.007603/2.281, allocations: 2.716 MB / 0.8597 GB, free: 22.32 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006304/2.287, allocations: 1.571 MB / 0.8612 GB, free: 20.75 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/2.287, allocations: 4 kB / 0.8612 GB, free: 20.74 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001529/2.289, allocations: 0.495 MB / 0.8617 GB, free: 20.25 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00292/2.292, allocations: 305 kB / 0.862 GB, free: 19.95 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005518/2.297, allocations: 1.533 MB / 0.8635 GB, free: 18.37 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004644/2.298, allocations: 0.9966 MB / 0.8645 GB, free: 17.34 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009468/2.299, allocations: 331.3 kB / 0.8648 GB, free: 17.02 MB / 474.7 MB Notification: Performance of SimCode: time 1.162e-06/2.299, allocations: 0 / 0.8648 GB, free: 17.02 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.798/6.096, allocations: 26.91 MB / 0.8911 GB, free: 96.29 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat does not exist to compare? outputFormat=mat