Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.145/2.145, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.086e-05/4.091e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1229, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4012/0.5241, allocations: 72.71 MB / 394.6 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/0.5244, allocations: 63.97 kB / 394.7 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001965/0.5264, allocations: 0.5664 MB / 395.2 MB, free: 204 kB / 314.7 MB Notification: Performance of FrontEnd: time 4.007e-06/0.5264, allocations: 0 / 395.2 MB, free: 204 kB / 314.7 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.5265, allocations: 3.938 kB / 395.2 MB, free: 200 kB / 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.0003674/0.5268, allocations: 322.5 kB / 395.5 MB, free: 15.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.5269, allocations: 8.031 kB / 395.5 MB, free: 15.83 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.591e-05/0.527, allocations: 35.66 kB / 395.6 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.062e-05/0.527, allocations: 7.984 kB / 395.6 MB, free: 15.78 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.5272, allocations: 167 kB / 395.7 MB, free: 15.58 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.5272, allocations: 4 kB / 395.8 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.5272, allocations: 0 / 395.8 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.5273, allocations: 54.53 kB / 395.8 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.5274, allocations: 0 / 395.8 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.5274, allocations: 0 / 395.8 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.5274, allocations: 7.875 kB / 395.8 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.352e-05/0.5275, allocations: 12 kB / 395.8 MB, free: 15.49 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.5278, allocations: 326.9 kB / 396.1 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.919e-05/0.5279, allocations: 18.58 kB / 396.2 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.563e-05/0.528, allocations: 20.98 kB / 396.2 MB, free: 15.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.528, allocations: 0 / 396.2 MB, free: 15.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.5281, allocations: 38.5 kB / 396.2 MB, free: 15.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.5281, allocations: 0 / 396.2 MB, free: 15.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001818/0.5283, allocations: 45.61 kB / 396.3 MB, free: 14.97 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.5283, allocations: 59.39 kB / 396.3 MB, free: 14.9 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.691e-05/0.5284, allocations: 89 kB / 396.4 MB, free: 14.81 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.5284, allocations: 25.7 kB / 396.4 MB, free: 14.78 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.5285, allocations: 84.14 kB / 396.5 MB, free: 14.69 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.5285, allocations: 7.812 kB / 396.5 MB, free: 14.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.5285, allocations: 8.125 kB / 396.5 MB, free: 14.68 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.5287, allocations: 314.8 kB / 396.8 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.752e-05/0.5287, allocations: 11.98 kB / 396.9 MB, free: 14.35 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.239e-05/0.5288, allocations: 17.72 kB / 396.9 MB, free: 14.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.507e-05/0.5288, allocations: 11.92 kB / 396.9 MB, free: 14.31 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5288, allocations: 0 / 396.9 MB, free: 14.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001216/0.529, allocations: 61.67 kB / 396.9 MB, free: 14.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.529, allocations: 8.031 kB / 396.9 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.529, allocations: 0 / 396.9 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.529, allocations: 0 / 396.9 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.5292, allocations: 11.98 kB / 397 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.5292, allocations: 0 / 397 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.711e-05/0.5292, allocations: 3.938 kB / 397 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.5292, allocations: 4 kB / 397 MB, free: 14.22 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.001e-05/0.5293, allocations: 108.9 kB / 397.1 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.5294, allocations: 7.906 kB / 397.1 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000191/0.5296, allocations: 61.19 kB / 397.1 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.5296, allocations: 4 kB / 397.1 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.5296, allocations: 0 / 397.1 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.5296, allocations: 0 / 397.1 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.5298, allocations: 162.4 kB / 397.3 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.5299, allocations: 0 / 397.3 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.562e-05/0.5299, allocations: 11.98 kB / 397.3 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.53, allocations: 0 / 397.3 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.53, allocations: 0 / 397.3 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.53, allocations: 192 / 397.3 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.53, allocations: 7.938 kB / 397.3 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.5302, allocations: 155.5 kB / 397.5 MB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.452e-05/0.5302, allocations: 81.05 kB / 397.6 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.5302, allocations: 0 / 397.6 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.028e-05/0.5303, allocations: 4 kB / 397.6 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.5304, allocations: 4 kB / 397.6 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.5304, allocations: 0 / 397.6 MB, free: 13.53 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.316e-05/0.5304, allocations: 87.27 kB / 397.6 MB, free: 13.44 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5305, allocations: 0 / 397.6 MB, free: 13.44 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003087/0.5308, allocations: 4 kB / 397.7 MB, free: 13.44 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.000515/0.5313, allocations: 0.6889 MB / 398.3 MB, free: 12.72 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001083/0.5314, allocations: 20 kB / 398.4 MB, free: 12.7 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/0.5314, allocations: 160 / 398.4 MB, free: 12.7 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.574e-05/0.5315, allocations: 27.88 kB / 398.4 MB, free: 12.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001749/0.5317, allocations: 0 / 398.4 MB, free: 12.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.5321, allocations: 98.58 kB / 398.5 MB, free: 12.54 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.5324, allocations: 0.6809 MB / 399.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.162e-05/0.5325, allocations: 3.984 kB / 399.2 MB, free: 11.83 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.102e-05/0.5325, allocations: 15.44 kB / 399.2 MB, free: 11.82 MB / 330.7 MB Notification: Performance of SimCode: time 9.71e-07/0.5325, allocations: 0 / 399.2 MB, free: 11.82 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.5507, allocations: 1.055 MB / 400.2 MB, free: 10.83 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003566/0.5511, allocations: 160.1 kB / 400.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.251/2.802, allocations: 3.938 kB / 400.4 MB, free: 10.6 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat does not exist to compare? outputFormat=mat