Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.381/2.381, allocations: 235 MB / 247.2 MB, free: 14.3 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.866e-05/3.873e-05, allocations: 4 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4242/0.4243, allocations: 54.85 MB / 359.9 MB, free: 2.805 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1539/0.5782, allocations: 80.41 MB / 440.3 MB, free: 412 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.5785, allocations: 64.66 kB / 440.4 MB, free: 348 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04651/0.6251, allocations: 8.168 MB / 448.5 MB, free: 8.199 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.6251, allocations: 0 / 448.5 MB, free: 8.199 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.6251, allocations: 4 kB / 448.5 MB, free: 8.195 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004047/0.6255, allocations: 338.5 kB / 448.9 MB, free: 7.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.6256, allocations: 12.03 kB / 448.9 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.259e-05/0.6257, allocations: 30.56 kB / 448.9 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.6257, allocations: 7.953 kB / 448.9 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.6258, allocations: 159.1 kB / 449.1 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.6258, allocations: 4 kB / 449.1 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.6259, allocations: 0 / 449.1 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.626, allocations: 37.62 kB / 449.1 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.626, allocations: 4 kB / 449.1 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.6261, allocations: 9.688 kB / 449.1 MB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.6261, allocations: 7.938 kB / 449.1 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.251e-05/0.6261, allocations: 4 kB / 449.1 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003784/0.6265, allocations: 240.9 kB / 449.4 MB, free: 7.211 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.524e-05/0.6266, allocations: 14.58 kB / 449.4 MB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.324e-05/0.6266, allocations: 8.922 kB / 449.4 MB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.6266, allocations: 11.94 kB / 449.4 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.6267, allocations: 38.45 kB / 449.4 MB, free: 7.117 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.963e-06/0.6267, allocations: 2.719 kB / 449.4 MB, free: 7.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001449/0.6269, allocations: 29.7 kB / 449.5 MB, free: 7.082 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.6269, allocations: 55.41 kB / 449.5 MB, free: 7.016 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.474e-05/0.627, allocations: 88.98 kB / 449.6 MB, free: 6.922 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.627, allocations: 25.7 kB / 449.6 MB, free: 6.891 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.102e-05/0.6271, allocations: 96.2 kB / 449.7 MB, free: 6.793 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.776e-06/0.6271, allocations: 3.906 kB / 449.7 MB, free: 6.789 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-06/0.6271, allocations: 0 / 449.7 MB, free: 6.789 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.6273, allocations: 310.8 kB / 450 MB, free: 6.477 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.782e-05/0.6273, allocations: 4 kB / 450 MB, free: 6.473 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.472e-05/0.6273, allocations: 22.58 kB / 450.1 MB, free: 6.441 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.312e-05/0.6274, allocations: 15.92 kB / 450.1 MB, free: 6.426 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6274, allocations: 0 / 450.1 MB, free: 6.426 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.521e-05/0.6275, allocations: 37.7 kB / 450.1 MB, free: 6.383 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.6275, allocations: 5.719 kB / 450.1 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.836e-05/0.6275, allocations: 9.359 kB / 450.1 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.6276, allocations: 0 / 450.1 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.224e-05/0.6276, allocations: 11.92 kB / 450.1 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.6276, allocations: 0 / 450.1 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.37e-05/0.6277, allocations: 4.094 kB / 450.1 MB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.6277, allocations: 4 kB / 450.2 MB, free: 6.352 MB / 378.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 7.621e-05/0.6278, allocations: 105 kB / 450.3 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.6278, allocations: 0 / 450.3 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/0.628, allocations: 45.64 kB / 450.3 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.628, allocations: 3.953 kB / 450.3 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.628, allocations: 0 / 450.3 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.628, allocations: 8.031 kB / 450.3 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.6282, allocations: 149.7 kB / 450.5 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.6282, allocations: 3.984 kB / 450.5 MB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.628e-06/0.6283, allocations: 8.938 kB / 450.5 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.6283, allocations: 3.938 kB / 450.5 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.6283, allocations: 0 / 450.5 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.6283, allocations: 0 / 450.5 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.6283, allocations: 3.953 kB / 450.5 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.6284, allocations: 131.5 kB / 450.6 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.094e-05/0.6285, allocations: 77.11 kB / 450.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.6285, allocations: 3.984 kB / 450.7 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.363e-05/0.6286, allocations: 8 kB / 450.7 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.519e-05/0.6286, allocations: 3.953 kB / 450.7 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.6287, allocations: 0.75 kB / 450.7 MB, free: 5.711 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.225e-05/0.6287, allocations: 79.28 kB / 450.8 MB, free: 5.633 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6287, allocations: 0 / 450.8 MB, free: 5.633 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004885/0.6292, allocations: 47.94 kB / 450.8 MB, free: 5.586 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.0007048/0.6299, allocations: 0.7124 MB / 451.5 MB, free: 4.848 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001136/0.6301, allocations: 37.7 kB / 451.6 MB, free: 4.805 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.6301, allocations: 0 / 451.6 MB, free: 4.805 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.183e-05/0.6301, allocations: 29.92 kB / 451.6 MB, free: 4.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/0.6303, allocations: 6.984 kB / 451.6 MB, free: 4.766 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004688/0.6308, allocations: 111.8 kB / 451.7 MB, free: 4.621 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.6311, allocations: 0.677 MB / 452.4 MB, free: 3.918 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.577e-05/0.6311, allocations: 0 / 452.4 MB, free: 3.918 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.742e-05/0.6312, allocations: 11.44 kB / 452.4 MB, free: 3.906 MB / 378.7 MB Notification: Performance of SimCode: time 8.12e-07/0.6312, allocations: 0 / 452.4 MB, free: 3.906 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02593/0.6571, allocations: 1.42 MB / 453.8 MB, free: 2.562 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003262/0.6575, allocations: 147.6 kB / 454 MB, free: 2.344 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.418/3.076, allocations: 3.938 kB / 454 MB, free: 2.34 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat does not exist to compare? outputFormat=mat