Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.425/2.425, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.813e-05/5.817e-05, allocations: 5.969 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1438, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5162/0.6601, allocations: 84.98 MB / 495.3 MB, free: 2.977 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/0.6604, allocations: 63.97 kB / 495.4 MB, free: 2.914 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001948/0.6624, allocations: 0.5662 MB / 496 MB, free: 2.355 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.6624, allocations: 4 kB / 496 MB, free: 2.352 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.6625, allocations: 0 / 496 MB, free: 2.352 MB / 394.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.000324/0.6628, allocations: 330.8 kB / 496.3 MB, free: 1.988 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.6629, allocations: 12.03 kB / 496.3 MB, free: 1.977 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.6629, allocations: 30.56 kB / 496.3 MB, free: 1.938 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.356e-05/0.6629, allocations: 0 / 496.3 MB, free: 1.938 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.6631, allocations: 163 kB / 496.5 MB, free: 1.738 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.6631, allocations: 4 kB / 496.5 MB, free: 1.734 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.6631, allocations: 11.95 kB / 496.5 MB, free: 1.723 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.6633, allocations: 51.41 kB / 496.6 MB, free: 1.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.6633, allocations: 0 / 496.6 MB, free: 1.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.6633, allocations: 0 / 496.6 MB, free: 1.66 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.6633, allocations: 0 / 496.6 MB, free: 1.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.61e-05/0.6634, allocations: 15.94 kB / 496.6 MB, free: 1.645 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.6637, allocations: 325.1 kB / 496.9 MB, free: 1.273 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.146e-05/0.6638, allocations: 22.58 kB / 496.9 MB, free: 1.242 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.916e-05/0.6639, allocations: 16.86 kB / 496.9 MB, free: 1.223 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.6639, allocations: 0 / 496.9 MB, free: 1.223 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.6639, allocations: 34.56 kB / 497 MB, free: 1.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.6639, allocations: 0 / 497 MB, free: 1.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001771/0.6641, allocations: 57.64 kB / 497 MB, free: 1.117 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.6642, allocations: 55.41 kB / 497.1 MB, free: 1.051 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.356e-05/0.6643, allocations: 91.84 kB / 497.2 MB, free: 0.957 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.6643, allocations: 29.7 kB / 497.2 MB, free: 0.9219 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.597e-05/0.6643, allocations: 84.05 kB / 497.3 MB, free: 0.8359 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.6644, allocations: 11.8 kB / 497.3 MB, free: 0.8242 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.6644, allocations: 0 / 497.3 MB, free: 0.8242 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.6645, allocations: 318.8 kB / 497.6 MB, free: 0.5039 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.67e-05/0.6645, allocations: 4 kB / 497.6 MB, free: 0.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.795e-05/0.6646, allocations: 22.97 kB / 497.6 MB, free: 484 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.429e-05/0.6646, allocations: 4 kB / 497.6 MB, free: 480 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.6647, allocations: 4 kB / 497.6 MB, free: 476 kB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001202/0.6648, allocations: 57.58 kB / 497.7 MB, free: 412 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.6648, allocations: 4 kB / 497.7 MB, free: 408 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.6648, allocations: 0 / 497.7 MB, free: 408 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.6649, allocations: 3.984 kB / 497.7 MB, free: 404 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.665, allocations: 8 kB / 497.7 MB, free: 396 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.665, allocations: 4.031 kB / 497.7 MB, free: 392 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.836e-05/0.665, allocations: 11.94 kB / 497.7 MB, free: 380 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.6651, allocations: 0 / 497.7 MB, free: 380 kB / 394.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.127e-05/0.6651, allocations: 101 kB / 497.8 MB, free: 272 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.6652, allocations: 7.953 kB / 497.8 MB, free: 264 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/0.6653, allocations: 61.88 kB / 497.9 MB, free: 188 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.6654, allocations: 0 / 497.9 MB, free: 188 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.6654, allocations: 4.172 kB / 497.9 MB, free: 184 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.6654, allocations: 0 / 497.9 MB, free: 184 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.6656, allocations: 169.6 kB / 498.1 MB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.6656, allocations: 3.938 kB / 498.1 MB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.13e-05/0.6657, allocations: 8 kB / 498.1 MB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.6657, allocations: 3.953 kB / 498.1 MB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.6657, allocations: 0 / 498.1 MB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.6658, allocations: 4 kB / 498.1 MB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6658, allocations: 0 / 498.1 MB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.6659, allocations: 147.5 kB / 498.2 MB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.89e-05/0.666, allocations: 81.11 kB / 498.3 MB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.666, allocations: 7.953 kB / 498.3 MB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.112e-05/0.6661, allocations: 0 / 498.3 MB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.6661, allocations: 3.984 kB / 498.3 MB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.6662, allocations: 4 kB / 498.3 MB, free: 15.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.666e-05/0.6662, allocations: 79.28 kB / 498.4 MB, free: 15.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.6662, allocations: 0 / 498.4 MB, free: 15.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002865/0.6665, allocations: 8 kB / 498.4 MB, free: 15.59 MB / 410.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.0004557/0.667, allocations: 0.6891 MB / 499.1 MB, free: 14.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001175/0.6671, allocations: 23.94 kB / 499.1 MB, free: 14.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6671, allocations: 0 / 499.1 MB, free: 14.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.066e-05/0.6672, allocations: 12 kB / 499.1 MB, free: 14.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001688/0.6674, allocations: 10.75 kB / 499.1 MB, free: 14.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004025/0.6678, allocations: 110.5 kB / 499.2 MB, free: 14.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.668, allocations: 0.6809 MB / 499.9 MB, free: 13.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.019e-05/0.6681, allocations: 4 kB / 499.9 MB, free: 13.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.95e-05/0.6681, allocations: 7.438 kB / 499.9 MB, free: 13.96 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/0.6682, allocations: 3.938 kB / 499.9 MB, free: 13.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/0.6873, allocations: 1.058 MB / 0.4893 GB, free: 12.98 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003105/0.6877, allocations: 167.4 kB / 0.4894 GB, free: 12.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.414/3.101, allocations: 0 / 0.4894 GB, free: 12.75 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat does not exist to compare? outputFormat=mat