Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.959/1.959, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.695e-05/3.7e-05, allocations: 4 kB / 273.2 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1085, allocations: 48.7 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4672/0.5758, allocations: 73.23 MB / 395.1 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.5761, allocations: 66.91 kB / 395.2 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01493/0.5911, allocations: 2.923 MB / 398.1 MB, free: 13.67 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5911, allocations: 0 / 398.1 MB, free: 13.67 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.5911, allocations: 8 kB / 398.1 MB, free: 13.66 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.0004495/0.5916, allocations: 366.3 kB / 398.4 MB, free: 13.26 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.5916, allocations: 15.97 kB / 398.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.263e-05/0.5917, allocations: 34.56 kB / 398.5 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.5917, allocations: 7.703 kB / 398.5 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.5919, allocations: 167.1 kB / 398.7 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.5919, allocations: 0.875 kB / 398.7 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.592, allocations: 7.984 kB / 398.7 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.5921, allocations: 57.62 kB / 398.7 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.5922, allocations: 4 kB / 398.7 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.5922, allocations: 3.938 kB / 398.7 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.5922, allocations: 0 / 398.7 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.916e-05/0.5923, allocations: 28 kB / 398.8 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002278/0.5925, allocations: 177.5 kB / 398.9 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.5928, allocations: 54.56 kB / 399 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.282e-05/0.5929, allocations: 20.86 kB / 399 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003592/0.5933, allocations: 109.4 kB / 399.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.735e-05/0.5934, allocations: 46.5 kB / 399.2 MB, free: 12.4 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.774e-06/0.5934, allocations: 0 / 399.2 MB, free: 12.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.2423/0.8357, allocations: 5.261 MB / 404.4 MB, free: 7.102 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.8358, allocations: 51.41 kB / 404.5 MB, free: 7.039 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.836, allocations: 97 kB / 404.6 MB, free: 6.938 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.889e-05/0.836, allocations: 29.7 kB / 404.6 MB, free: 6.902 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.811e-05/0.8361, allocations: 150.6 kB / 404.7 MB, free: 6.754 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.8362, allocations: 63.11 kB / 404.8 MB, free: 6.691 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.058e-05/0.8363, allocations: 4 kB / 404.8 MB, free: 6.688 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.8364, allocations: 326.7 kB / 405.1 MB, free: 6.359 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004738/0.8369, allocations: 168 kB / 405.3 MB, free: 6.195 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004769/0.8374, allocations: 168 kB / 405.5 MB, free: 6.031 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/0.839, allocations: 235.1 kB / 405.7 MB, free: 5.805 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.839, allocations: 0 / 405.7 MB, free: 5.805 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002273/0.8413, allocations: 493.2 kB / 406.2 MB, free: 5.316 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.8413, allocations: 4 kB / 406.2 MB, free: 5.312 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.8413, allocations: 4 kB / 406.2 MB, free: 5.309 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.8414, allocations: 4 kB / 406.2 MB, free: 5.305 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009311/0.8423, allocations: 87.89 kB / 406.3 MB, free: 5.219 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.8423, allocations: 0 / 406.3 MB, free: 5.219 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006179/0.843, allocations: 36.17 kB / 406.3 MB, free: 5.184 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.805e-05/0.8431, allocations: 27.97 kB / 406.3 MB, free: 5.156 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.0001689/0.8433, allocations: 112.9 kB / 406.4 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.674e-05/0.8433, allocations: 8.094 kB / 406.4 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002723/0.8461, allocations: 0.5821 MB / 407 MB, free: 4.445 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.8461, allocations: 7.938 kB / 407 MB, free: 4.438 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.8461, allocations: 0 / 407 MB, free: 4.438 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.8461, allocations: 0 / 407 MB, free: 4.438 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004832/0.851, allocations: 0.9871 MB / 408 MB, free: 3.375 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.851, allocations: 8.141 kB / 408 MB, free: 3.367 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007745/0.8518, allocations: 87.84 kB / 408.1 MB, free: 3.281 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.226e-05/0.8519, allocations: 4 kB / 408.1 MB, free: 3.277 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.674e-05/0.8519, allocations: 23.97 kB / 408.1 MB, free: 3.254 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/0.852, allocations: 4 kB / 408.2 MB, free: 3.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.852, allocations: 0 / 408.2 MB, free: 3.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/0.854, allocations: 0.5495 MB / 408.7 MB, free: 2.629 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-05/0.8541, allocations: 85.09 kB / 408.8 MB, free: 2.527 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.393e-05/0.8542, allocations: 3.953 kB / 408.8 MB, free: 2.523 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005781/0.8548, allocations: 31.98 kB / 408.8 MB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.8548, allocations: 19.92 kB / 408.8 MB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.415e-05/0.8549, allocations: 19.97 kB / 408.9 MB, free: 2.453 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.867e-05/0.855, allocations: 79.28 kB / 408.9 MB, free: 2.375 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.855, allocations: 0 / 408.9 MB, free: 2.375 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002414/0.8574, allocations: 0.6286 MB / 409.6 MB, free: 1.746 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.007274/0.8647, allocations: 1.729 MB / 411.3 MB, free: 15.95 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001069/0.8658, allocations: 326.8 kB / 411.6 MB, free: 15.63 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.8659, allocations: 0 / 411.6 MB, free: 15.63 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004249/0.8663, allocations: 140.2 kB / 411.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.8666, allocations: 8.062 kB / 411.8 MB, free: 15.49 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004331/0.8709, allocations: 0.5597 MB / 412.3 MB, free: 14.87 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.8713, allocations: 0.6968 MB / 413 MB, free: 14.14 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004304/0.8717, allocations: 83.34 kB / 413.1 MB, free: 14.06 MB / 346.7 MB Notification: Performance of SimCode: time 1.272e-06/0.8717, allocations: 0 / 413.1 MB, free: 14.06 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.069/3.94, allocations: 16.61 MB / 429.7 MB, free: 13.49 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat does not exist to compare? outputFormat=mat