Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.458/2.458, allocations: 235 MB / 247.6 MB, free: 14.4 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.059e-05/4.064e-05, allocations: 4 kB / 305 MB, free: 5.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.454/0.454, allocations: 54.86 MB / 359.9 MB, free: 2.305 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1505/0.6046, allocations: 79.19 MB / 439 MB, free: 1.695 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.6049, allocations: 59.97 kB / 439.1 MB, free: 1.637 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003977/0.6089, allocations: 0.9014 MB / 440 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.6089, allocations: 0 / 440 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.609, allocations: 4 kB / 440 MB, free: 0.7422 MB / 362.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.0003467/0.6093, allocations: 338 kB / 440.3 MB, free: 380 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.6094, allocations: 8.031 kB / 440.3 MB, free: 372 kB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.586e-05/0.6095, allocations: 50.48 kB / 440.4 MB, free: 312 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.214e-05/0.6095, allocations: 5.016 kB / 440.4 MB, free: 308 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.6097, allocations: 167 kB / 440.6 MB, free: 100 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.6097, allocations: 0 / 440.6 MB, free: 100 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.6097, allocations: 4 kB / 440.6 MB, free: 96 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.6099, allocations: 50.25 kB / 440.6 MB, free: 40 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.6099, allocations: 0 / 440.6 MB, free: 40 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.6099, allocations: 13.2 kB / 440.6 MB, free: 28 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.61, allocations: 7.891 kB / 440.6 MB, free: 20 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.6101, allocations: 47.95 kB / 440.7 MB, free: 15.97 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002403/0.6104, allocations: 177.6 kB / 440.9 MB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.6106, allocations: 70.56 kB / 440.9 MB, free: 15.67 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.766e-05/0.6107, allocations: 24.86 kB / 440.9 MB, free: 15.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004185/0.6111, allocations: 251.3 kB / 441.2 MB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.6111, allocations: 44.53 kB / 441.2 MB, free: 15.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.194e-06/0.6112, allocations: 0 / 441.2 MB, free: 15.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.000275/0.6114, allocations: 76.22 kB / 441.3 MB, free: 15.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.6115, allocations: 55.39 kB / 441.4 MB, free: 15.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.146e-05/0.6116, allocations: 92.95 kB / 441.5 MB, free: 15.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.6116, allocations: 25.7 kB / 441.5 MB, free: 15.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.33e-05/0.6117, allocations: 150.6 kB / 441.6 MB, free: 14.87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.655e-05/0.6118, allocations: 35.41 kB / 441.7 MB, free: 14.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-06/0.6118, allocations: 4 kB / 441.7 MB, free: 14.83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.612, allocations: 323 kB / 442 MB, free: 14.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.962e-05/0.612, allocations: 12 kB / 442 MB, free: 14.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.432e-05/0.6121, allocations: 16 kB / 442 MB, free: 14.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.657e-05/0.6122, allocations: 23.98 kB / 442 MB, free: 14.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.6122, allocations: 1.125 kB / 442 MB, free: 14.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001814/0.6124, allocations: 73.62 kB / 442.1 MB, free: 14.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.6124, allocations: 5.719 kB / 442.1 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.6124, allocations: 3.281 kB / 442.1 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.6124, allocations: 0 / 442.1 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.6126, allocations: 24 kB / 442.1 MB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.6126, allocations: 5.391 kB / 442.1 MB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.413e-05/0.6127, allocations: 7.859 kB / 442.2 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.6127, allocations: 4 kB / 442.2 MB, free: 14.34 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 (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.409e-05/0.6128, allocations: 105 kB / 442.3 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.684e-05/0.6129, allocations: 7.938 kB / 442.3 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002803/0.6131, allocations: 87.52 kB / 442.4 MB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.6132, allocations: 4 kB / 442.4 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.6132, allocations: 4 kB / 442.4 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.6132, allocations: 0 / 442.4 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.6134, allocations: 181.9 kB / 442.5 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.6134, allocations: 0 / 442.5 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.6135, allocations: 23.94 kB / 442.6 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.6136, allocations: 0 / 442.6 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.6136, allocations: 0 / 442.6 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.6136, allocations: 7.922 kB / 442.6 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6136, allocations: 0 / 442.6 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.6138, allocations: 113 kB / 442.7 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.355e-05/0.6139, allocations: 85.89 kB / 442.8 MB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.6139, allocations: 0 / 442.8 MB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.869e-05/0.614, allocations: 3.984 kB / 442.8 MB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/0.614, allocations: 4 kB / 442.8 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.614, allocations: 8 kB / 442.8 MB, free: 13.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.293e-05/0.6141, allocations: 75.28 kB / 442.9 MB, free: 13.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6141, allocations: 0 / 442.9 MB, free: 13.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002914/0.6144, allocations: 24.03 kB / 442.9 MB, free: 13.52 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 (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.0006055/0.615, allocations: 0.6553 MB / 443.5 MB, free: 12.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001724/0.6152, allocations: 43.94 kB / 443.6 MB, free: 12.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.6152, allocations: 224 / 443.6 MB, free: 12.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.561e-05/0.6153, allocations: 31.94 kB / 443.6 MB, free: 12.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.6154, allocations: 11.94 kB / 443.6 MB, free: 12.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005153/0.616, allocations: 158.1 kB / 443.8 MB, free: 12.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.6163, allocations: 0.6809 MB / 444.5 MB, free: 11.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.653e-05/0.6164, allocations: 19.42 kB / 444.5 MB, free: 11.82 MB / 378.7 MB Notification: Performance of SimCode: time 8.62e-07/0.6164, allocations: 0 / 444.5 MB, free: 11.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.457/3.073, allocations: 1.033 MB / 445.5 MB, free: 10.8 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat does not exist to compare? outputFormat=mat