Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.582/2.582, allocations: 249.5 MB / 261.6 MB, free: 2.152 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.372e-05/3.381e-05, allocations: 4 kB / 323.5 MB, free: 4.211 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.3981, allocations: 58.82 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1625/0.5607, allocations: 85.26 MB / 467.6 MB, free: 7.148 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/0.5611, allocations: 67.97 kB / 467.6 MB, free: 7.082 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.05614/0.6172, allocations: 8.189 MB / 475.8 MB, free: 14.88 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6173, allocations: 0 / 475.8 MB, free: 14.88 MB / 410.8 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.6173, allocations: 4 kB / 475.8 MB, free: 14.88 MB / 410.8 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.0004681/0.6178, allocations: 349.1 kB / 476.2 MB, free: 14.5 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/0.6179, allocations: 8.031 kB / 476.2 MB, free: 14.49 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.423e-05/0.6179, allocations: 30.56 kB / 476.2 MB, free: 14.45 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.618, allocations: 3.938 kB / 476.2 MB, free: 14.45 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.6181, allocations: 171 kB / 476.4 MB, free: 14.24 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.6182, allocations: 8 kB / 476.4 MB, free: 14.23 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.6182, allocations: 0 / 476.4 MB, free: 14.23 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.6183, allocations: 33.69 kB / 476.4 MB, free: 14.19 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.6184, allocations: 7.984 kB / 476.4 MB, free: 14.18 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.6184, allocations: 0 / 476.4 MB, free: 14.18 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.6184, allocations: 0 / 476.4 MB, free: 14.18 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.348e-05/0.6185, allocations: 11.94 kB / 476.4 MB, free: 14.17 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004461/0.6189, allocations: 244.9 kB / 476.7 MB, free: 13.88 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.429e-05/0.619, allocations: 18.58 kB / 476.7 MB, free: 13.86 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.61e-05/0.6191, allocations: 8.922 kB / 476.7 MB, free: 13.84 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.6191, allocations: 3.984 kB / 476.7 MB, free: 13.84 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.6192, allocations: 34.56 kB / 476.7 MB, free: 13.8 MB / 410.8 MB Notification: Performance of pre-optimization done (n=1): time 2.595e-06/0.6192, allocations: 0 / 476.7 MB, free: 13.8 MB / 410.8 MB Notification: Performance of matching and sorting (n=1): time 0.0001805/0.6194, allocations: 37.64 kB / 476.8 MB, free: 13.75 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.6194, allocations: 59.39 kB / 476.8 MB, free: 13.68 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.942e-05/0.6195, allocations: 88.98 kB / 476.9 MB, free: 13.59 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.6196, allocations: 29.7 kB / 476.9 MB, free: 13.55 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.965e-05/0.6196, allocations: 88.05 kB / 477 MB, free: 13.46 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.086e-05/0.6197, allocations: 3.906 kB / 477 MB, free: 13.46 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.6197, allocations: 0 / 477 MB, free: 13.46 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.6198, allocations: 310.8 kB / 477.3 MB, free: 13.15 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.267e-05/0.6199, allocations: 4 kB / 477.3 MB, free: 13.14 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.161e-05/0.6199, allocations: 22.7 kB / 477.4 MB, free: 13.11 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.745e-05/0.62, allocations: 11.98 kB / 477.4 MB, free: 13.1 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.62, allocations: 0 / 477.4 MB, free: 13.1 MB / 410.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001352/0.6202, allocations: 41.64 kB / 477.4 MB, free: 13.05 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.6202, allocations: 4 kB / 477.4 MB, free: 13.05 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/0.6202, allocations: 4.094 kB / 477.4 MB, free: 13.05 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.6203, allocations: 4 kB / 477.4 MB, free: 13.04 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.618e-05/0.6203, allocations: 7.984 kB / 477.4 MB, free: 13.04 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.6204, allocations: 0 / 477.4 MB, free: 13.04 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.756e-05/0.6204, allocations: 3.953 kB / 477.4 MB, free: 13.03 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.6204, allocations: 8 kB / 477.4 MB, free: 13.02 MB / 410.8 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.0001005/0.6206, allocations: 108.9 kB / 477.6 MB, free: 12.91 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.535e-05/0.6206, allocations: 7.938 kB / 477.6 MB, free: 12.9 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/0.6208, allocations: 40.81 kB / 477.6 MB, free: 12.85 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.6208, allocations: 4 kB / 477.6 MB, free: 12.85 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.6208, allocations: 0 / 477.6 MB, free: 12.85 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.6209, allocations: 0 / 477.6 MB, free: 12.85 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.6211, allocations: 149.6 kB / 477.8 MB, free: 12.65 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.6211, allocations: 4 kB / 477.8 MB, free: 12.65 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.948e-06/0.6212, allocations: 3.984 kB / 477.8 MB, free: 12.64 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.6212, allocations: 0 / 477.8 MB, free: 12.64 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-06/0.6212, allocations: 0 / 477.8 MB, free: 12.64 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.6212, allocations: 0 / 477.8 MB, free: 12.64 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.6212, allocations: 8.016 kB / 477.8 MB, free: 12.64 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.6214, allocations: 131.5 kB / 477.9 MB, free: 12.49 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.6215, allocations: 77.11 kB / 478 MB, free: 12.4 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.6215, allocations: 3.984 kB / 478 MB, free: 12.39 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.6216, allocations: 7.938 kB / 478 MB, free: 12.39 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.385e-05/0.6217, allocations: 0 / 478 MB, free: 12.39 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.6217, allocations: 0 / 478 MB, free: 12.39 MB / 410.8 MB Notification: Performance of sorting global known variables: time 5.387e-05/0.6217, allocations: 87.31 kB / 478.1 MB, free: 12.3 MB / 410.8 MB Notification: Performance of sort global known variables: time 6.21e-07/0.6218, allocations: 0 / 478.1 MB, free: 12.3 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0007057/0.6225, allocations: 47.94 kB / 478.1 MB, free: 12.25 MB / 410.8 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.0008456/0.6233, allocations: 0.7085 MB / 478.8 MB, free: 11.52 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.6235, allocations: 45.77 kB / 478.9 MB, free: 11.47 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.6235, allocations: 0 / 478.9 MB, free: 11.47 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 3.76e-05/0.6236, allocations: 29.7 kB / 478.9 MB, free: 11.43 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.6238, allocations: 3.938 kB / 478.9 MB, free: 11.43 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005989/0.6244, allocations: 106.5 kB / 479 MB, free: 11.29 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.6248, allocations: 0.677 MB / 479.7 MB, free: 10.59 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 3.239e-05/0.6248, allocations: 4.328 kB / 479.7 MB, free: 10.58 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/0.6248, allocations: 15.44 kB / 479.7 MB, free: 10.57 MB / 410.8 MB Notification: Performance of SimCode: time 8.72e-07/0.6249, allocations: 0 / 479.7 MB, free: 10.57 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04751/0.6724, allocations: 1.41 MB / 481.1 MB, free: 9.23 MB / 410.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002949/0.6727, allocations: 155.6 kB / 481.3 MB, free: 9 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.301/2.974, allocations: 0 / 481.3 MB, free: 9 MB / 410.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat does not exist to compare? outputFormat=mat