Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.032/2.032, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.017e-05/3.029e-05, allocations: 0 / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4153/0.5214, allocations: 74.03 MB / 395.9 MB, free: 15.91 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.5217, allocations: 71.95 kB / 395.9 MB, free: 15.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04673/0.5684, allocations: 8.156 MB / 404.1 MB, free: 7.684 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5685, allocations: 0 / 404.1 MB, free: 7.684 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.5685, allocations: 0 / 404.1 MB, free: 7.684 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004639/0.569, allocations: 354.5 kB / 404.4 MB, free: 7.293 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.139e-05/0.5691, allocations: 8.031 kB / 404.4 MB, free: 7.285 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.522e-05/0.5691, allocations: 34.56 kB / 404.5 MB, free: 7.242 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.79e-05/0.5692, allocations: 0 / 404.5 MB, free: 7.242 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.5693, allocations: 163 kB / 404.6 MB, free: 7.043 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.5693, allocations: 0 / 404.6 MB, free: 7.043 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.5694, allocations: 0 / 404.6 MB, free: 7.043 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.5695, allocations: 37.69 kB / 404.7 MB, free: 7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.5695, allocations: 4 kB / 404.7 MB, free: 6.996 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.5695, allocations: 0 / 404.7 MB, free: 6.996 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.5695, allocations: 4 kB / 404.7 MB, free: 6.992 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.559e-05/0.5696, allocations: 3.938 kB / 404.7 MB, free: 6.988 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001868/0.5698, allocations: 149.7 kB / 404.8 MB, free: 6.793 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.892e-05/0.5698, allocations: 22.52 kB / 404.8 MB, free: 6.762 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.779e-05/0.5699, allocations: 8.922 kB / 404.9 MB, free: 6.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.5699, allocations: 0 / 404.9 MB, free: 6.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.57, allocations: 38.55 kB / 404.9 MB, free: 6.703 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 1.573e-06/0.57, allocations: 0 / 404.9 MB, free: 6.703 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001369/0.5701, allocations: 37.64 kB / 404.9 MB, free: 6.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/0.5702, allocations: 51.41 kB / 405 MB, free: 6.598 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.71e-05/0.5703, allocations: 89 kB / 405.1 MB, free: 6.504 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.5703, allocations: 29.7 kB / 405.1 MB, free: 6.469 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.416e-05/0.5704, allocations: 150.7 kB / 405.2 MB, free: 6.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.5705, allocations: 7.938 kB / 405.2 MB, free: 6.312 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/0.5705, allocations: 0 / 405.2 MB, free: 6.312 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.5706, allocations: 310.8 kB / 405.6 MB, free: 6 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.516e-05/0.5706, allocations: 0 / 405.6 MB, free: 6 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.043e-05/0.5707, allocations: 11.92 kB / 405.6 MB, free: 5.988 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.909e-05/0.5707, allocations: 0 / 405.6 MB, free: 5.988 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.5707, allocations: 3.953 kB / 405.6 MB, free: 5.984 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.619e-05/0.5708, allocations: 37.64 kB / 405.6 MB, free: 5.941 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.5708, allocations: 8.094 kB / 405.6 MB, free: 5.934 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/0.5709, allocations: 4 kB / 405.6 MB, free: 5.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.5709, allocations: 0 / 405.6 MB, free: 5.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.272e-06/0.5709, allocations: 0 / 405.6 MB, free: 5.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.5709, allocations: 0 / 405.6 MB, free: 5.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.578e-05/0.571, allocations: 3.906 kB / 405.6 MB, free: 5.926 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.571, allocations: 4 kB / 405.6 MB, free: 5.922 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.537e-05/0.5711, allocations: 113 kB / 405.7 MB, free: 5.805 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.483e-05/0.5711, allocations: 3.953 kB / 405.7 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.5713, allocations: 40.83 kB / 405.8 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.5713, allocations: 0 / 405.8 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5713, allocations: 0 / 405.8 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.5713, allocations: 0 / 405.8 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.5714, allocations: 153.7 kB / 405.9 MB, free: 5.559 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.5715, allocations: 3.938 kB / 405.9 MB, free: 5.555 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.456e-06/0.5715, allocations: 3.953 kB / 405.9 MB, free: 5.551 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.5715, allocations: 0 / 405.9 MB, free: 5.551 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.5715, allocations: 4.031 kB / 405.9 MB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.5715, allocations: 7.938 kB / 405.9 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.5715, allocations: 3.984 kB / 405.9 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.5716, allocations: 53.14 kB / 406 MB, free: 5.465 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.885e-05/0.5717, allocations: 81.11 kB / 406.1 MB, free: 5.367 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.5717, allocations: 3.953 kB / 406.1 MB, free: 5.363 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.218e-05/0.5718, allocations: 7.984 kB / 406.1 MB, free: 5.355 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.5718, allocations: 4.031 kB / 406.1 MB, free: 5.352 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.5719, allocations: 0 / 406.1 MB, free: 5.352 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.836e-05/0.5719, allocations: 79.28 kB / 406.2 MB, free: 5.273 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-07/0.5719, allocations: 0 / 406.2 MB, free: 5.273 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004162/0.5723, allocations: 43.94 kB / 406.2 MB, free: 5.23 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007299/0.5731, allocations: 0.6476 MB / 406.9 MB, free: 4.555 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001035/0.5732, allocations: 37.69 kB / 406.9 MB, free: 4.512 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.5732, allocations: 0 / 406.9 MB, free: 4.512 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.8e-05/0.5733, allocations: 29.7 kB / 406.9 MB, free: 4.477 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.5734, allocations: 3.953 kB / 406.9 MB, free: 4.473 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004426/0.5739, allocations: 132.2 kB / 407.1 MB, free: 4.301 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.5742, allocations: 0.681 MB / 407.7 MB, free: 3.594 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.504e-05/0.5743, allocations: 11.44 kB / 407.8 MB, free: 3.582 MB / 330.7 MB Notification: Performance of SimCode: time 6.72e-07/0.5743, allocations: 0 / 407.8 MB, free: 3.582 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.614/3.188, allocations: 1.127 MB / 408.9 MB, free: 2.453 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat does not exist to compare? outputFormat=mat