Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.5/2.5, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.131e-05/4.143e-05, allocations: 4 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1461, allocations: 61.88 MB / 410.3 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5429/0.6891, allocations: 85.05 MB / 495.4 MB, free: 2.941 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/0.6894, allocations: 63.97 kB / 495.5 MB, free: 2.879 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00403/0.6935, allocations: 0.9067 MB / 496.4 MB, free: 1.977 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.6935, allocations: 0 / 496.4 MB, free: 1.977 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.6936, allocations: 0 / 496.4 MB, free: 1.977 MB / 394.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.0003347/0.6939, allocations: 339.3 kB / 496.7 MB, free: 1.602 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.694, allocations: 8.031 kB / 496.7 MB, free: 1.594 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.997e-05/0.694, allocations: 34.56 kB / 496.7 MB, free: 1.551 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.6941, allocations: 8.859 kB / 496.7 MB, free: 1.543 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.6942, allocations: 171 kB / 496.9 MB, free: 1.336 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.6943, allocations: 4 kB / 496.9 MB, free: 1.332 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.6943, allocations: 7.953 kB / 496.9 MB, free: 1.324 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.6945, allocations: 53.69 kB / 497 MB, free: 1.266 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.6945, allocations: 0 / 497 MB, free: 1.266 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.6945, allocations: 0 / 497 MB, free: 1.266 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.6946, allocations: 4 kB / 497 MB, free: 1.262 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.6947, allocations: 51.89 kB / 497 MB, free: 1.211 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002281/0.6949, allocations: 176 kB / 497.2 MB, free: 0.9922 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.6951, allocations: 70.5 kB / 497.3 MB, free: 0.9141 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.933e-05/0.6952, allocations: 28.86 kB / 497.3 MB, free: 0.8828 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004216/0.6957, allocations: 254.2 kB / 497.6 MB, free: 0.582 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.6957, allocations: 38.52 kB / 497.6 MB, free: 0.5352 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 2.354e-06/0.6957, allocations: 0 / 497.6 MB, free: 0.5352 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.000264/0.696, allocations: 81.91 kB / 497.7 MB, free: 460 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.696, allocations: 51.41 kB / 497.7 MB, free: 396 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.739e-05/0.6961, allocations: 92.98 kB / 497.8 MB, free: 296 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.6962, allocations: 25.7 kB / 497.8 MB, free: 264 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.526e-05/0.6962, allocations: 80.14 kB / 497.9 MB, free: 180 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.994e-05/0.6963, allocations: 35.47 kB / 497.9 MB, free: 144 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.321e-06/0.6963, allocations: 0 / 497.9 MB, free: 144 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.6965, allocations: 315 kB / 498.3 MB, free: 15.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.223e-05/0.6965, allocations: 20 kB / 498.3 MB, free: 15.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.587e-05/0.6966, allocations: 23.94 kB / 498.3 MB, free: 15.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.434e-05/0.6967, allocations: 15.98 kB / 498.3 MB, free: 15.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6967, allocations: 0 / 498.3 MB, free: 15.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001868/0.6969, allocations: 81.91 kB / 498.4 MB, free: 15.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.6969, allocations: 7.953 kB / 498.4 MB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.6969, allocations: 96 / 498.4 MB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.697, allocations: 3.938 kB / 498.4 MB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.6971, allocations: 12 kB / 498.4 MB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.6972, allocations: 7.984 kB / 498.4 MB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.234e-05/0.6972, allocations: 7.984 kB / 498.4 MB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.6972, allocations: 4 kB / 498.4 MB, free: 15.64 MB / 410.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 8.399e-05/0.6973, allocations: 105 kB / 498.5 MB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.971e-05/0.6974, allocations: 7.906 kB / 498.5 MB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002777/0.6977, allocations: 97.66 kB / 498.6 MB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.6977, allocations: 224 / 498.6 MB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.6977, allocations: 0.875 kB / 498.6 MB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.6977, allocations: 7.938 kB / 498.7 MB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.6979, allocations: 177.6 kB / 498.8 MB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.6979, allocations: 0 / 498.8 MB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.698, allocations: 19.94 kB / 498.8 MB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.6981, allocations: 0 / 498.8 MB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.6981, allocations: 4 kB / 498.8 MB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.6981, allocations: 3.953 kB / 498.9 MB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.6981, allocations: 3.984 kB / 498.9 MB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.6983, allocations: 105 kB / 499 MB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.6984, allocations: 85.05 kB / 499 MB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.6984, allocations: 7.984 kB / 499 MB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.626e-05/0.6985, allocations: 0 / 499 MB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.791e-05/0.6985, allocations: 15.94 kB / 499.1 MB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.6985, allocations: 0 / 499.1 MB, free: 14.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.556e-05/0.6986, allocations: 79.28 kB / 499.1 MB, free: 14.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6986, allocations: 0 / 499.1 MB, free: 14.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002955/0.6989, allocations: 23.94 kB / 499.2 MB, free: 14.8 MB / 410.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.0006083/0.6995, allocations: 0.6633 MB / 499.8 MB, free: 14.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001804/0.6997, allocations: 47.94 kB / 499.9 MB, free: 14.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6997, allocations: 0 / 499.9 MB, free: 14.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.349e-05/0.6998, allocations: 24 kB / 499.9 MB, free: 14.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.7, allocations: 3.953 kB / 499.9 MB, free: 14.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005326/0.7005, allocations: 149.1 kB / 0.4883 GB, free: 13.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.7008, allocations: 0.6848 MB / 0.489 GB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.15e-05/0.7009, allocations: 11.77 kB / 0.489 GB, free: 13.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.255e-05/0.7009, allocations: 15.44 kB / 0.489 GB, free: 13.11 MB / 410.7 MB Notification: Performance of SimCode: time 1.393e-06/0.7009, allocations: 3.938 kB / 0.489 GB, free: 13.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02015/0.7211, allocations: 1.338 MB / 0.4903 GB, free: 11.85 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002763/0.7214, allocations: 158.8 kB / 0.4905 GB, free: 11.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.285/3.007, allocations: 4.062 kB / 0.4905 GB, free: 11.62 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat does not exist to compare? outputFormat=mat