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.482/2.482, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.924e-05/1.934e-05, allocations: 0 / 299.5 MB, free: 6.512 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3953, allocations: 54.85 MB / 354.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1456/0.541, allocations: 79.73 MB / 434.1 MB, free: 2.574 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.5413, allocations: 79.95 kB / 434.1 MB, free: 2.496 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04454/0.5859, allocations: 8.137 MB / 442.3 MB, free: 10.35 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.586, allocations: 0 / 442.3 MB, free: 10.35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.586, allocations: 0 / 442.3 MB, free: 10.35 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.0003785/0.5864, allocations: 342.5 kB / 442.6 MB, free: 9.973 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.5864, allocations: 8.031 kB / 442.6 MB, free: 9.965 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.5865, allocations: 15.86 kB / 442.6 MB, free: 9.949 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.5866, allocations: 163.1 kB / 442.8 MB, free: 9.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.5866, allocations: 0 / 442.8 MB, free: 9.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.5867, allocations: 0 / 442.8 MB, free: 9.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.311e-05/0.5867, allocations: 7.938 kB / 442.8 MB, free: 9.742 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.891e-05/0.5868, allocations: 29.64 kB / 442.8 MB, free: 9.707 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.5868, allocations: 0 / 442.8 MB, free: 9.707 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.5868, allocations: 4 kB / 442.8 MB, free: 9.703 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.5869, allocations: 3.953 kB / 442.8 MB, free: 9.699 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001438/0.587, allocations: 134.2 kB / 443 MB, free: 9.531 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.738e-05/0.5871, allocations: 18.61 kB / 443 MB, free: 9.504 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.78e-05/0.5871, allocations: 4.859 kB / 443 MB, free: 9.496 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.5871, allocations: 0 / 443 MB, free: 9.496 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.5872, allocations: 34.62 kB / 443 MB, free: 9.453 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 3.636e-06/0.5872, allocations: 7.922 kB / 443 MB, free: 9.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001756/0.5874, allocations: 37.64 kB / 443.1 MB, free: 9.402 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.5874, allocations: 55.39 kB / 443.1 MB, free: 9.336 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.083e-05/0.5875, allocations: 93 kB / 443.2 MB, free: 9.238 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.5875, allocations: 25.7 kB / 443.2 MB, free: 9.207 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.275e-05/0.5876, allocations: 80.14 kB / 443.3 MB, free: 9.125 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.5876, allocations: 3.938 kB / 443.3 MB, free: 9.121 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.5876, allocations: 0 / 443.3 MB, free: 9.121 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.5878, allocations: 318.8 kB / 443.6 MB, free: 8.801 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.207e-05/0.5878, allocations: 4.156 kB / 443.6 MB, free: 8.797 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.997e-06/0.5878, allocations: 0 / 443.6 MB, free: 8.797 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.082e-05/0.5879, allocations: 4 kB / 443.6 MB, free: 8.793 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.5879, allocations: 0 / 443.6 MB, free: 8.793 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.611e-05/0.588, allocations: 37.69 kB / 443.7 MB, free: 8.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.588, allocations: 4 kB / 443.7 MB, free: 8.746 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/0.588, allocations: 8 kB / 443.7 MB, free: 8.738 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.5881, allocations: 0 / 443.7 MB, free: 8.738 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.483e-06/0.5881, allocations: 0 / 443.7 MB, free: 8.738 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.5881, allocations: 4.031 kB / 443.7 MB, free: 8.734 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.358e-05/0.5881, allocations: 4 kB / 443.7 MB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.5881, allocations: 0 / 443.7 MB, free: 8.73 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 7.619e-05/0.5882, allocations: 104.9 kB / 443.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.094e-05/0.5883, allocations: 41.59 kB / 443.8 MB, free: 8.574 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-06/0.5883, allocations: 4 kB / 443.9 MB, free: 8.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001524/0.5885, allocations: 49.44 kB / 443.9 MB, free: 8.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.5885, allocations: 0 / 443.9 MB, free: 8.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.5885, allocations: 3.984 kB / 443.9 MB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.5885, allocations: 0 / 443.9 MB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.5887, allocations: 138.1 kB / 444 MB, free: 8.344 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.5887, allocations: 0 / 444 MB, free: 8.344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-06/0.5887, allocations: 0 / 444 MB, free: 8.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.5887, allocations: 0 / 444 MB, free: 8.344 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.5887, allocations: 3.938 kB / 444 MB, free: 8.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5887, allocations: 0 / 444 MB, free: 8.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.5888, allocations: 7.984 kB / 444 MB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.5889, allocations: 61.12 kB / 444.1 MB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.986e-05/0.5889, allocations: 81.05 kB / 444.2 MB, free: 8.156 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.589, allocations: 0 / 444.2 MB, free: 8.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.274e-05/0.589, allocations: 7.984 kB / 444.2 MB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.283e-05/0.5891, allocations: 0 / 444.2 MB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.5891, allocations: 0 / 444.2 MB, free: 8.148 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.206e-05/0.5891, allocations: 87.31 kB / 444.3 MB, free: 8.062 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5891, allocations: 0 / 444.3 MB, free: 8.062 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004346/0.5896, allocations: 47.94 kB / 444.3 MB, free: 8.016 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.0006712/0.5903, allocations: 0.6396 MB / 445 MB, free: 7.344 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.462e-05/0.5904, allocations: 33.81 kB / 445 MB, free: 7.305 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.5904, allocations: 4.062 kB / 445 MB, free: 7.301 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.989e-05/0.5904, allocations: 29.7 kB / 445 MB, free: 7.266 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.5906, allocations: 4 kB / 445 MB, free: 7.262 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004136/0.591, allocations: 95.25 kB / 445.1 MB, free: 7.133 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.5913, allocations: 0.6768 MB / 445.8 MB, free: 6.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.676e-05/0.5913, allocations: 3.938 kB / 445.8 MB, free: 6.426 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.176e-05/0.5913, allocations: 7.438 kB / 445.8 MB, free: 6.418 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.5913, allocations: 0 / 445.8 MB, free: 6.418 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03868/0.63, allocations: 1.144 MB / 447 MB, free: 5.281 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002444/0.6304, allocations: 141.8 kB / 447.1 MB, free: 5.086 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.174/2.804, allocations: 0.75 kB / 447.1 MB, free: 5.086 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