Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.344/4.344, allocations: 464.6 MB / 476.8 MB, free: 2.207 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.283e-05/4.29e-05, allocations: 4 kB / 0.5732 GB, free: 5.625 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2698, allocations: 107.2 MB / 0.6778 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9328/1.203, allocations: 133.3 MB / 0.808 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/1.203, allocations: 84.72 kB / 0.8081 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02766/1.231, allocations: 5.42 MB / 0.8134 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.124e-06/1.231, allocations: 0 / 0.8134 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.068e-05/1.231, allocations: 3.906 kB / 0.8134 GB, free: 12.02 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006701/1.231, allocations: 395.4 kB / 0.8138 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/1.231, allocations: 11.56 kB / 0.8138 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.369e-05/1.232, allocations: 39.14 kB / 0.8138 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005961/1.232, allocations: 66.75 kB / 0.8139 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/1.232, allocations: 173.8 kB / 0.8141 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.558e-05/1.232, allocations: 2.438 kB / 0.8141 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/1.232, allocations: 11.16 kB / 0.8141 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/1.233, allocations: 72.02 kB / 0.8142 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/1.233, allocations: 7.984 kB / 0.8142 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/1.233, allocations: 3.438 kB / 0.8142 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/1.233, allocations: 3.938 kB / 0.8142 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/1.233, allocations: 44.34 kB / 0.8142 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007291/1.234, allocations: 342.8 kB / 0.8145 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/1.234, allocations: 70.72 kB / 0.8146 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.986e-05/1.234, allocations: 24.2 kB / 0.8146 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/1.234, allocations: 3.828 kB / 0.8146 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/1.234, allocations: 37.73 kB / 0.8147 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 3.176e-06/1.234, allocations: 0 / 0.8147 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.02629/1.26, allocations: 2.104 MB / 0.8167 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/1.26, allocations: 51.41 kB / 0.8168 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.564e-05/1.26, allocations: 98.28 kB / 0.8169 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.917e-05/1.261, allocations: 28.83 kB / 0.8169 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.887e-05/1.261, allocations: 84.08 kB / 0.817 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.55e-05/1.261, allocations: 45.31 kB / 0.817 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.5e-05/1.261, allocations: 0 / 0.817 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.365e-05/1.261, allocations: 321.2 kB / 0.8173 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004069/1.261, allocations: 113.8 kB / 0.8174 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003996/1.262, allocations: 113 kB / 0.8175 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004568/1.262, allocations: 117.5 kB / 0.8177 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.262, allocations: 0 / 0.8177 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001227/1.263, allocations: 320 kB / 0.818 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/1.263, allocations: 7.688 kB / 0.818 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/1.263, allocations: 0 / 0.818 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/1.263, allocations: 7.953 kB / 0.818 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/1.265, allocations: 127.8 kB / 0.8181 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/1.265, allocations: 0 / 0.8181 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/1.266, allocations: 53.44 kB / 0.8182 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.231e-05/1.266, allocations: 24.81 kB / 0.8182 GB, free: 9.793 MB / 0.6355 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 (13): * Single equations (assignments): 13 * 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.0001764/1.267, allocations: 108.8 kB / 0.8183 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/1.267, allocations: 3.906 kB / 0.8183 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.129e-05/1.267, allocations: 16.72 kB / 0.8183 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/1.267, allocations: 3.953 kB / 0.8183 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.267, allocations: 0 / 0.8183 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.267, allocations: 4 kB / 0.8183 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/1.269, allocations: 0.8974 MB / 0.8192 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/1.269, allocations: 3.953 kB / 0.8192 GB, free: 9.109 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001635/1.271, allocations: 114.4 kB / 0.8193 GB, free: 9.105 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.337e-06/1.271, allocations: 3.906 kB / 0.8193 GB, free: 9.105 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.645e-05/1.271, allocations: 26.7 kB / 0.8193 GB, free: 9.105 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/1.271, allocations: 7.938 kB / 0.8193 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/1.271, allocations: 0 / 0.8193 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/1.273, allocations: 0.575 MB / 0.8199 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002218/1.273, allocations: 116.4 kB / 0.82 GB, free: 8.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/1.273, allocations: 2.812 kB / 0.82 GB, free: 8.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/1.274, allocations: 61.06 kB / 0.8201 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/1.274, allocations: 26.36 kB / 0.8201 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.265e-05/1.275, allocations: 30.34 kB / 0.8201 GB, free: 8.844 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.877e-05/1.275, allocations: 79.22 kB / 0.8202 GB, free: 8.77 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/1.275, allocations: 0 / 0.8202 GB, free: 8.77 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005967/1.275, allocations: 61.94 kB / 0.8203 GB, free: 8.762 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.002509/1.278, allocations: 1.129 MB / 0.8214 GB, free: 24.09 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001012/1.279, allocations: 268.5 kB / 0.8216 GB, free: 24.08 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.279, allocations: 0 / 0.8216 GB, free: 24.08 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004955/1.279, allocations: 148.2 kB / 0.8218 GB, free: 24.08 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/1.28, allocations: 6.594 kB / 0.8218 GB, free: 24.08 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007604/1.287, allocations: 0.7388 MB / 0.8225 GB, free: 23.89 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/1.288, allocations: 0.7009 MB / 0.8232 GB, free: 23.19 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001154/1.289, allocations: 90.42 kB / 0.8233 GB, free: 23.13 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004582/1.289, allocations: 69.7 kB / 0.8233 GB, free: 23.12 MB / 0.6511 GB Notification: Performance of SimCode: time 1.373e-06/1.289, allocations: 0 / 0.8233 GB, free: 23.12 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03012/1.32, allocations: 4.128 MB / 0.8273 GB, free: 21.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000243/1.32, allocations: 186.2 kB / 0.8275 GB, free: 21.04 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.684/4.004, allocations: 0 / 0.8275 GB, free: 21.04 MB / 0.6511 GB