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/2, allocations: 209.4 MB / 216.5 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.97e-05/2.978e-05, allocations: 7.938 kB / 267.6 MB, free: 4.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.108, allocations: 48.7 MB / 316.3 MB, free: 4.137 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4465/0.5546, allocations: 72.25 MB / 388.6 MB, free: 4.191 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.5549, allocations: 66.75 kB / 388.6 MB, free: 4.156 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001874/0.5568, allocations: 0.5696 MB / 389.2 MB, free: 3.625 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5568, allocations: 0 / 389.2 MB, free: 3.625 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.5568, allocations: 0 / 389.2 MB, free: 3.625 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.0003179/0.5571, allocations: 323.2 kB / 389.5 MB, free: 3.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.5572, allocations: 8.031 kB / 389.5 MB, free: 3.262 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.5572, allocations: 9.859 kB / 389.5 MB, free: 3.254 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.5574, allocations: 171.5 kB / 389.7 MB, free: 3.051 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.5574, allocations: 0 / 389.7 MB, free: 3.051 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.5574, allocations: 4 kB / 389.7 MB, free: 3.047 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.07e-05/0.5575, allocations: 4 kB / 389.7 MB, free: 3.043 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.5576, allocations: 54.47 kB / 389.8 MB, free: 2.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.5576, allocations: 0 / 389.8 MB, free: 2.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.5577, allocations: 7.062 kB / 389.8 MB, free: 2.977 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.5577, allocations: 0 / 389.8 MB, free: 2.977 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.558, allocations: 304.4 kB / 390.1 MB, free: 2.645 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.323e-05/0.5581, allocations: 21.89 kB / 390.1 MB, free: 2.617 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.112e-05/0.5581, allocations: 8.859 kB / 390.1 MB, free: 2.605 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.5582, allocations: 4 kB / 390.1 MB, free: 2.602 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.5582, allocations: 41.73 kB / 390.2 MB, free: 2.555 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/0.5582, allocations: 0 / 390.2 MB, free: 2.555 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002179/0.5584, allocations: 52.81 kB / 390.2 MB, free: 2.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.5585, allocations: 52.39 kB / 390.3 MB, free: 2.438 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.605e-05/0.5586, allocations: 89 kB / 390.3 MB, free: 2.344 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.5586, allocations: 25.7 kB / 390.4 MB, free: 2.312 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.038e-05/0.5587, allocations: 87.25 kB / 390.5 MB, free: 2.227 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.5587, allocations: 7.812 kB / 390.5 MB, free: 2.219 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.5587, allocations: 128 / 390.5 MB, free: 2.219 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.5588, allocations: 322 kB / 390.8 MB, free: 1.898 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.188e-05/0.5589, allocations: 4 kB / 390.8 MB, free: 1.895 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.35e-05/0.5589, allocations: 16.66 kB / 390.8 MB, free: 1.875 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.643e-05/0.559, allocations: 19 kB / 390.8 MB, free: 1.859 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.559, allocations: 0 / 390.8 MB, free: 1.859 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001414/0.5591, allocations: 52.75 kB / 390.9 MB, free: 1.805 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.5592, allocations: 10.34 kB / 390.9 MB, free: 1.797 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.5592, allocations: 4.031 kB / 390.9 MB, free: 1.793 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.5592, allocations: 0 / 390.9 MB, free: 1.793 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.5593, allocations: 11.98 kB / 390.9 MB, free: 1.781 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.5593, allocations: 0 / 390.9 MB, free: 1.781 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.296e-05/0.5594, allocations: 3.938 kB / 390.9 MB, free: 1.777 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.5594, allocations: 4 kB / 390.9 MB, free: 1.773 MB / 314.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.66e-05/0.5595, allocations: 104.9 kB / 391 MB, free: 1.664 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001356/0.5596, allocations: 52.53 kB / 391.1 MB, free: 1.609 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.5597, allocations: 4 kB / 391.1 MB, free: 1.605 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002115/0.5599, allocations: 56.62 kB / 391.1 MB, free: 1.551 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.5599, allocations: 4 kB / 391.1 MB, free: 1.547 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.5599, allocations: 0 / 391.1 MB, free: 1.547 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.56, allocations: 3.984 kB / 391.1 MB, free: 1.543 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.5602, allocations: 137.9 kB / 391.3 MB, free: 1.375 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5602, allocations: 0.6875 kB / 391.3 MB, free: 1.375 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.668e-05/0.5603, allocations: 15.92 kB / 391.3 MB, free: 1.359 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5603, allocations: 0 / 391.3 MB, free: 1.359 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.5603, allocations: 0 / 391.3 MB, free: 1.359 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.5603, allocations: 192 / 391.3 MB, free: 1.359 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/0.5603, allocations: 8 kB / 391.3 MB, free: 1.352 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.5605, allocations: 152.3 kB / 391.4 MB, free: 1.195 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.076e-05/0.5606, allocations: 85.02 kB / 391.5 MB, free: 1.094 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.5606, allocations: 0 / 391.5 MB, free: 1.094 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.829e-05/0.5607, allocations: 0 / 391.5 MB, free: 1.094 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.5607, allocations: 7.984 kB / 391.5 MB, free: 1.086 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.5607, allocations: 0 / 391.5 MB, free: 1.086 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.08e-05/0.5608, allocations: 82.41 kB / 391.6 MB, free: 1.008 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5608, allocations: 0 / 391.6 MB, free: 1.008 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002967/0.5611, allocations: 8 kB / 391.6 MB, free: 1 MB / 314.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.000506/0.5616, allocations: 0.6779 MB / 392.3 MB, free: 308 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001026/0.5617, allocations: 19.5 kB / 392.3 MB, free: 292 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.5617, allocations: 8.094 kB / 392.3 MB, free: 284 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.147e-05/0.5618, allocations: 19.73 kB / 392.3 MB, free: 268 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.562, allocations: 0 / 392.3 MB, free: 268 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004074/0.5624, allocations: 97.27 kB / 392.4 MB, free: 136 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.5627, allocations: 0.6807 MB / 393.1 MB, free: 15.43 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.172e-05/0.5628, allocations: 4 kB / 393.1 MB, free: 15.42 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.237e-05/0.5629, allocations: 14.75 kB / 393.1 MB, free: 15.41 MB / 330.7 MB Notification: Performance of SimCode: time 6.81e-07/0.5629, allocations: 0 / 393.1 MB, free: 15.41 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03256/0.5954, allocations: 0.7742 MB / 393.9 MB, free: 14.64 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002989/0.5958, allocations: 151.5 kB / 394 MB, free: 14.45 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.377/2.973, allocations: 0 / 394 MB, free: 14.45 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