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.023/4.023, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.652e-05/4.673e-05, allocations: 8 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6419/0.642, allocations: 92.69 MB / 0.5897 GB, free: 14.37 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2843/0.9264, allocations: 120.9 MB / 0.7077 GB, free: 5.312 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/0.9267, allocations: 83.94 kB / 0.7078 GB, free: 5.23 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.0217/0.9484, allocations: 4.005 MB / 0.7117 GB, free: 1.219 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9485, allocations: 0 / 0.7117 GB, free: 1.219 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.367e-06/0.9485, allocations: 0 / 0.7117 GB, free: 1.219 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.0005913/0.9491, allocations: 358.4 kB / 0.7121 GB, free: 0.8242 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.9492, allocations: 12.03 kB / 0.7121 GB, free: 0.8125 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.455e-05/0.9493, allocations: 38.48 kB / 0.7121 GB, free: 0.7656 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006318/0.9499, allocations: 67.89 kB / 0.7122 GB, free: 0.6992 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.9501, allocations: 163.1 kB / 0.7123 GB, free: 0.5 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.9501, allocations: 4 kB / 0.7123 GB, free: 0.4961 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.166e-05/0.9502, allocations: 3.984 kB / 0.7123 GB, free: 0.4922 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.9504, allocations: 49.67 kB / 0.7124 GB, free: 448 kB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.9504, allocations: 0 / 0.7124 GB, free: 448 kB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.9504, allocations: 0 / 0.7124 GB, free: 448 kB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.9504, allocations: 0 / 0.7124 GB, free: 448 kB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.9506, allocations: 27.94 kB / 0.7124 GB, free: 420 kB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002542/0.9508, allocations: 173.5 kB / 0.7126 GB, free: 196 kB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003651/0.9512, allocations: 54.61 kB / 0.7126 GB, free: 132 kB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.529e-05/0.9513, allocations: 24.94 kB / 0.7126 GB, free: 104 kB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.147e-05/0.9514, allocations: 4 kB / 0.7127 GB, free: 100 kB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.9514, allocations: 30.56 kB / 0.7127 GB, free: 60 kB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.9514, allocations: 0 / 0.7127 GB, free: 60 kB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.0007721/0.9522, allocations: 278.4 kB / 0.7129 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.9523, allocations: 55.41 kB / 0.713 GB, free: 15.67 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.858e-05/0.9524, allocations: 92.95 kB / 0.7131 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.9524, allocations: 29.64 kB / 0.7131 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.142e-05/0.9525, allocations: 80.14 kB / 0.7132 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.9525, allocations: 27.69 kB / 0.7132 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/0.9526, allocations: 4.125 kB / 0.7132 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.9527, allocations: 310.8 kB / 0.7135 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.839e-05/0.9528, allocations: 16 kB / 0.7135 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.103e-05/0.9529, allocations: 12 kB / 0.7135 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.572e-05/0.9529, allocations: 15.98 kB / 0.7136 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.9529, allocations: 0 / 0.7136 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002178/0.9532, allocations: 65.62 kB / 0.7136 GB, free: 15 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.9532, allocations: 11.94 kB / 0.7136 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.9532, allocations: 0 / 0.7136 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.9532, allocations: 0 / 0.7136 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/0.9535, allocations: 27.98 kB / 0.7137 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.9536, allocations: 0 / 0.7137 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.9538, allocations: 15.98 kB / 0.7137 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.9538, allocations: 12.19 kB / 0.7137 GB, free: 14.93 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.0001005/0.9539, allocations: 105 kB / 0.7138 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/0.9539, allocations: 4 kB / 0.7138 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003648/0.9543, allocations: 97.34 kB / 0.7139 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.9543, allocations: 0 / 0.7139 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.475e-06/0.9544, allocations: 3.984 kB / 0.7139 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.9544, allocations: 0 / 0.7139 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.9546, allocations: 169.5 kB / 0.7141 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.9546, allocations: 0 / 0.7141 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002914/0.9549, allocations: 31.97 kB / 0.7141 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.9549, allocations: 4 kB / 0.7141 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.955, allocations: 4 kB / 0.7141 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.955, allocations: 0 / 0.7141 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.955, allocations: 0 / 0.7141 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.9554, allocations: 121 kB / 0.7142 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.9555, allocations: 85.12 kB / 0.7143 GB, free: 14.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.9555, allocations: 0 / 0.7143 GB, free: 14.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.9557, allocations: 20.05 kB / 0.7143 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.9558, allocations: 15.88 kB / 0.7143 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.9558, allocations: 0 / 0.7143 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.384e-05/0.9559, allocations: 83.27 kB / 0.7144 GB, free: 14.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.61e-07/0.9559, allocations: 0 / 0.7144 GB, free: 14.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003664/0.9563, allocations: 39.94 kB / 0.7144 GB, free: 14.06 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.000858/0.9571, allocations: 0.6988 MB / 0.7151 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002057/0.9574, allocations: 39.94 kB / 0.7152 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.9574, allocations: 0 / 0.7152 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.98e-05/0.9575, allocations: 19.98 kB / 0.7152 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.9576, allocations: 9.875 kB / 0.7152 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009294/0.9586, allocations: 186.9 kB / 0.7154 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.9589, allocations: 0.6809 MB / 0.716 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001971/0.9591, allocations: 20.23 kB / 0.716 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.385e-05/0.9592, allocations: 23.38 kB / 0.7161 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of SimCode: time 1.012e-06/0.9592, allocations: 0 / 0.7161 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02435/0.9836, allocations: 1.804 MB / 0.7178 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003617/0.984, allocations: 171.2 kB / 0.718 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.355/3.339, allocations: 0 / 0.718 GB, free: 10.34 MB / 0.6042 GB