Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.031/2.031, allocations: 209.3 MB / 221.5 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.712e-05/3.717e-05, allocations: 4 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1077, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4148/0.5226, allocations: 73.23 MB / 395.1 MB, free: 292 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/0.5229, allocations: 67.95 kB / 395.2 MB, free: 224 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01516/0.5381, allocations: 2.938 MB / 398.1 MB, free: 13.29 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5381, allocations: 4 kB / 398.1 MB, free: 13.29 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.5381, allocations: 0 / 398.1 MB, free: 13.29 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005089/0.5387, allocations: 362.4 kB / 398.5 MB, free: 12.89 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.5387, allocations: 12.02 kB / 398.5 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.115e-05/0.5388, allocations: 34.56 kB / 398.5 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.5388, allocations: 7.859 kB / 398.5 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.539, allocations: 165.2 kB / 398.7 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.539, allocations: 7.984 kB / 398.7 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.539, allocations: 4 kB / 398.7 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.5392, allocations: 57.62 kB / 398.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.5392, allocations: 0 / 398.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.851e-05/0.5393, allocations: 4 kB / 398.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.5393, allocations: 3.984 kB / 398.8 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.374e-05/0.5394, allocations: 20 kB / 398.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002542/0.5397, allocations: 185.5 kB / 399 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.54, allocations: 46.61 kB / 399 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.238e-05/0.5401, allocations: 36.84 kB / 399 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003835/0.5405, allocations: 109.1 kB / 399.2 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.5405, allocations: 30.56 kB / 399.2 MB, free: 12.04 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.404e-06/0.5405, allocations: 0 / 399.2 MB, free: 12.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.2983/0.8388, allocations: 5.27 MB / 404.5 MB, free: 6.727 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.8389, allocations: 55.41 kB / 404.5 MB, free: 6.66 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.839, allocations: 96.98 kB / 404.6 MB, free: 6.559 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.217e-05/0.8391, allocations: 29.7 kB / 404.6 MB, free: 6.523 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.8392, allocations: 88.33 kB / 404.7 MB, free: 6.434 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.8393, allocations: 59.11 kB / 404.8 MB, free: 6.375 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/0.8394, allocations: 3.938 kB / 404.8 MB, free: 6.371 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.8396, allocations: 326.8 kB / 405.1 MB, free: 6.043 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004821/0.84, allocations: 171.9 kB / 405.3 MB, free: 5.875 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004868/0.8405, allocations: 168 kB / 405.4 MB, free: 5.711 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.8421, allocations: 235.1 kB / 405.7 MB, free: 5.484 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.8421, allocations: 0 / 405.7 MB, free: 5.484 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002254/0.8444, allocations: 489.3 kB / 406.1 MB, free: 5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.8444, allocations: 8 kB / 406.1 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.8445, allocations: 0 / 406.1 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/0.8445, allocations: 4 kB / 406.1 MB, free: 4.988 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009302/0.8454, allocations: 91.83 kB / 406.2 MB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.8455, allocations: 0 / 406.2 MB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006089/0.8461, allocations: 31.94 kB / 406.3 MB, free: 4.867 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.353e-05/0.8462, allocations: 27.95 kB / 406.3 MB, free: 4.84 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 (19): * Single equations (assignments): 19 * 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.0001696/0.8464, allocations: 109 kB / 406.4 MB, free: 4.727 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.689e-05/0.8464, allocations: 7.906 kB / 406.4 MB, free: 4.719 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002723/0.8492, allocations: 0.582 MB / 407 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.8492, allocations: 4 kB / 407 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.8492, allocations: 0 / 407 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/0.8492, allocations: 0 / 407 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004797/0.8541, allocations: 0.9911 MB / 408 MB, free: 3.062 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/0.8541, allocations: 7.953 kB / 408 MB, free: 3.055 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007732/0.8549, allocations: 88.09 kB / 408.1 MB, free: 2.969 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/0.8549, allocations: 0 / 408.1 MB, free: 2.969 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-05/0.855, allocations: 27.97 kB / 408.1 MB, free: 2.941 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.745e-06/0.855, allocations: 4 kB / 408.1 MB, free: 2.938 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.855, allocations: 3.938 kB / 408.1 MB, free: 2.934 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/0.8571, allocations: 0.5383 MB / 408.7 MB, free: 2.324 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.295e-05/0.8572, allocations: 89 kB / 408.7 MB, free: 2.219 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.608e-05/0.8573, allocations: 3.953 kB / 408.7 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005886/0.8579, allocations: 31.98 kB / 408.8 MB, free: 2.184 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.8579, allocations: 19.92 kB / 408.8 MB, free: 2.164 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.533e-05/0.858, allocations: 19.97 kB / 408.8 MB, free: 2.145 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.642e-05/0.8581, allocations: 79.28 kB / 408.9 MB, free: 2.066 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.8581, allocations: 0 / 408.9 MB, free: 2.066 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002487/0.8606, allocations: 0.6286 MB / 409.5 MB, free: 1.438 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.007174/0.8678, allocations: 1.729 MB / 411.2 MB, free: 15.64 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.8689, allocations: 326.8 kB / 411.6 MB, free: 15.32 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.869, allocations: 0 / 411.6 MB, free: 15.32 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004248/0.8694, allocations: 147.9 kB / 411.7 MB, free: 15.18 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.8697, allocations: 11.94 kB / 411.7 MB, free: 15.17 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004273/0.8739, allocations: 0.5388 MB / 412.3 MB, free: 14.57 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.8743, allocations: 0.6929 MB / 413 MB, free: 13.85 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006591/0.875, allocations: 100.9 kB / 413.1 MB, free: 13.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004088/0.8754, allocations: 79.34 kB / 413.1 MB, free: 13.67 MB / 346.7 MB Notification: Performance of SimCode: time 1.303e-06/0.8754, allocations: 0 / 413.1 MB, free: 13.67 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0664/0.9418, allocations: 19.79 MB / 432.9 MB, free: 9.934 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003489/0.9423, allocations: 162.3 kB / 433.1 MB, free: 9.711 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.696/3.638, allocations: 0 / 433.1 MB, free: 9.711 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat does not exist to compare? outputFormat=mat