Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.796/2.796, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.765e-05/4.769e-05, allocations: 5.672 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1338, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5093/0.6432, allocations: 86.31 MB / 496.7 MB, free: 1.676 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.6435, allocations: 67.95 kB / 496.7 MB, free: 1.609 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04641/0.6899, allocations: 8.266 MB / 0.4932 GB, free: 9.344 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.69, allocations: 7.938 kB / 0.4932 GB, free: 9.336 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.69, allocations: 0 / 0.4932 GB, free: 9.336 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004234/0.6904, allocations: 346.4 kB / 0.4935 GB, free: 8.953 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.6905, allocations: 8.031 kB / 0.4935 GB, free: 8.945 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.417e-05/0.6905, allocations: 30.56 kB / 0.4935 GB, free: 8.906 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.712e-05/0.6906, allocations: 3.906 kB / 0.4935 GB, free: 8.902 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.6907, allocations: 171.1 kB / 0.4937 GB, free: 8.695 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.6908, allocations: 0 / 0.4937 GB, free: 8.695 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.6908, allocations: 3.953 kB / 0.4937 GB, free: 8.691 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.6909, allocations: 33.7 kB / 0.4937 GB, free: 8.652 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.6909, allocations: 0 / 0.4937 GB, free: 8.652 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.6909, allocations: 0 / 0.4937 GB, free: 8.652 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.6909, allocations: 0 / 0.4937 GB, free: 8.652 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.45e-05/0.691, allocations: 4 kB / 0.4937 GB, free: 8.648 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.6912, allocations: 153.6 kB / 0.4939 GB, free: 8.449 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.436e-05/0.6912, allocations: 18.61 kB / 0.4939 GB, free: 8.422 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.101e-05/0.6913, allocations: 4.859 kB / 0.4939 GB, free: 8.414 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.6913, allocations: 7.953 kB / 0.4939 GB, free: 8.406 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.6913, allocations: 34.62 kB / 0.494 GB, free: 8.363 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.663e-06/0.6913, allocations: 0 / 0.494 GB, free: 8.363 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001442/0.6915, allocations: 33.69 kB / 0.494 GB, free: 8.324 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.6915, allocations: 51.41 kB / 0.494 GB, free: 8.262 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.903e-05/0.6916, allocations: 93 kB / 0.4941 GB, free: 8.164 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.6917, allocations: 29.8 kB / 0.4941 GB, free: 8.129 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.703e-05/0.6917, allocations: 84.14 kB / 0.4942 GB, free: 8.043 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.6917, allocations: 3.938 kB / 0.4942 GB, free: 8.039 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.6918, allocations: 4 kB / 0.4942 GB, free: 8.035 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.6919, allocations: 310.8 kB / 0.4945 GB, free: 7.723 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.389e-05/0.6919, allocations: 0 / 0.4945 GB, free: 7.723 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.434e-05/0.6919, allocations: 4 kB / 0.4945 GB, free: 7.719 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.899e-05/0.692, allocations: 0 / 0.4945 GB, free: 7.719 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.692, allocations: 0 / 0.4945 GB, free: 7.719 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.813e-05/0.6921, allocations: 45.75 kB / 0.4946 GB, free: 7.668 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.6921, allocations: 11.89 kB / 0.4946 GB, free: 7.656 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.6921, allocations: 0 / 0.4946 GB, free: 7.656 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.6922, allocations: 0 / 0.4946 GB, free: 7.656 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.014e-06/0.6922, allocations: 4 kB / 0.4946 GB, free: 7.652 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.6922, allocations: 0 / 0.4946 GB, free: 7.652 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.584e-05/0.6922, allocations: 4 kB / 0.4946 GB, free: 7.648 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.6922, allocations: 0 / 0.4946 GB, free: 7.648 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 (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 7.333e-05/0.6923, allocations: 101 kB / 0.4947 GB, free: 7.543 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.6923, allocations: 11.94 kB / 0.4947 GB, free: 7.531 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001526/0.6925, allocations: 52.66 kB / 0.4948 GB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.6925, allocations: 0 / 0.4948 GB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.6925, allocations: 0 / 0.4948 GB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.6925, allocations: 0 / 0.4948 GB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.6927, allocations: 149.7 kB / 0.4949 GB, free: 7.273 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/0.6927, allocations: 4 kB / 0.4949 GB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.282e-06/0.6927, allocations: 0 / 0.4949 GB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.6927, allocations: 4.031 kB / 0.4949 GB, free: 7.266 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.6927, allocations: 0 / 0.4949 GB, free: 7.266 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.6927, allocations: 3.953 kB / 0.4949 GB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.6928, allocations: 0 / 0.4949 GB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.881e-05/0.6929, allocations: 65.06 kB / 0.495 GB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.6929, allocations: 81.11 kB / 0.4951 GB, free: 7.082 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.6929, allocations: 0 / 0.4951 GB, free: 7.082 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.896e-05/0.693, allocations: 4.031 kB / 0.4951 GB, free: 7.078 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.877e-05/0.693, allocations: 7.953 kB / 0.4951 GB, free: 7.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.6931, allocations: 0 / 0.4951 GB, free: 7.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.463e-05/0.6931, allocations: 79.27 kB / 0.4951 GB, free: 6.992 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.6931, allocations: 0 / 0.4951 GB, free: 6.992 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004281/0.6936, allocations: 47.94 kB / 0.4952 GB, free: 6.945 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.0006997/0.6943, allocations: 0.6516 MB / 0.4958 GB, free: 6.266 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001015/0.6944, allocations: 29.7 kB / 0.4958 GB, free: 6.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.6944, allocations: 3.938 kB / 0.4959 GB, free: 6.227 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.257e-05/0.6944, allocations: 29.7 kB / 0.4959 GB, free: 6.191 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/0.6946, allocations: 14.23 kB / 0.4959 GB, free: 6.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004343/0.6951, allocations: 114.5 kB / 0.496 GB, free: 6.031 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.6953, allocations: 0.6772 MB / 0.4967 GB, free: 5.328 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.648e-05/0.6954, allocations: 0 / 0.4967 GB, free: 5.328 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.378e-05/0.6954, allocations: 7.438 kB / 0.4967 GB, free: 5.32 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/0.6954, allocations: 0 / 0.4967 GB, free: 5.32 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02226/0.7177, allocations: 1.415 MB / 0.4981 GB, free: 3.977 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002637/0.718, allocations: 151.9 kB / 0.4982 GB, free: 3.754 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.312/3.03, allocations: 0 / 0.4982 GB, free: 3.754 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat does not exist to compare? outputFormat=mat