Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.596/2.596, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.803e-05/3.814e-05, allocations: 7.984 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.4176, allocations: 54.85 MB / 359.9 MB, free: 2.789 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1571/0.5747, allocations: 80.41 MB / 440.3 MB, free: 424 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/0.5751, allocations: 71.95 kB / 440.3 MB, free: 352 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04593/0.621, allocations: 8.159 MB / 448.5 MB, free: 8.207 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6211, allocations: 0 / 448.5 MB, free: 8.207 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.6211, allocations: 0 / 448.5 MB, free: 8.207 MB / 378.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.000387/0.6215, allocations: 342.5 kB / 448.8 MB, free: 7.828 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/0.6216, allocations: 12.02 kB / 448.8 MB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.61e-05/0.6216, allocations: 34.56 kB / 448.9 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.085e-05/0.6217, allocations: 7.953 kB / 448.9 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.6218, allocations: 159.1 kB / 449 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.6218, allocations: 0 / 449 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.6218, allocations: 0 / 449 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.6219, allocations: 33.64 kB / 449.1 MB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.622, allocations: 0 / 449.1 MB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.622, allocations: 2.062 kB / 449.1 MB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.622, allocations: 3.953 kB / 449.1 MB, free: 7.527 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.436e-05/0.622, allocations: 9.406 kB / 449.1 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001679/0.6222, allocations: 149.7 kB / 449.2 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.191e-05/0.6223, allocations: 18.61 kB / 449.3 MB, free: 7.297 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.231e-05/0.6223, allocations: 4.859 kB / 449.3 MB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.058e-05/0.6224, allocations: 8 kB / 449.3 MB, free: 7.281 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.6224, allocations: 38.5 kB / 449.3 MB, free: 7.234 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.583e-06/0.6224, allocations: 0 / 449.3 MB, free: 7.234 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.000137/0.6226, allocations: 37.69 kB / 449.3 MB, free: 7.191 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.6226, allocations: 59.36 kB / 449.4 MB, free: 7.121 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.9e-05/0.6227, allocations: 85 kB / 449.5 MB, free: 7.031 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.6227, allocations: 25.7 kB / 449.5 MB, free: 7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.6228, allocations: 84.14 kB / 449.6 MB, free: 6.914 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.6228, allocations: 7.938 kB / 449.6 MB, free: 6.906 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.574e-05/0.6228, allocations: 0 / 449.6 MB, free: 6.906 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.623, allocations: 315 kB / 449.9 MB, free: 6.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.47e-05/0.623, allocations: 1.031 kB / 449.9 MB, free: 6.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.56e-05/0.623, allocations: 4 kB / 449.9 MB, free: 6.586 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.021e-05/0.6231, allocations: 7.922 kB / 449.9 MB, free: 6.578 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.6231, allocations: 0 / 449.9 MB, free: 6.578 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.992e-05/0.6232, allocations: 37.61 kB / 450 MB, free: 6.535 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.6232, allocations: 5.719 kB / 450 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.6232, allocations: 4 kB / 450 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.6232, allocations: 96 / 450 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.743e-06/0.6233, allocations: 4 kB / 450 MB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.6233, allocations: 0 / 450 MB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.847e-05/0.6233, allocations: 3.953 kB / 450 MB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.6233, allocations: 0.5625 kB / 450 MB, free: 6.52 MB / 378.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 8.139e-05/0.6234, allocations: 105 kB / 450.1 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.6234, allocations: 3.984 kB / 450.1 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001545/0.6236, allocations: 52.72 kB / 450.1 MB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.6236, allocations: 0 / 450.1 MB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.6236, allocations: 0.875 kB / 450.1 MB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.6237, allocations: 4.828 kB / 450.1 MB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.6238, allocations: 157.6 kB / 450.3 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.6238, allocations: 0 / 450.3 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.403e-06/0.6238, allocations: 0 / 450.3 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.6238, allocations: 0 / 450.3 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.6238, allocations: 4 kB / 450.3 MB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.6239, allocations: 4 kB / 450.3 MB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.6239, allocations: 0 / 450.3 MB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.749e-05/0.624, allocations: 65.11 kB / 450.4 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.624, allocations: 81.7 kB / 450.4 MB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.6241, allocations: 3.938 kB / 450.4 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.102e-05/0.6241, allocations: 4 kB / 450.4 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/0.6242, allocations: 7.984 kB / 450.5 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.6242, allocations: 0 / 450.5 MB, free: 5.938 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.118e-05/0.6242, allocations: 83.31 kB / 450.5 MB, free: 5.855 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.6242, allocations: 0 / 450.5 MB, free: 5.855 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003821/0.6246, allocations: 48.97 kB / 450.6 MB, free: 5.809 MB / 378.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.0006688/0.6253, allocations: 0.6358 MB / 451.2 MB, free: 5.145 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.6254, allocations: 45.77 kB / 451.3 MB, free: 5.094 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.6254, allocations: 0 / 451.3 MB, free: 5.094 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.319e-05/0.6255, allocations: 29.69 kB / 451.3 MB, free: 5.059 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001221/0.6256, allocations: 4.656 kB / 451.3 MB, free: 5.055 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004324/0.6261, allocations: 99.94 kB / 451.4 MB, free: 4.922 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.6264, allocations: 0.677 MB / 452.1 MB, free: 4.219 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.763e-05/0.6264, allocations: 1.5 kB / 452.1 MB, free: 4.219 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.349e-05/0.6264, allocations: 7.438 kB / 452.1 MB, free: 4.211 MB / 378.7 MB Notification: Performance of SimCode: time 7.32e-07/0.6265, allocations: 4.125 kB / 452.1 MB, free: 4.207 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02013/0.6466, allocations: 1.421 MB / 453.5 MB, free: 2.867 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003653/0.647, allocations: 156.9 kB / 453.7 MB, free: 2.641 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.309/2.956, allocations: 0 / 453.7 MB, free: 2.641 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat does not exist to compare? outputFormat=mat