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.034/2.034, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.671e-05/3.681e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1029, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4092/0.5121, allocations: 73.22 MB / 395.1 MB, free: 404 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.5124, allocations: 67.95 kB / 395.2 MB, free: 336 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01438/0.5268, allocations: 2.94 MB / 398.1 MB, free: 13.4 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5269, allocations: 0 / 398.1 MB, free: 13.4 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.5269, allocations: 0 / 398.1 MB, free: 13.4 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.0004128/0.5273, allocations: 370.3 kB / 398.5 MB, free: 12.99 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.5274, allocations: 8.031 kB / 398.5 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.342e-05/0.5274, allocations: 34.55 kB / 398.5 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.5275, allocations: 15.86 kB / 398.5 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.5276, allocations: 159.1 kB / 398.7 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.5276, allocations: 4 kB / 398.7 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.5277, allocations: 4 kB / 398.7 MB, free: 12.72 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.5278, allocations: 53.62 kB / 398.7 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.5279, allocations: 0 / 398.7 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.5279, allocations: 0 / 398.7 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.5279, allocations: 8 kB / 398.7 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.615e-05/0.528, allocations: 27.98 kB / 398.8 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002321/0.5282, allocations: 181.5 kB / 398.9 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.5285, allocations: 50.61 kB / 399 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.102e-05/0.5286, allocations: 28.84 kB / 399 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000341/0.529, allocations: 113.1 kB / 399.1 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.529, allocations: 34.5 kB / 399.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.823e-06/0.529, allocations: 0 / 399.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.2442/0.7732, allocations: 5.273 MB / 404.4 MB, free: 6.828 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.7733, allocations: 51.41 kB / 404.5 MB, free: 6.766 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.7734, allocations: 96.98 kB / 404.6 MB, free: 6.664 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.988e-05/0.7735, allocations: 29.7 kB / 404.6 MB, free: 6.629 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.29e-05/0.7736, allocations: 80.14 kB / 404.7 MB, free: 6.547 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.7737, allocations: 67.03 kB / 404.8 MB, free: 6.48 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.7738, allocations: 4 kB / 404.8 MB, free: 6.477 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.7739, allocations: 330.8 kB / 405.1 MB, free: 6.145 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005132/0.7744, allocations: 168 kB / 405.2 MB, free: 5.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004758/0.7749, allocations: 168 kB / 405.4 MB, free: 5.816 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.7765, allocations: 230.8 kB / 405.6 MB, free: 5.594 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.7765, allocations: 0 / 405.6 MB, free: 5.594 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002266/0.7788, allocations: 493.3 kB / 406.1 MB, free: 5.105 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.7788, allocations: 8 kB / 406.1 MB, free: 5.098 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.7788, allocations: 0 / 406.1 MB, free: 5.098 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.7789, allocations: 0 / 406.1 MB, free: 5.098 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009223/0.7798, allocations: 95.83 kB / 406.2 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.7798, allocations: 0 / 406.2 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.7809, allocations: 31.94 kB / 406.2 MB, free: 4.973 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.781, allocations: 31.94 kB / 406.3 MB, free: 4.941 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.0002369/0.7813, allocations: 109 kB / 406.4 MB, free: 4.828 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.7814, allocations: 7.906 kB / 406.4 MB, free: 4.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004683/0.7861, allocations: 0.5864 MB / 407 MB, free: 4.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.7862, allocations: 0 / 407 MB, free: 4.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.939e-05/0.7863, allocations: 0 / 407 MB, free: 4.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/0.7863, allocations: 7.938 kB / 407 MB, free: 4.223 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007677/0.794, allocations: 0.9909 MB / 408 MB, free: 3.156 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.517e-05/0.7941, allocations: 0 / 408 MB, free: 3.156 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001389/0.7955, allocations: 92.03 kB / 408.1 MB, free: 3.066 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.397e-05/0.7956, allocations: 4 kB / 408.1 MB, free: 3.062 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.121e-05/0.7957, allocations: 24.22 kB / 408.1 MB, free: 3.039 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.05e-05/0.7957, allocations: 8 kB / 408.1 MB, free: 3.031 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.7957, allocations: 0 / 408.1 MB, free: 3.031 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00354/0.7993, allocations: 0.5382 MB / 408.6 MB, free: 2.422 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.789e-05/0.7994, allocations: 85.02 kB / 408.7 MB, free: 2.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.7995, allocations: 12.12 kB / 408.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.8007, allocations: 27.98 kB / 408.8 MB, free: 2.281 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.8008, allocations: 19.92 kB / 408.8 MB, free: 2.262 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-05/0.801, allocations: 23.97 kB / 408.8 MB, free: 2.238 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.042e-05/0.8011, allocations: 79.28 kB / 408.9 MB, free: 2.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.8011, allocations: 3.938 kB / 408.9 MB, free: 2.156 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004715/0.8058, allocations: 0.6286 MB / 409.5 MB, free: 1.527 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.008102/0.814, allocations: 1.725 MB / 411.2 MB, free: 15.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.8151, allocations: 326.5 kB / 411.6 MB, free: 15.42 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.8151, allocations: 0 / 411.6 MB, free: 15.42 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000433/0.8156, allocations: 147.8 kB / 411.7 MB, free: 15.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.8158, allocations: 4.375 kB / 411.7 MB, free: 15.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004134/0.82, allocations: 0.5463 MB / 412.3 MB, free: 14.67 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.8204, allocations: 0.6968 MB / 412.9 MB, free: 13.94 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006736/0.8211, allocations: 100.9 kB / 413 MB, free: 13.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004294/0.8215, allocations: 75.34 kB / 413.1 MB, free: 13.76 MB / 346.7 MB Notification: Performance of SimCode: time 1.162e-06/0.8215, allocations: 0 / 413.1 MB, free: 13.76 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07848/0.9, allocations: 19.44 MB / 432.6 MB, free: 10.37 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003612/0.9005, allocations: 171.6 kB / 432.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.733/3.633, allocations: 4.062 kB / 432.7 MB, free: 10.14 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