Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.942/1.942, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.138e-05/4.149e-05, allocations: 7.984 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.107, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4031/0.5101, allocations: 72.8 MB / 394.7 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/0.5104, allocations: 67.95 kB / 394.8 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003885/0.5143, allocations: 0.897 MB / 395.6 MB, free: 15.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5144, allocations: 4 kB / 395.7 MB, free: 15.74 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.5144, allocations: 4 kB / 395.7 MB, free: 15.74 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003392/0.5147, allocations: 330.5 kB / 396 MB, free: 15.37 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/0.5148, allocations: 8.031 kB / 396 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.809e-05/0.5149, allocations: 42.55 kB / 396 MB, free: 15.31 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.876e-05/0.5149, allocations: 0 / 396 MB, free: 15.31 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.5151, allocations: 175 kB / 396.2 MB, free: 15.1 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.5151, allocations: 0 / 396.2 MB, free: 15.1 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.5151, allocations: 9.859 kB / 396.2 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.5153, allocations: 57.62 kB / 396.3 MB, free: 15.03 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.5153, allocations: 0 / 396.3 MB, free: 15.03 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.5154, allocations: 4 kB / 396.3 MB, free: 15.03 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.5154, allocations: 0 / 396.3 MB, free: 15.03 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.5155, allocations: 47.95 kB / 396.3 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002485/0.5158, allocations: 177.5 kB / 396.5 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.516, allocations: 75.09 kB / 396.6 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.559e-05/0.5161, allocations: 24.86 kB / 396.6 MB, free: 14.65 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004241/0.5165, allocations: 255.3 kB / 396.8 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.5166, allocations: 34.55 kB / 396.9 MB, free: 14.3 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.214e-06/0.5166, allocations: 0 / 396.9 MB, free: 14.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002593/0.5168, allocations: 77.81 kB / 396.9 MB, free: 14.22 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.5169, allocations: 51.41 kB / 397 MB, free: 14.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.265e-05/0.517, allocations: 93 kB / 397.1 MB, free: 14.06 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.517, allocations: 29.7 kB / 397.1 MB, free: 14.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.362e-05/0.5171, allocations: 80.23 kB / 397.2 MB, free: 13.94 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.244e-05/0.5172, allocations: 39.61 kB / 397.2 MB, free: 13.9 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.837e-06/0.5172, allocations: 0 / 397.2 MB, free: 13.9 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.5174, allocations: 322.8 kB / 397.5 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.278e-05/0.5175, allocations: 12 kB / 397.6 MB, free: 13.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.214e-05/0.5175, allocations: 16 kB / 397.6 MB, free: 13.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.794e-05/0.5176, allocations: 19.98 kB / 397.6 MB, free: 13.53 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.5176, allocations: 8.078 kB / 397.6 MB, free: 13.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002012/0.5178, allocations: 77.62 kB / 397.7 MB, free: 13.44 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.5179, allocations: 4 kB / 397.7 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.5179, allocations: 0 / 397.7 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.5179, allocations: 4.688 kB / 397.7 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.5181, allocations: 19.92 kB / 397.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.5181, allocations: 0 / 397.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.151e-05/0.5182, allocations: 3.906 kB / 397.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.5182, allocations: 4 kB / 397.7 MB, free: 13.41 MB / 330.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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001011/0.5183, allocations: 109 kB / 397.8 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.5183, allocations: 7.953 kB / 397.8 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002868/0.5186, allocations: 95.45 kB / 397.9 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.5186, allocations: 4.375 kB / 397.9 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5186, allocations: 0 / 397.9 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.5187, allocations: 3.984 kB / 397.9 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.5189, allocations: 173.5 kB / 398.1 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5189, allocations: 7.938 kB / 398.1 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.519, allocations: 21 kB / 398.1 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-06/0.519, allocations: 0 / 398.1 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.5191, allocations: 4 kB / 398.1 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.5191, allocations: 0 / 398.1 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5191, allocations: 4 kB / 398.1 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002147/0.5193, allocations: 101.1 kB / 398.2 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.5194, allocations: 89 kB / 398.3 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.5194, allocations: 7.938 kB / 398.3 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.14e-05/0.5195, allocations: 4.875 kB / 398.3 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.121e-05/0.5195, allocations: 4 kB / 398.3 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.5195, allocations: 8 kB / 398.3 MB, free: 12.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.346e-05/0.5196, allocations: 75.28 kB / 398.4 MB, free: 12.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5196, allocations: 0 / 398.4 MB, free: 12.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002851/0.5199, allocations: 23.92 kB / 398.4 MB, free: 12.58 MB / 330.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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0006153/0.5205, allocations: 0.6554 MB / 399.1 MB, free: 11.9 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001881/0.5207, allocations: 47.94 kB / 399.1 MB, free: 11.85 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5207, allocations: 0 / 399.1 MB, free: 11.85 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.88e-05/0.5208, allocations: 27.94 kB / 399.2 MB, free: 11.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.521, allocations: 12.52 kB / 399.2 MB, free: 11.81 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005133/0.5215, allocations: 130.5 kB / 399.3 MB, free: 11.65 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.5218, allocations: 0.6936 MB / 400 MB, free: 10.93 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.076e-05/0.5219, allocations: 12 kB / 400 MB, free: 10.92 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.009e-05/0.522, allocations: 15.44 kB / 400 MB, free: 10.9 MB / 330.7 MB Notification: Performance of SimCode: time 1.142e-06/0.522, allocations: 0 / 400 MB, free: 10.9 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02196/0.544, allocations: 1.331 MB / 401.4 MB, free: 9.633 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003547/0.5444, allocations: 162.8 kB / 401.5 MB, free: 9.402 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.361/2.906, allocations: 0 / 401.5 MB, free: 9.402 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat does not exist to compare? outputFormat=mat