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.646/2.646, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.542e-05/3.551e-05, allocations: 4 kB / 305 MB, free: 5.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.4069, allocations: 54.86 MB / 359.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1536/0.5606, allocations: 80.41 MB / 440.3 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/0.561, allocations: 63.97 kB / 440.4 MB, free: 476 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0513/0.6123, allocations: 8.172 MB / 448.5 MB, free: 8.316 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6124, allocations: 0 / 448.5 MB, free: 8.316 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.6124, allocations: 4 kB / 448.5 MB, free: 8.312 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.0004412/0.6128, allocations: 338.5 kB / 448.9 MB, free: 7.938 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.6129, allocations: 8.031 kB / 448.9 MB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.412e-05/0.613, allocations: 42.5 kB / 448.9 MB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.613, allocations: 3.953 kB / 448.9 MB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.6132, allocations: 167.1 kB / 449.1 MB, free: 7.672 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.6132, allocations: 0.8438 kB / 449.1 MB, free: 7.672 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.6132, allocations: 0 / 449.1 MB, free: 7.672 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.6133, allocations: 29.7 kB / 449.1 MB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.6134, allocations: 0 / 449.1 MB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.6134, allocations: 0 / 449.1 MB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.6134, allocations: 3.953 kB / 449.1 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.114e-05/0.6134, allocations: 0 / 449.1 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.6136, allocations: 157.7 kB / 449.3 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.547e-05/0.6137, allocations: 22.55 kB / 449.3 MB, free: 7.398 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.202e-05/0.6137, allocations: 5.516 kB / 449.3 MB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.6138, allocations: 0 / 449.3 MB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.6138, allocations: 38.56 kB / 449.3 MB, free: 7.344 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.403e-06/0.6138, allocations: 0 / 449.3 MB, free: 7.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001485/0.614, allocations: 37.69 kB / 449.4 MB, free: 7.301 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.614, allocations: 55.36 kB / 449.4 MB, free: 7.234 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.81e-05/0.6141, allocations: 93 kB / 449.5 MB, free: 7.137 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.6141, allocations: 27.2 kB / 449.5 MB, free: 7.105 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/0.6142, allocations: 80.14 kB / 449.6 MB, free: 7.023 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.6142, allocations: 3.938 kB / 449.6 MB, free: 7.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.6142, allocations: 0 / 449.6 MB, free: 7.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.6144, allocations: 314.8 kB / 449.9 MB, free: 6.703 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.794e-05/0.6144, allocations: 4.156 kB / 449.9 MB, free: 6.699 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.111e-05/0.6144, allocations: 3.938 kB / 449.9 MB, free: 6.695 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.351e-05/0.6145, allocations: 4 kB / 449.9 MB, free: 6.691 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6145, allocations: 0 / 449.9 MB, free: 6.691 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.724e-05/0.6146, allocations: 45.59 kB / 450 MB, free: 6.641 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.6146, allocations: 4 kB / 450 MB, free: 6.637 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.6146, allocations: 0 / 450 MB, free: 6.637 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.6146, allocations: 0 / 450 MB, free: 6.637 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.372e-06/0.6147, allocations: 0 / 450 MB, free: 6.637 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.954e-06/0.6147, allocations: 4.094 kB / 450 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.005e-05/0.6147, allocations: 7.953 kB / 450 MB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.6147, allocations: 0.9375 kB / 450 MB, free: 6.625 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.443e-05/0.6148, allocations: 101 kB / 450.1 MB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.6148, allocations: 3.984 kB / 450.1 MB, free: 6.516 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/0.615, allocations: 48.7 kB / 450.2 MB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.615, allocations: 4.031 kB / 450.2 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.615, allocations: 8 kB / 450.2 MB, free: 6.449 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.6151, allocations: 0 / 450.2 MB, free: 6.449 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.6152, allocations: 153.6 kB / 450.3 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.6152, allocations: 4 kB / 450.3 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.032e-06/0.6152, allocations: 0 / 450.3 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.6152, allocations: 1.781 kB / 450.3 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.6152, allocations: 0 / 450.3 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.6152, allocations: 0 / 450.3 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.6153, allocations: 0 / 450.3 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.6154, allocations: 69.08 kB / 450.4 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.6154, allocations: 81.05 kB / 450.5 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.6154, allocations: 4 kB / 450.5 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.221e-05/0.6155, allocations: 0 / 450.5 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.377e-05/0.6155, allocations: 0 / 450.5 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.6156, allocations: 4 kB / 450.5 MB, free: 6.055 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.09e-05/0.6156, allocations: 83.2 kB / 450.6 MB, free: 5.973 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6156, allocations: 4.125 kB / 450.6 MB, free: 5.969 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004292/0.6161, allocations: 47.94 kB / 450.6 MB, free: 5.922 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.0006943/0.6168, allocations: 0.6436 MB / 451.3 MB, free: 5.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.549e-05/0.6169, allocations: 29.7 kB / 451.3 MB, free: 5.215 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6169, allocations: 4.094 kB / 451.3 MB, free: 5.211 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.638e-05/0.6169, allocations: 29.7 kB / 451.3 MB, free: 5.176 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.6171, allocations: 5.344 kB / 451.3 MB, free: 5.172 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004401/0.6175, allocations: 105.3 kB / 451.4 MB, free: 5.035 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.6178, allocations: 0.6731 MB / 452.1 MB, free: 4.336 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.756e-05/0.6179, allocations: 0 / 452.1 MB, free: 4.336 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.6179, allocations: 7.438 kB / 452.1 MB, free: 4.328 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.6179, allocations: 0 / 452.1 MB, free: 4.328 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02217/0.6401, allocations: 1.432 MB / 453.5 MB, free: 2.973 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002882/0.6404, allocations: 151.6 kB / 453.7 MB, free: 2.75 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.342/2.983, allocations: 0 / 453.7 MB, free: 2.75 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