Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.938/1.938, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.031e-05/4.042e-05, allocations: 4 kB / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1124, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4068/0.5192, allocations: 72.79 MB / 394.6 MB, free: 1.156 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.5196, allocations: 71.94 kB / 394.7 MB, free: 1.086 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00389/0.5235, allocations: 0.8931 MB / 395.6 MB, free: 204 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5235, allocations: 0 / 395.6 MB, free: 204 kB / 314.7 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.5235, allocations: 4 kB / 395.6 MB, free: 200 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003483/0.5239, allocations: 338.5 kB / 395.9 MB, free: 15.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.122e-05/0.524, allocations: 8.031 kB / 395.9 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.669e-05/0.524, allocations: 42.48 kB / 396 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/0.5241, allocations: 4 kB / 396 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.5242, allocations: 167 kB / 396.1 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.5243, allocations: 4 kB / 396.1 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.5243, allocations: 1.859 kB / 396.1 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.5245, allocations: 60.06 kB / 396.2 MB, free: 15.49 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.5245, allocations: 4 kB / 396.2 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.5245, allocations: 4 kB / 396.2 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.5245, allocations: 7.938 kB / 396.2 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.5247, allocations: 47.95 kB / 396.3 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002341/0.5249, allocations: 177.5 kB / 396.4 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.5251, allocations: 70.56 kB / 396.5 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.242e-05/0.5252, allocations: 25.14 kB / 396.5 MB, free: 15.1 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004272/0.5256, allocations: 259.2 kB / 396.8 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.5257, allocations: 34.56 kB / 396.8 MB, free: 14.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.983e-06/0.5257, allocations: 0 / 396.8 MB, free: 14.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002566/0.526, allocations: 85.59 kB / 396.9 MB, free: 14.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.526, allocations: 55.41 kB / 397 MB, free: 14.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.427e-05/0.5261, allocations: 85 kB / 397 MB, free: 14.5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.5262, allocations: 29.83 kB / 397.1 MB, free: 14.46 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.493e-05/0.5262, allocations: 150.6 kB / 397.2 MB, free: 14.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.704e-05/0.5263, allocations: 35.67 kB / 397.2 MB, free: 14.28 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.909e-06/0.5263, allocations: 4 kB / 397.3 MB, free: 14.28 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.5265, allocations: 318.8 kB / 397.6 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.922e-05/0.5265, allocations: 12 kB / 397.6 MB, free: 13.95 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.785e-05/0.5266, allocations: 16 kB / 397.6 MB, free: 13.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.578e-05/0.5267, allocations: 28.2 kB / 397.6 MB, free: 13.9 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.5267, allocations: 3.953 kB / 397.6 MB, free: 13.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001896/0.5269, allocations: 81.62 kB / 397.7 MB, free: 13.81 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.5269, allocations: 4 kB / 397.7 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.5269, allocations: 0 / 397.7 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.527, allocations: 4 kB / 397.7 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.5272, allocations: 15.98 kB / 397.7 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.5272, allocations: 3.938 kB / 397.7 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.213e-05/0.5272, allocations: 3.906 kB / 397.7 MB, free: 13.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.5273, allocations: 4 kB / 397.7 MB, free: 13.78 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 (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.026e-05/0.5274, allocations: 105 kB / 397.8 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/0.5274, allocations: 11.95 kB / 397.9 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003161/0.5277, allocations: 94.33 kB / 397.9 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/0.5278, allocations: 4 kB / 397.9 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.5278, allocations: 0 / 397.9 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.5278, allocations: 4 kB / 398 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.5281, allocations: 181.5 kB / 398.1 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5281, allocations: 0 / 398.1 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.5283, allocations: 15.95 kB / 398.1 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.5283, allocations: 0 / 398.1 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.5283, allocations: 7.984 kB / 398.2 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.5284, allocations: 4 kB / 398.2 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.5284, allocations: 0 / 398.2 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.5287, allocations: 101.2 kB / 398.3 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-05/0.5287, allocations: 81.2 kB / 398.3 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.5288, allocations: 11.88 kB / 398.3 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.939e-05/0.5288, allocations: 0 / 398.3 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.5289, allocations: 8 kB / 398.4 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.5289, allocations: 8 kB / 398.4 MB, free: 13.05 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.425e-05/0.529, allocations: 75.28 kB / 398.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.946e-06/0.529, allocations: 0 / 398.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004662/0.5295, allocations: 23.88 kB / 398.5 MB, free: 12.96 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 (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007852/0.5303, allocations: 0.6593 MB / 399.1 MB, free: 12.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000238/0.5306, allocations: 55.88 kB / 399.2 MB, free: 12.21 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5306, allocations: 0 / 399.2 MB, free: 12.21 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.342e-05/0.5307, allocations: 24 kB / 399.2 MB, free: 12.19 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.5309, allocations: 7.953 kB / 399.2 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006812/0.5316, allocations: 160.1 kB / 399.4 MB, free: 11.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.532, allocations: 0.6848 MB / 400 MB, free: 11.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.226e-05/0.5321, allocations: 19.42 kB / 400.1 MB, free: 11.25 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5321, allocations: 4 kB / 400.1 MB, free: 11.25 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.457/2.989, allocations: 1.029 MB / 401.1 MB, free: 10.22 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat does not exist to compare? outputFormat=mat