Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.492/2.492, allocations: 270 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.346e-05/6.355e-05, allocations: 1.688 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1423, allocations: 61.89 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4943/0.6366, allocations: 86.31 MB / 496.7 MB, free: 1.629 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/0.637, allocations: 68.88 kB / 496.7 MB, free: 1.562 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05159/0.6886, allocations: 8.267 MB / 0.4932 GB, free: 9.297 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.199e-06/0.6886, allocations: 0 / 0.4932 GB, free: 9.297 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.6887, allocations: 3.938 kB / 0.4932 GB, free: 9.293 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.0005084/0.6892, allocations: 338.4 kB / 0.4935 GB, free: 8.918 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/0.6892, allocations: 8.031 kB / 0.4935 GB, free: 8.91 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.205e-05/0.6893, allocations: 34.56 kB / 0.4935 GB, free: 8.867 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.6894, allocations: 11.91 kB / 0.4936 GB, free: 8.855 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.6895, allocations: 159.1 kB / 0.4937 GB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.6896, allocations: 0 / 0.4937 GB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.6896, allocations: 3.953 kB / 0.4937 GB, free: 8.656 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.6897, allocations: 33.69 kB / 0.4937 GB, free: 8.617 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.6898, allocations: 0 / 0.4937 GB, free: 8.617 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.6898, allocations: 0 / 0.4937 GB, free: 8.617 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.6898, allocations: 0 / 0.4937 GB, free: 8.617 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.959e-05/0.6899, allocations: 11.92 kB / 0.4938 GB, free: 8.605 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002148/0.6901, allocations: 149.7 kB / 0.4939 GB, free: 8.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.542e-05/0.6902, allocations: 18.61 kB / 0.4939 GB, free: 8.383 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.578e-05/0.6902, allocations: 4.922 kB / 0.4939 GB, free: 8.375 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.6902, allocations: 11.94 kB / 0.4939 GB, free: 8.363 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.6903, allocations: 30.56 kB / 0.494 GB, free: 8.324 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 2.324e-06/0.6903, allocations: 0 / 0.494 GB, free: 8.324 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.000163/0.6905, allocations: 33.7 kB / 0.494 GB, free: 8.285 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.6906, allocations: 59.34 kB / 0.494 GB, free: 8.215 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.722e-05/0.6907, allocations: 89 kB / 0.4941 GB, free: 8.121 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.6907, allocations: 25.7 kB / 0.4942 GB, free: 8.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.856e-05/0.6908, allocations: 84.14 kB / 0.4942 GB, free: 8.004 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.6908, allocations: 3.938 kB / 0.4942 GB, free: 8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-06/0.6908, allocations: 0 / 0.4942 GB, free: 8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.691, allocations: 314.8 kB / 0.4945 GB, free: 7.684 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.886e-05/0.6911, allocations: 4.156 kB / 0.4945 GB, free: 7.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.779e-05/0.6911, allocations: 4 kB / 0.4945 GB, free: 7.676 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.424e-05/0.6911, allocations: 0 / 0.4945 GB, free: 7.676 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.78e-06/0.6911, allocations: 0 / 0.4945 GB, free: 7.676 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001243/0.6913, allocations: 45.64 kB / 0.4946 GB, free: 7.625 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.6913, allocations: 7.953 kB / 0.4946 GB, free: 7.617 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/0.6914, allocations: 4 kB / 0.4946 GB, free: 7.613 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.6914, allocations: 0 / 0.4946 GB, free: 7.613 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.084e-06/0.6914, allocations: 0 / 0.4946 GB, free: 7.613 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.6914, allocations: 4.094 kB / 0.4946 GB, free: 7.609 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.69e-05/0.6915, allocations: 3.984 kB / 0.4946 GB, free: 7.605 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.6915, allocations: 0 / 0.4946 GB, free: 7.605 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 0.0001031/0.6916, allocations: 107.6 kB / 0.4947 GB, free: 7.496 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.6916, allocations: 7.844 kB / 0.4947 GB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000187/0.6918, allocations: 44.73 kB / 0.4948 GB, free: 7.434 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.6919, allocations: 4.016 kB / 0.4948 GB, free: 7.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.6919, allocations: 4 kB / 0.4948 GB, free: 7.426 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.6919, allocations: 0 / 0.4948 GB, free: 7.426 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.6921, allocations: 149.7 kB / 0.4949 GB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.6921, allocations: 0 / 0.4949 GB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.664e-06/0.6922, allocations: 0 / 0.4949 GB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.6922, allocations: 0 / 0.4949 GB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.6922, allocations: 3.984 kB / 0.4949 GB, free: 7.227 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.6922, allocations: 3.953 kB / 0.4949 GB, free: 7.223 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.6922, allocations: 4 kB / 0.4949 GB, free: 7.219 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.6924, allocations: 65.08 kB / 0.495 GB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.635e-05/0.6924, allocations: 77.11 kB / 0.4951 GB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.6925, allocations: 0 / 0.4951 GB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.92e-05/0.6926, allocations: 7.984 kB / 0.4951 GB, free: 7.035 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.937e-05/0.6926, allocations: 3.953 kB / 0.4951 GB, free: 7.031 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.6926, allocations: 0 / 0.4951 GB, free: 7.031 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.571e-05/0.6927, allocations: 79.28 kB / 0.4951 GB, free: 6.953 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6927, allocations: 4.125 kB / 0.4952 GB, free: 6.949 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007127/0.6934, allocations: 47.94 kB / 0.4952 GB, free: 6.902 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.0009749/0.6944, allocations: 0.6436 MB / 0.4958 GB, free: 6.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001176/0.6946, allocations: 33.64 kB / 0.4959 GB, free: 6.191 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/0.6946, allocations: 8.094 kB / 0.4959 GB, free: 6.184 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.278e-05/0.6947, allocations: 25.7 kB / 0.4959 GB, free: 6.152 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.6949, allocations: 19.77 kB / 0.4959 GB, free: 6.133 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006225/0.6955, allocations: 106.6 kB / 0.496 GB, free: 5.992 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.6959, allocations: 0.6731 MB / 0.4967 GB, free: 5.293 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.362e-05/0.696, allocations: 4 kB / 0.4967 GB, free: 5.289 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.696, allocations: 7.438 kB / 0.4967 GB, free: 5.281 MB / 410.7 MB Notification: Performance of SimCode: time 8.91e-07/0.696, allocations: 0 / 0.4967 GB, free: 5.281 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05798/0.754, allocations: 1.416 MB / 0.4981 GB, free: 3.938 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003428/0.7544, allocations: 155.9 kB / 0.4982 GB, free: 3.711 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.251/3.006, allocations: 0 / 0.4982 GB, free: 3.711 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat does not exist to compare? outputFormat=mat