Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.602/2.602, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.847e-05/3.887e-05, allocations: 0 / 305 MB, free: 5.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4422/0.4423, allocations: 54.86 MB / 359.9 MB, free: 2.309 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1508/0.5932, allocations: 79.09 MB / 438.9 MB, free: 1.793 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.5935, allocations: 73.14 kB / 439 MB, free: 1.723 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001919/0.5954, allocations: 0.5579 MB / 439.6 MB, free: 1.172 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.5954, allocations: 0 / 439.6 MB, free: 1.172 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.737e-06/0.5954, allocations: 0.6562 kB / 439.6 MB, free: 1.172 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003538/0.5958, allocations: 326.5 kB / 439.9 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.5959, allocations: 12.59 kB / 439.9 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.681e-05/0.5959, allocations: 30.56 kB / 439.9 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.596, allocations: 7.953 kB / 439.9 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.5961, allocations: 163.1 kB / 440.1 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.5961, allocations: 7.609 kB / 440.1 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.5962, allocations: 0 / 440.1 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.5963, allocations: 55.91 kB / 440.2 MB, free: 496 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.5963, allocations: 4 kB / 440.2 MB, free: 492 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.5963, allocations: 0 / 440.2 MB, free: 492 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.5964, allocations: 3.953 kB / 440.2 MB, free: 488 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.354e-05/0.5964, allocations: 12 kB / 440.2 MB, free: 476 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003393/0.5968, allocations: 321.1 kB / 440.5 MB, free: 100 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.447e-05/0.5968, allocations: 25.05 kB / 440.5 MB, free: 68 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.279e-05/0.5969, allocations: 24.98 kB / 440.5 MB, free: 40 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.597, allocations: 3.984 kB / 440.5 MB, free: 36 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.739e-05/0.597, allocations: 36.25 kB / 440.6 MB, free: 15.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.773e-06/0.597, allocations: 0 / 440.6 MB, free: 15.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.000182/0.5972, allocations: 49.56 kB / 440.6 MB, free: 15.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.5973, allocations: 55.39 kB / 440.7 MB, free: 15.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.493e-05/0.5974, allocations: 93 kB / 440.8 MB, free: 15.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.5974, allocations: 29.83 kB / 440.8 MB, free: 15.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.5975, allocations: 154.5 kB / 441 MB, free: 15.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.5975, allocations: 7.812 kB / 441 MB, free: 15.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.956e-06/0.5975, allocations: 4 kB / 441 MB, free: 15.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.5977, allocations: 314.8 kB / 441.3 MB, free: 15.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.654e-05/0.5977, allocations: 4 kB / 441.3 MB, free: 15.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.806e-05/0.5978, allocations: 21.7 kB / 441.3 MB, free: 15.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.547e-05/0.5978, allocations: 8 kB / 441.3 MB, free: 15.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5978, allocations: 0 / 441.3 MB, free: 15.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001257/0.5979, allocations: 57.69 kB / 441.4 MB, free: 15.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.598, allocations: 9.656 kB / 441.4 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.598, allocations: 0 / 441.4 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.598, allocations: 3.953 kB / 441.4 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.5981, allocations: 8 kB / 441.4 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.5981, allocations: 3.984 kB / 441.4 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.679e-05/0.5982, allocations: 7.938 kB / 441.4 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.5982, allocations: 3.172 kB / 441.4 MB, free: 15.12 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.725e-05/0.5983, allocations: 105 kB / 441.5 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.5983, allocations: 7.906 kB / 441.5 MB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001719/0.5985, allocations: 60.28 kB / 441.6 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.5985, allocations: 7.938 kB / 441.6 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.5986, allocations: 3.953 kB / 441.6 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.5986, allocations: 0 / 441.6 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.5988, allocations: 153.7 kB / 441.7 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.5988, allocations: 0 / 441.7 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.162e-05/0.5989, allocations: 8 kB / 441.7 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.5989, allocations: 7.984 kB / 441.7 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.5989, allocations: 1 kB / 441.7 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5989, allocations: 0 / 441.7 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.599, allocations: 4 kB / 441.8 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.5991, allocations: 147.5 kB / 441.9 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.317e-05/0.5992, allocations: 77.11 kB / 442 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.5992, allocations: 1.312 kB / 442 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.409e-05/0.5993, allocations: 8 kB / 442 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.5994, allocations: 4 kB / 442 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.5994, allocations: 0 / 442 MB, free: 14.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.795e-05/0.5994, allocations: 83.23 kB / 442.1 MB, free: 14.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5995, allocations: 3.938 kB / 442.1 MB, free: 14.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003124/0.5998, allocations: 9.391 kB / 442.1 MB, free: 14.35 MB / 378.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 (5): * Single equations (assignments): 5 * 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.0005287/0.6003, allocations: 0.6852 MB / 442.8 MB, free: 13.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001154/0.6004, allocations: 24.94 kB / 442.8 MB, free: 13.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.6005, allocations: 0 / 442.8 MB, free: 13.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.991e-05/0.6005, allocations: 16 kB / 442.8 MB, free: 13.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.6007, allocations: 0 / 442.8 MB, free: 13.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004415/0.6012, allocations: 129.6 kB / 442.9 MB, free: 13.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.6015, allocations: 0.6819 MB / 443.6 MB, free: 12.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.895e-05/0.6015, allocations: 19.48 kB / 443.6 MB, free: 12.71 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.6015, allocations: 0 / 443.6 MB, free: 12.71 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.378/2.98, allocations: 0.7539 MB / 444.4 MB, free: 11.96 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat does not exist to compare? outputFormat=mat