Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.03/2.03, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.014e-05/4.035e-05, allocations: 4 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1109, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4214/0.5323, allocations: 72.71 MB / 394.5 MB, free: 1.219 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/0.5326, allocations: 63.95 kB / 394.6 MB, free: 1.156 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002011/0.5347, allocations: 0.5612 MB / 395.2 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.5347, allocations: 4 kB / 395.2 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.5347, allocations: 0 / 395.2 MB, free: 0.5938 MB / 314.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.0003579/0.5351, allocations: 326.5 kB / 395.5 MB, free: 240 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.5351, allocations: 8.031 kB / 395.5 MB, free: 232 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.494e-05/0.5352, allocations: 32.42 kB / 395.5 MB, free: 192 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.559e-05/0.5352, allocations: 4.875 kB / 395.5 MB, free: 188 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.5354, allocations: 163 kB / 395.7 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.5354, allocations: 4 kB / 395.7 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.5355, allocations: 4 kB / 395.7 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.5356, allocations: 59.34 kB / 395.8 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.5356, allocations: 0 / 395.8 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.5357, allocations: 0 / 395.8 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.5357, allocations: 2.75 kB / 395.8 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.623e-05/0.5357, allocations: 8 kB / 395.8 MB, free: 15.9 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003931/0.5362, allocations: 333 kB / 396.1 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.354e-05/0.5362, allocations: 26.52 kB / 396.1 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.571e-05/0.5363, allocations: 20.84 kB / 396.1 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.5363, allocations: 0 / 396.1 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.5364, allocations: 30.56 kB / 396.2 MB, free: 15.42 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.545e-06/0.5364, allocations: 0 / 396.2 MB, free: 15.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001859/0.5366, allocations: 58.61 kB / 396.2 MB, free: 15.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.5366, allocations: 55.41 kB / 396.3 MB, free: 15.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.286e-05/0.5367, allocations: 85 kB / 396.4 MB, free: 15.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.5368, allocations: 25.7 kB / 396.4 MB, free: 15.17 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.668e-05/0.5369, allocations: 158.6 kB / 396.5 MB, free: 15.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.5369, allocations: 15.78 kB / 396.6 MB, free: 15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.5369, allocations: 0 / 396.6 MB, free: 15 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.537, allocations: 318.8 kB / 396.9 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.075e-05/0.5371, allocations: 12.12 kB / 396.9 MB, free: 14.67 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.694e-05/0.5372, allocations: 21.66 kB / 396.9 MB, free: 14.64 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.528e-05/0.5372, allocations: 4 kB / 396.9 MB, free: 14.64 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.5372, allocations: 0 / 396.9 MB, free: 14.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001316/0.5374, allocations: 57.62 kB / 397 MB, free: 14.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.5374, allocations: 4 kB / 397 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.5374, allocations: 3.984 kB / 397 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.5374, allocations: 0 / 397 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.5376, allocations: 12.03 kB / 397 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.5376, allocations: 0 / 397 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.68e-05/0.5376, allocations: 7.938 kB / 397 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.5377, allocations: 4 kB / 397 MB, free: 14.54 MB / 330.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 8.456e-05/0.5377, allocations: 108.9 kB / 397.1 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.5378, allocations: 7.906 kB / 397.1 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001663/0.538, allocations: 53.19 kB / 397.2 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.538, allocations: 7.984 kB / 397.2 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.538, allocations: 4 kB / 397.2 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.538, allocations: 0.8125 kB / 397.2 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.5382, allocations: 161.6 kB / 397.3 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5382, allocations: 0 / 397.3 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.369e-05/0.5383, allocations: 8 kB / 397.3 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.5383, allocations: 0 / 397.3 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.5384, allocations: 192 / 397.3 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.5384, allocations: 4 kB / 397.3 MB, free: 14.13 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.5384, allocations: 4 kB / 397.3 MB, free: 14.13 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.5386, allocations: 155.4 kB / 397.5 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.878e-05/0.5386, allocations: 77.11 kB / 397.6 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.5387, allocations: 0 / 397.6 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.804e-05/0.5387, allocations: 4 kB / 397.6 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.5388, allocations: 11.92 kB / 397.6 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.289e-06/0.5388, allocations: 0 / 397.6 MB, free: 13.85 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.731e-05/0.5389, allocations: 79.28 kB / 397.7 MB, free: 13.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5389, allocations: 0 / 397.7 MB, free: 13.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000277/0.5391, allocations: 4 kB / 397.7 MB, free: 13.77 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 (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.0005448/0.5397, allocations: 0.6968 MB / 398.4 MB, free: 13.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001188/0.5398, allocations: 20 kB / 398.4 MB, free: 13.03 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.5399, allocations: 3.938 kB / 398.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.475e-05/0.5399, allocations: 19.92 kB / 398.4 MB, free: 13 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.5401, allocations: 4.062 kB / 398.4 MB, free: 13 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004319/0.5405, allocations: 128.3 kB / 398.5 MB, free: 12.83 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.5409, allocations: 0.677 MB / 399.2 MB, free: 12.13 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.452e-05/0.5409, allocations: 11.44 kB / 399.2 MB, free: 12.12 MB / 330.7 MB Notification: Performance of SimCode: time 6.62e-07/0.5409, allocations: 0 / 399.2 MB, free: 12.12 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.405/2.946, allocations: 0.7673 MB / 400 MB, free: 11.35 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat does not exist to compare? outputFormat=mat