Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.401/2.401, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.955e-05/3.96e-05, allocations: 4.938 kB / 305 MB, free: 5.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4042, allocations: 54.85 MB / 359.9 MB, free: 2.711 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1729/0.5772, allocations: 80.41 MB / 440.3 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.5775, allocations: 67.97 kB / 440.3 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05352/0.631, allocations: 8.167 MB / 448.5 MB, free: 8.363 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.6311, allocations: 0 / 448.5 MB, free: 8.363 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.6311, allocations: 0 / 448.5 MB, free: 8.363 MB / 378.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.000478/0.6316, allocations: 342.4 kB / 448.8 MB, free: 7.984 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.16e-05/0.6317, allocations: 12.03 kB / 448.8 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.585e-05/0.6317, allocations: 38.56 kB / 448.9 MB, free: 7.926 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.428e-05/0.6318, allocations: 5.516 kB / 448.9 MB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.632, allocations: 159.1 kB / 449 MB, free: 7.727 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.632, allocations: 0 / 449 MB, free: 7.727 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.632, allocations: 4 kB / 449.1 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.6321, allocations: 29.69 kB / 449.1 MB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.6322, allocations: 0 / 449.1 MB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.6322, allocations: 4 kB / 449.1 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.6322, allocations: 3.953 kB / 449.1 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.456e-05/0.6323, allocations: 4 kB / 449.1 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002178/0.6325, allocations: 153.7 kB / 449.2 MB, free: 7.477 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.982e-05/0.6326, allocations: 18.52 kB / 449.3 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.182e-05/0.6326, allocations: 8.953 kB / 449.3 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.6326, allocations: 3.938 kB / 449.3 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.6327, allocations: 30.56 kB / 449.3 MB, free: 7.395 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.014e-06/0.6327, allocations: 0 / 449.3 MB, free: 7.395 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001652/0.6329, allocations: 38.64 kB / 449.3 MB, free: 7.352 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.633, allocations: 55.36 kB / 449.4 MB, free: 7.285 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.297e-05/0.6331, allocations: 89 kB / 449.5 MB, free: 7.191 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.6331, allocations: 29.7 kB / 449.5 MB, free: 7.156 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.176e-05/0.6332, allocations: 154.5 kB / 449.7 MB, free: 7.004 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.6332, allocations: 7.875 kB / 449.7 MB, free: 6.996 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-06/0.6333, allocations: 0 / 449.7 MB, free: 6.996 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.6334, allocations: 315 kB / 450 MB, free: 6.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.828e-05/0.6335, allocations: 0 / 450 MB, free: 6.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.4e-05/0.6335, allocations: 4 kB / 450 MB, free: 6.676 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.408e-05/0.6335, allocations: 0.9375 kB / 450 MB, free: 6.676 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6335, allocations: 0 / 450 MB, free: 6.676 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001189/0.6337, allocations: 41.61 kB / 450 MB, free: 6.629 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.6337, allocations: 4 kB / 450 MB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.6338, allocations: 4 kB / 450 MB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.6338, allocations: 0 / 450 MB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.328e-06/0.6338, allocations: 8.078 kB / 450 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.6338, allocations: 1.484 kB / 450 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.445e-05/0.6339, allocations: 4.828 kB / 450 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.6339, allocations: 0 / 450 MB, free: 6.609 MB / 378.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 0.0001003/0.634, allocations: 105.5 kB / 450.1 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.634, allocations: 0 / 450.1 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.6342, allocations: 56.69 kB / 450.2 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.6342, allocations: 0 / 450.2 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.6343, allocations: 4 kB / 450.2 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.6343, allocations: 0 / 450.2 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.6345, allocations: 155.2 kB / 450.4 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.6345, allocations: 3.984 kB / 450.4 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.463e-06/0.6345, allocations: 0 / 450.4 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.6345, allocations: 0 / 450.4 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.6345, allocations: 0 / 450.4 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.6345, allocations: 4 kB / 450.4 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.6346, allocations: 0 / 450.4 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.6347, allocations: 69.06 kB / 450.4 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.245e-05/0.6348, allocations: 77.11 kB / 450.5 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.6348, allocations: 7.922 kB / 450.5 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.462e-05/0.6349, allocations: 4 kB / 450.5 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.528e-05/0.635, allocations: 0 / 450.5 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.635, allocations: 0 / 450.5 MB, free: 6.035 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.444e-05/0.635, allocations: 83.31 kB / 450.6 MB, free: 5.953 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6351, allocations: 0 / 450.6 MB, free: 5.953 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006452/0.6357, allocations: 51.92 kB / 450.7 MB, free: 5.902 MB / 378.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.0009244/0.6367, allocations: 0.6397 MB / 451.3 MB, free: 5.234 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000114/0.6368, allocations: 34.77 kB / 451.3 MB, free: 5.195 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6368, allocations: 4 kB / 451.3 MB, free: 5.191 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.008e-05/0.6369, allocations: 29.64 kB / 451.4 MB, free: 5.156 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.6371, allocations: 6.062 kB / 451.4 MB, free: 5.152 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006035/0.6377, allocations: 125.7 kB / 451.5 MB, free: 4.988 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.6381, allocations: 0.6731 MB / 452.2 MB, free: 4.289 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.6381, allocations: 11.44 kB / 452.2 MB, free: 4.277 MB / 378.7 MB Notification: Performance of SimCode: time 8.91e-07/0.6381, allocations: 0.5625 kB / 452.2 MB, free: 4.277 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.36/2.998, allocations: 1.131 MB / 453.3 MB, free: 3.148 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat does not exist to compare? outputFormat=mat