Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.527/2.527, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.564e-05/3.569e-05, allocations: 4 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1295, allocations: 61.89 MB / 410.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.549/0.6786, allocations: 86.31 MB / 496.7 MB, free: 1.695 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.6789, allocations: 67.97 kB / 496.7 MB, free: 1.629 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05639/0.7353, allocations: 8.263 MB / 0.4932 GB, free: 9.363 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.7354, allocations: 3.938 kB / 0.4932 GB, free: 9.359 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.7354, allocations: 4 kB / 0.4932 GB, free: 9.355 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.0005158/0.7359, allocations: 349 kB / 0.4935 GB, free: 8.973 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.473e-05/0.736, allocations: 8.031 kB / 0.4935 GB, free: 8.965 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.992e-05/0.7361, allocations: 34.55 kB / 0.4936 GB, free: 8.922 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.7361, allocations: 7.906 kB / 0.4936 GB, free: 8.914 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.7363, allocations: 159.1 kB / 0.4937 GB, free: 8.719 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.7363, allocations: 0 / 0.4937 GB, free: 8.719 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.7363, allocations: 3.953 kB / 0.4937 GB, free: 8.715 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.7365, allocations: 45.69 kB / 0.4938 GB, free: 8.664 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.7365, allocations: 0 / 0.4938 GB, free: 8.664 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.7366, allocations: 3.938 kB / 0.4938 GB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.7366, allocations: 0 / 0.4938 GB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.977e-05/0.7366, allocations: 4 kB / 0.4938 GB, free: 8.656 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005138/0.7372, allocations: 244.9 kB / 0.494 GB, free: 8.367 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.14e-05/0.7372, allocations: 18.58 kB / 0.494 GB, free: 8.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.543e-05/0.7373, allocations: 8.859 kB / 0.494 GB, free: 8.328 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.7373, allocations: 0 / 0.494 GB, free: 8.328 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.7374, allocations: 34.62 kB / 0.4941 GB, free: 8.285 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 2.124e-06/0.7374, allocations: 0 / 0.4941 GB, free: 8.285 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001922/0.7376, allocations: 33.64 kB / 0.4941 GB, free: 8.246 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.7377, allocations: 51.41 kB / 0.4941 GB, free: 8.184 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.7378, allocations: 96.98 kB / 0.4942 GB, free: 8.082 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.7378, allocations: 29.86 kB / 0.4943 GB, free: 8.047 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.113e-05/0.7379, allocations: 84.05 kB / 0.4943 GB, free: 7.961 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.01e-05/0.7379, allocations: 3.938 kB / 0.4943 GB, free: 7.957 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.7379, allocations: 0 / 0.4943 GB, free: 7.957 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.7381, allocations: 318.8 kB / 0.4946 GB, free: 7.637 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.343e-05/0.7382, allocations: 4 kB / 0.4947 GB, free: 7.633 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.513e-05/0.7382, allocations: 18.58 kB / 0.4947 GB, free: 7.605 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.976e-05/0.7383, allocations: 11.98 kB / 0.4947 GB, free: 7.594 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.7383, allocations: 0 / 0.4947 GB, free: 7.594 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001518/0.7385, allocations: 45.64 kB / 0.4947 GB, free: 7.543 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.7385, allocations: 11.94 kB / 0.4947 GB, free: 7.531 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/0.7385, allocations: 3.984 kB / 0.4947 GB, free: 7.527 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.7386, allocations: 0 / 0.4947 GB, free: 7.527 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.602e-05/0.7386, allocations: 7.984 kB / 0.4947 GB, free: 7.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.7387, allocations: 4 kB / 0.4948 GB, free: 7.516 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.573e-05/0.7387, allocations: 15.94 kB / 0.4948 GB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.7388, allocations: 0 / 0.4948 GB, free: 7.5 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 0.0001358/0.7389, allocations: 108.9 kB / 0.4949 GB, free: 7.387 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.627e-05/0.739, allocations: 0 / 0.4949 GB, free: 7.387 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001909/0.7392, allocations: 52.7 kB / 0.4949 GB, free: 7.324 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.81e-06/0.7392, allocations: 0 / 0.4949 GB, free: 7.324 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.7392, allocations: 0 / 0.4949 GB, free: 7.324 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.7392, allocations: 4.031 kB / 0.4949 GB, free: 7.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.7395, allocations: 149.6 kB / 0.4951 GB, free: 7.125 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.7395, allocations: 0 / 0.4951 GB, free: 7.125 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.92e-06/0.7396, allocations: 3.984 kB / 0.4951 GB, free: 7.121 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.7396, allocations: 0 / 0.4951 GB, free: 7.121 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.7396, allocations: 0 / 0.4951 GB, free: 7.121 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.7396, allocations: 0 / 0.4951 GB, free: 7.121 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.7396, allocations: 96 / 0.4951 GB, free: 7.121 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.7398, allocations: 139.5 kB / 0.4952 GB, free: 6.969 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.712e-05/0.7399, allocations: 85.06 kB / 0.4953 GB, free: 6.867 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.7399, allocations: 3.984 kB / 0.4953 GB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.7401, allocations: 0 / 0.4953 GB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.045e-05/0.7401, allocations: 0 / 0.4953 GB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.7401, allocations: 4 kB / 0.4953 GB, free: 6.859 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.875e-05/0.7402, allocations: 75.28 kB / 0.4954 GB, free: 6.785 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.51e-07/0.7402, allocations: 0 / 0.4954 GB, free: 6.785 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000791/0.741, allocations: 47.94 kB / 0.4954 GB, free: 6.738 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.001042/0.7421, allocations: 0.7281 MB / 0.4961 GB, free: 5.984 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.7422, allocations: 33.7 kB / 0.4962 GB, free: 5.945 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.7422, allocations: 0 / 0.4962 GB, free: 5.945 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.606e-05/0.7423, allocations: 25.92 kB / 0.4962 GB, free: 5.914 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.7426, allocations: 12.55 kB / 0.4962 GB, free: 5.902 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006761/0.7433, allocations: 110.5 kB / 0.4963 GB, free: 5.758 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.7437, allocations: 0.677 MB / 0.497 GB, free: 5.055 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.279e-05/0.7437, allocations: 0 / 0.497 GB, free: 5.055 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.261e-05/0.7438, allocations: 7.438 kB / 0.497 GB, free: 5.047 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.7438, allocations: 3.938 kB / 0.497 GB, free: 5.043 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04091/0.7847, allocations: 1.416 MB / 0.4983 GB, free: 3.699 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003327/0.7851, allocations: 151.9 kB / 0.4985 GB, free: 3.477 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.324/3.109, allocations: 0 / 0.4985 GB, free: 3.477 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat does not exist to compare? outputFormat=mat