Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.729/2.729, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.457e-05/3.489e-05, allocations: 7.234 kB / 348.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1302, allocations: 61.89 MB / 410.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.485/0.6152, allocations: 86.31 MB / 496.7 MB, free: 1.656 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.6155, allocations: 67.97 kB / 496.7 MB, free: 1.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04578/0.6613, allocations: 8.27 MB / 0.4932 GB, free: 9.324 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.6614, allocations: 0 / 0.4932 GB, free: 9.324 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.6614, allocations: 0 / 0.4932 GB, free: 9.324 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003978/0.6618, allocations: 338.4 kB / 0.4935 GB, free: 8.949 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.6619, allocations: 12.03 kB / 0.4935 GB, free: 8.938 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.365e-05/0.6619, allocations: 30.56 kB / 0.4935 GB, free: 8.898 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.848e-05/0.662, allocations: 3.906 kB / 0.4935 GB, free: 8.895 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.6621, allocations: 167.1 kB / 0.4937 GB, free: 8.691 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-06/0.6621, allocations: 0 / 0.4937 GB, free: 8.691 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.6621, allocations: 11.95 kB / 0.4937 GB, free: 8.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.6623, allocations: 33.69 kB / 0.4937 GB, free: 8.641 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.6623, allocations: 3.938 kB / 0.4937 GB, free: 8.637 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.6623, allocations: 4 kB / 0.4937 GB, free: 8.633 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.6623, allocations: 4 kB / 0.4937 GB, free: 8.629 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.827e-05/0.6624, allocations: 0 / 0.4937 GB, free: 8.629 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004191/0.6628, allocations: 248.9 kB / 0.494 GB, free: 8.336 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.999e-05/0.6629, allocations: 18.58 kB / 0.494 GB, free: 8.309 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.191e-05/0.6629, allocations: 4.859 kB / 0.494 GB, free: 8.301 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.663, allocations: 4.062 kB / 0.494 GB, free: 8.297 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.663, allocations: 34.56 kB / 0.494 GB, free: 8.254 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.963e-06/0.663, allocations: 0 / 0.494 GB, free: 8.254 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001515/0.6632, allocations: 37.62 kB / 0.4941 GB, free: 8.211 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.6632, allocations: 51.41 kB / 0.4941 GB, free: 8.148 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.767e-05/0.6633, allocations: 93.03 kB / 0.4942 GB, free: 8.051 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.6634, allocations: 25.7 kB / 0.4942 GB, free: 8.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.144e-05/0.6634, allocations: 92.05 kB / 0.4943 GB, free: 7.926 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.544e-06/0.6634, allocations: 3.938 kB / 0.4943 GB, free: 7.922 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.6634, allocations: 0 / 0.4943 GB, free: 7.922 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.6636, allocations: 314.8 kB / 0.4946 GB, free: 7.605 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.987e-05/0.6636, allocations: 4 kB / 0.4946 GB, free: 7.602 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.439e-05/0.6637, allocations: 22.69 kB / 0.4947 GB, free: 7.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.589e-05/0.6637, allocations: 8 kB / 0.4947 GB, free: 7.562 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.6637, allocations: 0 / 0.4947 GB, free: 7.562 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001016/0.6638, allocations: 53.56 kB / 0.4947 GB, free: 7.504 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.6639, allocations: 4 kB / 0.4947 GB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.6639, allocations: 0 / 0.4947 GB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.6639, allocations: 8.094 kB / 0.4947 GB, free: 7.492 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.194e-05/0.664, allocations: 4 kB / 0.4947 GB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.664, allocations: 3.938 kB / 0.4947 GB, free: 7.484 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.705e-05/0.664, allocations: 3.906 kB / 0.4947 GB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.6641, allocations: 4 kB / 0.4947 GB, free: 7.477 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * 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 7.778e-05/0.6641, allocations: 108.9 kB / 0.4948 GB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.6642, allocations: 0 / 0.4948 GB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.6643, allocations: 52.7 kB / 0.4949 GB, free: 7.301 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.6643, allocations: 0 / 0.4949 GB, free: 7.301 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.6644, allocations: 0 / 0.4949 GB, free: 7.301 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.6644, allocations: 0 / 0.4949 GB, free: 7.301 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.6646, allocations: 157.6 kB / 0.495 GB, free: 7.098 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.6646, allocations: 0 / 0.495 GB, free: 7.098 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-06/0.6646, allocations: 0 / 0.495 GB, free: 7.098 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.6646, allocations: 0 / 0.495 GB, free: 7.098 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.6646, allocations: 4 kB / 0.495 GB, free: 7.094 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.6646, allocations: 0 / 0.495 GB, free: 7.094 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.6646, allocations: 0 / 0.495 GB, free: 7.094 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.6648, allocations: 135.5 kB / 0.4952 GB, free: 6.945 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.6648, allocations: 81.06 kB / 0.4953 GB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.6649, allocations: 0 / 0.4953 GB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.083e-05/0.6649, allocations: 0 / 0.4953 GB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.665, allocations: 4.094 kB / 0.4953 GB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.665, allocations: 7.984 kB / 0.4953 GB, free: 6.836 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.378e-05/0.665, allocations: 79.31 kB / 0.4953 GB, free: 6.758 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6651, allocations: 0 / 0.4953 GB, free: 6.758 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004741/0.6655, allocations: 51.92 kB / 0.4954 GB, free: 6.707 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 (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.0007077/0.6663, allocations: 0.7162 MB / 0.4961 GB, free: 5.965 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001201/0.6664, allocations: 41.95 kB / 0.4961 GB, free: 5.918 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.6664, allocations: 0 / 0.4961 GB, free: 5.918 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.214e-05/0.6665, allocations: 29.7 kB / 0.4962 GB, free: 5.883 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/0.6666, allocations: 10.28 kB / 0.4962 GB, free: 5.875 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004839/0.6671, allocations: 106.6 kB / 0.4963 GB, free: 5.734 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.6674, allocations: 0.677 MB / 0.4969 GB, free: 5.031 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.701e-05/0.6675, allocations: 3.938 kB / 0.4969 GB, free: 5.027 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.36e-05/0.6675, allocations: 7.438 kB / 0.4969 GB, free: 5.02 MB / 410.7 MB Notification: Performance of SimCode: time 8.52e-07/0.6675, allocations: 8.125 kB / 0.497 GB, free: 5.012 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01956/0.6871, allocations: 1.419 MB / 0.4983 GB, free: 3.664 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002933/0.6874, allocations: 147.9 kB / 0.4985 GB, free: 3.445 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.426/3.113, allocations: 0 / 0.4985 GB, free: 3.445 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat does not exist to compare? outputFormat=mat