Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.534/2.534, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.358e-05/4.379e-05, allocations: 4 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4876/0.4876, allocations: 58.82 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.157/0.6447, allocations: 83.92 MB / 466.2 MB, free: 8.496 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.645, allocations: 71.95 kB / 466.3 MB, free: 8.426 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.001926/0.6469, allocations: 0.5655 MB / 466.9 MB, free: 7.859 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6469, allocations: 4 kB / 466.9 MB, free: 7.855 MB / 394.8 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.647, allocations: 4 kB / 466.9 MB, free: 7.852 MB / 394.8 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.0004212/0.6474, allocations: 322.5 kB / 467.2 MB, free: 7.492 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.309e-05/0.6475, allocations: 8.031 kB / 467.2 MB, free: 7.484 MB / 394.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.611e-05/0.6476, allocations: 34.56 kB / 467.2 MB, free: 7.441 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.6476, allocations: 4 kB / 467.2 MB, free: 7.438 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.6479, allocations: 163 kB / 467.4 MB, free: 7.238 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.6479, allocations: 4 kB / 467.4 MB, free: 7.234 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/0.648, allocations: 8 kB / 467.4 MB, free: 7.227 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.6483, allocations: 51.34 kB / 467.4 MB, free: 7.164 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.6483, allocations: 4 kB / 467.4 MB, free: 7.16 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.6484, allocations: 4 kB / 467.4 MB, free: 7.156 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.6484, allocations: 0 / 467.4 MB, free: 7.156 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.028e-05/0.6485, allocations: 8 kB / 467.5 MB, free: 7.148 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004786/0.649, allocations: 325.1 kB / 467.8 MB, free: 6.777 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.847e-05/0.6491, allocations: 30.52 kB / 467.8 MB, free: 6.738 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.97e-05/0.6491, allocations: 12.86 kB / 467.8 MB, free: 6.723 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.6492, allocations: 0 / 467.8 MB, free: 6.723 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.6492, allocations: 34.56 kB / 467.8 MB, free: 6.68 MB / 394.8 MB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.6492, allocations: 0 / 467.8 MB, free: 6.68 MB / 394.8 MB Notification: Performance of matching and sorting (n=4): time 0.000185/0.6494, allocations: 45.69 kB / 467.9 MB, free: 6.629 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.6495, allocations: 59.41 kB / 468 MB, free: 6.559 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.587e-05/0.6495, allocations: 92.94 kB / 468 MB, free: 6.461 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.6496, allocations: 25.7 kB / 468.1 MB, free: 6.43 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.489e-05/0.6496, allocations: 80.14 kB / 468.1 MB, free: 6.348 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.6497, allocations: 19.8 kB / 468.2 MB, free: 6.328 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-06/0.6497, allocations: 0 / 468.2 MB, free: 6.328 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.6498, allocations: 318.7 kB / 468.5 MB, free: 6.008 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.158e-05/0.6499, allocations: 8.125 kB / 468.5 MB, free: 6 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.912e-05/0.6499, allocations: 21.72 kB / 468.5 MB, free: 5.973 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.546e-05/0.65, allocations: 15.92 kB / 468.5 MB, free: 5.957 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.65, allocations: 0 / 468.5 MB, free: 5.957 MB / 394.8 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001235/0.6501, allocations: 49.69 kB / 468.6 MB, free: 5.902 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.6502, allocations: 4 kB / 468.6 MB, free: 5.898 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.6502, allocations: 4 kB / 468.6 MB, free: 5.895 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.6502, allocations: 96 / 468.6 MB, free: 5.895 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.6503, allocations: 15.92 kB / 468.6 MB, free: 5.879 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.6504, allocations: 4.031 kB / 468.6 MB, free: 5.875 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.563e-05/0.6504, allocations: 3.938 kB / 468.6 MB, free: 5.871 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.6504, allocations: 0 / 468.6 MB, free: 5.871 MB / 394.8 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.008e-05/0.6505, allocations: 115.5 kB / 468.7 MB, free: 5.754 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.6505, allocations: 3.906 kB / 468.7 MB, free: 5.75 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001678/0.6507, allocations: 61.17 kB / 468.8 MB, free: 5.676 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.6507, allocations: 0 / 468.8 MB, free: 5.676 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6508, allocations: 0 / 468.8 MB, free: 5.676 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.6508, allocations: 4 kB / 468.8 MB, free: 5.672 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.651, allocations: 161.6 kB / 468.9 MB, free: 5.465 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.651, allocations: 3.938 kB / 468.9 MB, free: 5.461 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.8e-05/0.6511, allocations: 4 kB / 468.9 MB, free: 5.457 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.6511, allocations: 4 kB / 469 MB, free: 5.453 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.6511, allocations: 192 / 469 MB, free: 5.453 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.6511, allocations: 4 kB / 469 MB, free: 5.449 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.6511, allocations: 0 / 469 MB, free: 5.449 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.6513, allocations: 147.5 kB / 469.1 MB, free: 5.289 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.6514, allocations: 85.11 kB / 469.2 MB, free: 5.188 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.6514, allocations: 7.984 kB / 469.2 MB, free: 5.18 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.897e-05/0.6515, allocations: 0 / 469.2 MB, free: 5.18 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.6515, allocations: 7.938 kB / 469.2 MB, free: 5.172 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.6515, allocations: 0 / 469.2 MB, free: 5.172 MB / 394.8 MB Notification: Performance of sorting global known variables: time 4.192e-05/0.6516, allocations: 75.28 kB / 469.3 MB, free: 5.098 MB / 394.8 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6516, allocations: 0 / 469.3 MB, free: 5.098 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0002886/0.6519, allocations: 12 kB / 469.3 MB, free: 5.086 MB / 394.8 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.0005518/0.6525, allocations: 0.6929 MB / 470 MB, free: 4.367 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.0001199/0.6526, allocations: 23.98 kB / 470 MB, free: 4.344 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6526, allocations: 0 / 470 MB, free: 4.344 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 4.338e-05/0.6527, allocations: 15.94 kB / 470 MB, free: 4.328 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/0.6529, allocations: 4 kB / 470 MB, free: 4.324 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004157/0.6533, allocations: 104.2 kB / 470.1 MB, free: 4.188 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.6537, allocations: 0.677 MB / 470.8 MB, free: 3.484 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 4.802e-05/0.6537, allocations: 7.938 kB / 470.8 MB, free: 3.477 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.1e-05/0.6538, allocations: 11.44 kB / 470.8 MB, free: 3.465 MB / 394.8 MB Notification: Performance of SimCode: time 1.212e-06/0.6538, allocations: 0 / 470.8 MB, free: 3.465 MB / 394.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.675, allocations: 1.064 MB / 471.9 MB, free: 2.48 MB / 394.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003612/0.6755, allocations: 160.1 kB / 472 MB, free: 2.254 MB / 394.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.435/3.11, allocations: 0 / 472 MB, free: 2.254 MB / 394.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat does not exist to compare? outputFormat=mat