Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.51/2.51, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.192e-05/4.22e-05, allocations: 4 kB / 305 MB, free: 5.086 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4367/0.4368, allocations: 54.86 MB / 359.9 MB, free: 2.797 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1554/0.5923, allocations: 79.18 MB / 439 MB, free: 1.637 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.5926, allocations: 63.97 kB / 439.1 MB, free: 1.574 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004037/0.5967, allocations: 0.9036 MB / 440 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5967, allocations: 0 / 440 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.5968, allocations: 0 / 440 MB, free: 0.6797 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.0003471/0.5971, allocations: 334 kB / 440.3 MB, free: 320 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/0.5972, allocations: 12.03 kB / 440.3 MB, free: 308 kB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.166e-05/0.5973, allocations: 34.56 kB / 440.4 MB, free: 264 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.5973, allocations: 8.453 kB / 440.4 MB, free: 256 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.5975, allocations: 171 kB / 440.6 MB, free: 44 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.5975, allocations: 0 / 440.6 MB, free: 44 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.5975, allocations: 8 kB / 440.6 MB, free: 36 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.5977, allocations: 62.41 kB / 440.6 MB, free: 15.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.5978, allocations: 0 / 440.6 MB, free: 15.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.5978, allocations: 0 / 440.6 MB, free: 15.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.5978, allocations: 4.953 kB / 440.6 MB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.598, allocations: 51.91 kB / 440.7 MB, free: 15.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002498/0.5982, allocations: 177.5 kB / 440.9 MB, free: 15.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.5984, allocations: 71.61 kB / 440.9 MB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.513e-05/0.5985, allocations: 28.86 kB / 441 MB, free: 15.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000438/0.599, allocations: 251.3 kB / 441.2 MB, free: 15.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.599, allocations: 38.78 kB / 441.2 MB, free: 15.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.455e-06/0.599, allocations: 4 kB / 441.2 MB, free: 15.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.000273/0.5993, allocations: 74.53 kB / 441.3 MB, free: 15.15 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.5994, allocations: 51.41 kB / 441.4 MB, free: 15.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.4e-05/0.5995, allocations: 92.89 kB / 441.5 MB, free: 14.99 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.5995, allocations: 33.7 kB / 441.5 MB, free: 14.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.5996, allocations: 80.14 kB / 441.6 MB, free: 14.87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.825e-05/0.5996, allocations: 35.45 kB / 441.6 MB, free: 14.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.5996, allocations: 0 / 441.6 MB, free: 14.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.5998, allocations: 319.8 kB / 441.9 MB, free: 14.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.476e-05/0.5998, allocations: 16 kB / 441.9 MB, free: 14.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.34e-05/0.5999, allocations: 19.98 kB / 441.9 MB, free: 14.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.14e-05/0.6, allocations: 12.84 kB / 442 MB, free: 14.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.6, allocations: 0 / 442 MB, free: 14.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001984/0.6002, allocations: 82.66 kB / 442 MB, free: 14.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.6002, allocations: 4 kB / 442 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.6003, allocations: 7.266 kB / 442.1 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.6003, allocations: 0 / 442.1 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.6005, allocations: 12.94 kB / 442.1 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.6005, allocations: 9.406 kB / 442.1 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.837e-05/0.6006, allocations: 7.859 kB / 442.1 MB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.6006, allocations: 4 kB / 442.1 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 0.0001044/0.6007, allocations: 108.9 kB / 442.2 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.074e-05/0.6007, allocations: 4 kB / 442.2 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003107/0.6011, allocations: 100.4 kB / 442.3 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.6011, allocations: 0 / 442.3 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.6011, allocations: 0 / 442.3 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.892e-06/0.6011, allocations: 8 kB / 442.3 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.6013, allocations: 177.9 kB / 442.5 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.6013, allocations: 0 / 442.5 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.6015, allocations: 19.98 kB / 442.5 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.6015, allocations: 0 / 442.5 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.6015, allocations: 0 / 442.5 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.6015, allocations: 3.938 kB / 442.5 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.6016, allocations: 0 / 442.5 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.6018, allocations: 117 kB / 442.6 MB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.423e-05/0.6019, allocations: 85.02 kB / 442.7 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.6019, allocations: 0 / 442.7 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.317e-05/0.602, allocations: 4 kB / 442.7 MB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.602, allocations: 7.984 kB / 442.7 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.6021, allocations: 1.125 kB / 442.7 MB, free: 13.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.103e-05/0.6021, allocations: 79.28 kB / 442.8 MB, free: 13.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6021, allocations: 0 / 442.8 MB, free: 13.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000291/0.6024, allocations: 23.94 kB / 442.8 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.0006601/0.6031, allocations: 0.6554 MB / 443.5 MB, free: 12.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.6033, allocations: 51.92 kB / 443.5 MB, free: 12.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6033, allocations: 224 / 443.5 MB, free: 12.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.824e-05/0.6034, allocations: 32 kB / 443.5 MB, free: 12.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.6036, allocations: 6.562 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.0005183/0.6041, allocations: 136.4 kB / 443.7 MB, free: 12.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.6044, allocations: 0.6848 MB / 444.4 MB, free: 11.87 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.748e-05/0.6045, allocations: 5.422 kB / 444.4 MB, free: 11.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.293e-05/0.6046, allocations: 19.42 kB / 444.4 MB, free: 11.85 MB / 378.7 MB Notification: Performance of SimCode: time 1.283e-06/0.6046, allocations: 0 / 444.4 MB, free: 11.85 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02211/0.6267, allocations: 1.344 MB / 445.7 MB, free: 10.6 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003687/0.6271, allocations: 156 kB / 445.9 MB, free: 10.38 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.423/3.05, allocations: 0.875 kB / 445.9 MB, free: 10.38 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat does not exist to compare? outputFormat=mat