Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.078/4.078, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.957e-05/5.997e-05, allocations: 4 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6702/0.6703, allocations: 92.68 MB / 0.5896 GB, free: 14.47 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2643/0.9347, allocations: 120.9 MB / 0.7077 GB, free: 5.414 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/0.9351, allocations: 83.94 kB / 0.7078 GB, free: 5.332 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02133/0.9564, allocations: 3.986 MB / 0.7117 GB, free: 1.34 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.482e-06/0.9565, allocations: 4 kB / 0.7117 GB, free: 1.336 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.9565, allocations: 0 / 0.7117 GB, free: 1.336 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006231/0.9571, allocations: 362.4 kB / 0.712 GB, free: 0.9375 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.9572, allocations: 8.031 kB / 0.712 GB, free: 0.9297 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.007e-05/0.9573, allocations: 30.56 kB / 0.7121 GB, free: 0.8906 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006263/0.9579, allocations: 71.88 kB / 0.7121 GB, free: 0.8203 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.958, allocations: 159.1 kB / 0.7123 GB, free: 0.625 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.9581, allocations: 0 / 0.7123 GB, free: 0.625 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.9581, allocations: 19.94 kB / 0.7123 GB, free: 0.6055 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.9583, allocations: 49.66 kB / 0.7123 GB, free: 0.5508 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.9583, allocations: 0 / 0.7123 GB, free: 0.5508 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.9584, allocations: 4 kB / 0.7124 GB, free: 0.5469 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.9584, allocations: 0 / 0.7124 GB, free: 0.5469 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.9585, allocations: 19.95 kB / 0.7124 GB, free: 0.5273 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002499/0.9588, allocations: 177.4 kB / 0.7125 GB, free: 312 kB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003686/0.9592, allocations: 62.61 kB / 0.7126 GB, free: 240 kB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.976e-05/0.9593, allocations: 20.86 kB / 0.7126 GB, free: 216 kB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.055e-05/0.9593, allocations: 8 kB / 0.7126 GB, free: 208 kB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.9594, allocations: 34.64 kB / 0.7127 GB, free: 164 kB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 2.334e-06/0.9594, allocations: 0 / 0.7127 GB, free: 164 kB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.0009667/0.9604, allocations: 274.5 kB / 0.7129 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.9605, allocations: 55.41 kB / 0.713 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.628e-05/0.9606, allocations: 100.9 kB / 0.7131 GB, free: 15.67 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.9606, allocations: 25.7 kB / 0.7131 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.826e-05/0.9607, allocations: 80.14 kB / 0.7132 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.857e-05/0.9608, allocations: 19.72 kB / 0.7132 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.386e-05/0.9608, allocations: 0 / 0.7132 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.961, allocations: 314.8 kB / 0.7135 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.208e-05/0.9611, allocations: 12 kB / 0.7135 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.995e-05/0.9612, allocations: 20.12 kB / 0.7135 GB, free: 15.19 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.717e-05/0.9613, allocations: 12 kB / 0.7135 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.9613, allocations: 0 / 0.7135 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003059/0.9616, allocations: 65.67 kB / 0.7136 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.9617, allocations: 4 kB / 0.7136 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.9617, allocations: 7.969 kB / 0.7136 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.9617, allocations: 4 kB / 0.7136 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003495/0.9621, allocations: 19.98 kB / 0.7136 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.9621, allocations: 8 kB / 0.7136 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.9623, allocations: 11.98 kB / 0.7136 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/0.9624, allocations: 11.95 kB / 0.7137 GB, free: 15.04 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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 0.000114/0.9625, allocations: 101 kB / 0.7138 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.259e-05/0.9626, allocations: 7.984 kB / 0.7138 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004409/0.963, allocations: 89.16 kB / 0.7138 GB, free: 14.83 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.963, allocations: 4 kB / 0.7139 GB, free: 14.83 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.9631, allocations: 320 / 0.7139 GB, free: 14.83 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.9631, allocations: 0 / 0.7139 GB, free: 14.83 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.9634, allocations: 177.5 kB / 0.714 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.9634, allocations: 4 kB / 0.714 GB, free: 14.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003689/0.9638, allocations: 23.98 kB / 0.714 GB, free: 14.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.9638, allocations: 0 / 0.714 GB, free: 14.58 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.9638, allocations: 7.984 kB / 0.7141 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.9638, allocations: 3.938 kB / 0.7141 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.9639, allocations: 0 / 0.7141 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000458/0.9643, allocations: 124.9 kB / 0.7142 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.9645, allocations: 85.12 kB / 0.7143 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.9645, allocations: 0 / 0.7143 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.9648, allocations: 27.91 kB / 0.7143 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.9649, allocations: 0 / 0.7143 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.9649, allocations: 8.062 kB / 0.7143 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.721e-05/0.965, allocations: 75.28 kB / 0.7144 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.81e-07/0.965, allocations: 0 / 0.7144 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005586/0.9656, allocations: 47.92 kB / 0.7144 GB, free: 14.17 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.001071/0.9666, allocations: 0.702 MB / 0.7151 GB, free: 13.44 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002653/0.9669, allocations: 32 kB / 0.7151 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.967, allocations: 4 kB / 0.7151 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.9671, allocations: 23.94 kB / 0.7152 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.9673, allocations: 7.984 kB / 0.7152 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.9692, allocations: 180.4 kB / 0.7153 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000819/0.9702, allocations: 0.6809 MB / 0.716 GB, free: 12.45 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002883/0.9705, allocations: 12.25 kB / 0.716 GB, free: 12.44 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.9706, allocations: 23.42 kB / 0.716 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of SimCode: time 1.583e-06/0.9706, allocations: 0 / 0.716 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07354/1.044, allocations: 1.812 MB / 0.7178 GB, free: 10.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002568/1.045, allocations: 178.9 kB / 0.718 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.266/3.311, allocations: 4 kB / 0.718 GB, free: 10.45 MB / 0.6042 GB