Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.486/2.486, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.614e-05/4.624e-05, allocations: 4 kB / 348.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1451, allocations: 61.88 MB / 410.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5085/0.6536, allocations: 84.98 MB / 495.3 MB, free: 3.035 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.6539, allocations: 59.97 kB / 495.4 MB, free: 2.977 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002024/0.656, allocations: 0.5674 MB / 496 MB, free: 2.414 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.656, allocations: 0 / 496 MB, free: 2.414 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.656, allocations: 0 / 496 MB, free: 2.414 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.0003459/0.6564, allocations: 326.8 kB / 496.3 MB, free: 2.055 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.6565, allocations: 8.031 kB / 496.3 MB, free: 2.047 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.718e-05/0.6565, allocations: 36.5 kB / 496.3 MB, free: 2.004 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.588e-05/0.6565, allocations: 3.984 kB / 496.3 MB, free: 2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.6567, allocations: 167 kB / 496.5 MB, free: 1.797 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.6567, allocations: 0 / 496.5 MB, free: 1.797 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.6567, allocations: 11.95 kB / 496.5 MB, free: 1.785 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.6569, allocations: 51.41 kB / 496.6 MB, free: 1.723 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.078e-06/0.6569, allocations: 0 / 496.6 MB, free: 1.723 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.6569, allocations: 0 / 496.6 MB, free: 1.723 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.657, allocations: 0 / 496.6 MB, free: 1.723 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.599e-05/0.657, allocations: 12 kB / 496.6 MB, free: 1.711 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003765/0.6574, allocations: 325 kB / 496.9 MB, free: 1.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.14e-05/0.6575, allocations: 22.58 kB / 496.9 MB, free: 1.309 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.455e-05/0.6576, allocations: 24.92 kB / 496.9 MB, free: 1.281 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.6576, allocations: 0 / 496.9 MB, free: 1.281 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.6576, allocations: 30.56 kB / 497 MB, free: 1.242 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.6576, allocations: 4 kB / 497 MB, free: 1.238 MB / 394.7 MB Notification: Performance of matching and sorting (n=4): time 0.000176/0.6578, allocations: 45.64 kB / 497 MB, free: 1.188 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.6579, allocations: 59.39 kB / 497.1 MB, free: 1.117 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.628e-05/0.658, allocations: 87.84 kB / 497.2 MB, free: 1.027 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.658, allocations: 29.7 kB / 497.2 MB, free: 0.9922 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/0.6581, allocations: 84.05 kB / 497.3 MB, free: 0.9062 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.6581, allocations: 15.8 kB / 497.3 MB, free: 0.8906 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.6581, allocations: 0 / 497.3 MB, free: 0.8906 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.6582, allocations: 319 kB / 497.6 MB, free: 0.5703 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.258e-05/0.6583, allocations: 7.984 kB / 497.6 MB, free: 0.5625 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.806e-05/0.6583, allocations: 21.72 kB / 497.6 MB, free: 0.5352 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.521e-05/0.6584, allocations: 4 kB / 497.6 MB, free: 0.5312 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.6584, allocations: 0 / 497.6 MB, free: 0.5312 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001433/0.6586, allocations: 58.33 kB / 497.7 MB, free: 480 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.6586, allocations: 8 kB / 497.7 MB, free: 472 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.6586, allocations: 4.031 kB / 497.7 MB, free: 468 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.6586, allocations: 0 / 497.7 MB, free: 468 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.6588, allocations: 11.98 kB / 497.7 MB, free: 456 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.6588, allocations: 0 / 497.7 MB, free: 456 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.729e-05/0.6588, allocations: 7.938 kB / 497.7 MB, free: 448 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.6588, allocations: 4.125 kB / 497.7 MB, free: 444 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.777e-05/0.6589, allocations: 101 kB / 497.8 MB, free: 336 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.659, allocations: 3.953 kB / 497.8 MB, free: 332 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001622/0.6591, allocations: 65.12 kB / 497.9 MB, free: 252 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.6592, allocations: 4 kB / 497.9 MB, free: 248 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.6592, allocations: 4 kB / 497.9 MB, free: 244 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.6592, allocations: 96 / 497.9 MB, free: 244 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.6594, allocations: 161.6 kB / 498 MB, free: 32 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6594, allocations: 7.922 kB / 498.1 MB, free: 24 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.338e-05/0.6595, allocations: 11.98 kB / 498.1 MB, free: 12 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.6595, allocations: 3.953 kB / 498.1 MB, free: 8 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.6595, allocations: 0 / 498.1 MB, free: 8 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.6595, allocations: 3.984 kB / 498.1 MB, free: 4 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6596, allocations: 0 / 498.1 MB, free: 4 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.6598, allocations: 151.5 kB / 498.2 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-05/0.6598, allocations: 81.05 kB / 498.3 MB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.6599, allocations: 3.953 kB / 498.3 MB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.452e-05/0.6599, allocations: 0 / 498.3 MB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.66, allocations: 4 kB / 498.3 MB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.66, allocations: 7.938 kB / 498.3 MB, free: 15.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.215e-05/0.66, allocations: 83.27 kB / 498.4 MB, free: 15.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6601, allocations: 4.094 kB / 498.4 MB, free: 15.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002903/0.6604, allocations: 8 kB / 498.4 MB, free: 15.63 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.0005062/0.6609, allocations: 0.6774 MB / 499.1 MB, free: 14.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001152/0.661, allocations: 24.12 kB / 499.1 MB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.661, allocations: 0 / 499.1 MB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.423e-05/0.6611, allocations: 24.06 kB / 499.1 MB, free: 14.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.6613, allocations: 7.891 kB / 499.1 MB, free: 14.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000409/0.6617, allocations: 109.1 kB / 499.2 MB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.662, allocations: 0.6809 MB / 499.9 MB, free: 14.03 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.998e-05/0.6621, allocations: 3.984 kB / 499.9 MB, free: 14.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.124e-05/0.6621, allocations: 15.44 kB / 499.9 MB, free: 14.01 MB / 410.7 MB Notification: Performance of SimCode: time 7.11e-07/0.6621, allocations: 0 / 499.9 MB, free: 14.01 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/0.681, allocations: 1.049 MB / 0.4893 GB, free: 13.03 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003172/0.6814, allocations: 167.3 kB / 0.4894 GB, free: 12.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.382/3.064, allocations: 0 / 0.4894 GB, free: 12.8 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat does not exist to compare? outputFormat=mat