Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.282/4.282, allocations: 464.6 MB / 476.8 MB, free: 2.184 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.464e-05/4.462e-05, allocations: 4 kB / 0.5732 GB, free: 5.605 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2689, allocations: 107.2 MB / 0.6778 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9708/1.24, allocations: 132.6 MB / 0.8073 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/1.24, allocations: 83.84 kB / 0.8074 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02477/1.265, allocations: 4.035 MB / 0.8113 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.874e-06/1.265, allocations: 0 / 0.8113 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.113e-06/1.265, allocations: 0 / 0.8113 GB, free: 12.04 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004823/1.266, allocations: 361 kB / 0.8117 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/1.266, allocations: 7.688 kB / 0.8117 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.868e-05/1.266, allocations: 34.31 kB / 0.8117 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005913/1.266, allocations: 63.47 kB / 0.8118 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.783e-05/1.266, allocations: 170.9 kB / 0.8119 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/1.266, allocations: 7.906 kB / 0.8119 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/1.266, allocations: 1.922 kB / 0.8119 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/1.267, allocations: 53.3 kB / 0.812 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/1.267, allocations: 0 / 0.812 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/1.267, allocations: 3.984 kB / 0.812 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/1.267, allocations: 0 / 0.812 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/1.267, allocations: 22.14 kB / 0.812 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001984/1.267, allocations: 165.6 kB / 0.8122 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003485/1.267, allocations: 66.91 kB / 0.8122 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.036e-05/1.267, allocations: 19.7 kB / 0.8122 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.106e-05/1.267, allocations: 3.844 kB / 0.8123 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/1.267, allocations: 34.25 kB / 0.8123 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.793e-06/1.268, allocations: 0 / 0.8123 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0006376/1.268, allocations: 282.7 kB / 0.8126 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/1.268, allocations: 51.41 kB / 0.8126 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.294e-05/1.268, allocations: 95.09 kB / 0.8127 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/1.268, allocations: 25.7 kB / 0.8127 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.757e-05/1.268, allocations: 80.14 kB / 0.8128 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/1.268, allocations: 23.03 kB / 0.8128 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.143e-05/1.268, allocations: 3.844 kB / 0.8128 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.37e-05/1.268, allocations: 316.4 kB / 0.8131 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.339e-05/1.269, allocations: 14.75 kB / 0.8131 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.603e-05/1.269, allocations: 11.31 kB / 0.8131 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.076e-05/1.269, allocations: 13.95 kB / 0.8132 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.269, allocations: 7.797 kB / 0.8132 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001837/1.269, allocations: 61.22 kB / 0.8132 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/1.269, allocations: 11.05 kB / 0.8132 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/1.269, allocations: 64 / 0.8132 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/1.269, allocations: 4 kB / 0.8132 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/1.269, allocations: 33.16 kB / 0.8133 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/1.269, allocations: 0 / 0.8133 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/1.269, allocations: 15.08 kB / 0.8133 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/1.269, allocations: 0 / 0.8133 GB, free: 10.2 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 (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 6.53e-05/1.27, allocations: 108.1 kB / 0.8134 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/1.27, allocations: 7.953 kB / 0.8134 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002953/1.27, allocations: 84.58 kB / 0.8135 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/1.27, allocations: 0 / 0.8135 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/1.27, allocations: 4 kB / 0.8135 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/1.27, allocations: 3.781 kB / 0.8135 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/1.27, allocations: 168.4 kB / 0.8136 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.27, allocations: 3.953 kB / 0.8136 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002737/1.27, allocations: 28.77 kB / 0.8137 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/1.27, allocations: 3.938 kB / 0.8137 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/1.27, allocations: 6.562 kB / 0.8137 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/1.27, allocations: 0 / 0.8137 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.27, allocations: 4 kB / 0.8137 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/1.271, allocations: 111.6 kB / 0.8138 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.898e-05/1.271, allocations: 91.39 kB / 0.8139 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/1.271, allocations: 2.906 kB / 0.8139 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/1.271, allocations: 14.3 kB / 0.8139 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/1.271, allocations: 10.69 kB / 0.8139 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/1.271, allocations: 7.438 kB / 0.8139 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.515e-05/1.271, allocations: 75.28 kB / 0.814 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/1.271, allocations: 0 / 0.814 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003569/1.272, allocations: 41.7 kB / 0.814 GB, free: 9.586 MB / 0.6355 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.0006291/1.272, allocations: 0.7095 MB / 0.8147 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001964/1.272, allocations: 36.53 kB / 0.8148 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.272, allocations: 3.938 kB / 0.8148 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.182e-05/1.273, allocations: 19.03 kB / 0.8148 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/1.273, allocations: 7.75 kB / 0.8148 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008008/1.274, allocations: 183.4 kB / 0.815 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005376/1.274, allocations: 0.6815 MB / 0.8156 GB, free: 24.12 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001852/1.274, allocations: 15.91 kB / 0.8156 GB, free: 24.12 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.329e-05/1.274, allocations: 17.72 kB / 0.8157 GB, free: 24.11 MB / 0.6511 GB Notification: Performance of SimCode: time 1.132e-06/1.274, allocations: 4 kB / 0.8157 GB, free: 24.11 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01966/1.294, allocations: 1.795 MB / 0.8174 GB, free: 23.86 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002481/1.294, allocations: 183.9 kB / 0.8176 GB, free: 23.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.475/3.77, allocations: 4 kB / 0.8176 GB, free: 23.62 MB / 0.6511 GB