Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildSysPro): time 3.196/3.196, allocations: 325.3 MB / 337.4 MB, free: 10.09 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.693e-05/4.713e-05, allocations: 10.11 kB / 414.9 MB, free: 6.016 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1714, allocations: 74.42 MB / 489.3 MB, free: 11.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6474/0.8189, allocations: 103.7 MB / 0.5791 GB, free: 11.65 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003302/0.8193, allocations: 81.58 kB / 0.5792 GB, free: 11.61 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02992/0.8492, allocations: 5.769 MB / 0.5848 GB, free: 6.691 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.8493, allocations: 0 / 0.5848 GB, free: 6.691 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.8493, allocations: 0 / 0.5848 GB, free: 6.691 MB / 474.7 MB 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.0007235/0.85, allocations: 393.6 kB / 0.5852 GB, free: 6.266 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.8501, allocations: 12.03 kB / 0.5852 GB, free: 6.254 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.563e-05/0.8502, allocations: 38.17 kB / 0.5852 GB, free: 6.211 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006048/0.8508, allocations: 67.88 kB / 0.5853 GB, free: 6.145 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.851, allocations: 170.9 kB / 0.5855 GB, free: 5.938 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.851, allocations: 7.125 kB / 0.5855 GB, free: 5.934 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.054e-05/0.851, allocations: 15.14 kB / 0.5855 GB, free: 5.922 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.8513, allocations: 87.97 kB / 0.5856 GB, free: 5.844 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.8513, allocations: 0 / 0.5856 GB, free: 5.844 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.8514, allocations: 0 / 0.5856 GB, free: 5.844 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.8514, allocations: 4 kB / 0.5856 GB, free: 5.84 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.8515, allocations: 39.48 kB / 0.5856 GB, free: 5.812 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008358/0.8524, allocations: 343.6 kB / 0.5859 GB, free: 5.449 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.8526, allocations: 70.06 kB / 0.586 GB, free: 5.387 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.47e-05/0.8527, allocations: 24.36 kB / 0.586 GB, free: 5.367 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.8528, allocations: 160 / 0.586 GB, free: 5.367 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.8528, allocations: 30.56 kB / 0.586 GB, free: 5.328 MB / 474.7 MB Notification: Performance of pre-optimization done (n=7): time 1.492e-06/0.8528, allocations: 4 kB / 0.5861 GB, free: 5.324 MB / 474.7 MB Notification: Performance of matching and sorting (n=11): time 0.0265/0.8793, allocations: 2.106 MB / 0.5881 GB, free: 3.324 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.8794, allocations: 51.41 kB / 0.5882 GB, free: 3.262 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.647e-05/0.8795, allocations: 96.42 kB / 0.5883 GB, free: 3.164 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.808e-05/0.8796, allocations: 25.7 kB / 0.5883 GB, free: 3.133 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.034e-05/0.8797, allocations: 99.8 kB / 0.5884 GB, free: 3.035 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.8798, allocations: 38.81 kB / 0.5884 GB, free: 3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.02e-05/0.8799, allocations: 3.625 kB / 0.5884 GB, free: 3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.8801, allocations: 314.8 kB / 0.5887 GB, free: 2.684 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004388/0.8805, allocations: 114.2 kB / 0.5888 GB, free: 2.609 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004879/0.881, allocations: 112.9 kB / 0.5889 GB, free: 2.535 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000468/0.8815, allocations: 120.8 kB / 0.589 GB, free: 2.453 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.8815, allocations: 0 / 0.589 GB, free: 2.453 MB / 474.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001629/0.8832, allocations: 323.7 kB / 0.5894 GB, free: 2.203 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.8832, allocations: 10.03 kB / 0.5894 GB, free: 2.195 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.8833, allocations: 96 / 0.5894 GB, free: 2.195 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.8833, allocations: 7.891 kB / 0.5894 GB, free: 2.188 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00247/0.8858, allocations: 119.8 kB / 0.5895 GB, free: 2.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.8858, allocations: 0 / 0.5895 GB, free: 2.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/0.8876, allocations: 59.25 kB / 0.5895 GB, free: 2.016 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/0.8878, allocations: 27.92 kB / 0.5896 GB, free: 1.988 MB / 474.7 MB 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.0002882/0.8881, allocations: 107.7 kB / 0.5897 GB, free: 1.879 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.8883, allocations: 6.75 kB / 0.5897 GB, free: 1.875 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.959e-05/0.8884, allocations: 7.406 kB / 0.5897 GB, free: 1.871 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.8884, allocations: 4 kB / 0.5897 GB, free: 1.867 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.8884, allocations: 7.953 kB / 0.5897 GB, free: 1.859 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.8884, allocations: 0 / 0.5897 GB, free: 1.859 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003144/0.8916, allocations: 0.8846 MB / 0.5906 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.8916, allocations: 0 / 0.5906 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002217/0.8939, allocations: 127.7 kB / 0.5907 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.31e-05/0.8939, allocations: 4 kB / 0.5907 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/0.894, allocations: 19.94 kB / 0.5907 GB, free: 0.832 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.8941, allocations: 0 / 0.5907 GB, free: 0.832 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.8941, allocations: 4 kB / 0.5907 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002717/0.8968, allocations: 0.5665 MB / 0.5913 GB, free: 396 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003339/0.8972, allocations: 119.9 kB / 0.5914 GB, free: 260 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.8973, allocations: 7.266 kB / 0.5914 GB, free: 256 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001834/0.8992, allocations: 60 kB / 0.5914 GB, free: 196 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001978/0.8994, allocations: 23.92 kB / 0.5915 GB, free: 172 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001359/0.8996, allocations: 27.5 kB / 0.5915 GB, free: 148 kB / 474.7 MB Notification: Performance of sorting global known variables: time 7.644e-05/0.8996, allocations: 87.44 kB / 0.5916 GB, free: 60 kB / 474.7 MB Notification: Performance of sort global known variables: time 1.008e-05/0.8997, allocations: 0 / 0.5916 GB, free: 60 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009288/0.9006, allocations: 67.36 kB / 0.5916 GB, free: 15.99 MB / 490.7 MB 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.003359/0.904, allocations: 1.129 MB / 0.5927 GB, free: 14.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001507/0.9055, allocations: 263.7 kB / 0.593 GB, free: 14.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.9056, allocations: 0 / 0.593 GB, free: 14.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007854/0.9064, allocations: 144.8 kB / 0.5931 GB, free: 14.69 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.9068, allocations: 15.95 kB / 0.5931 GB, free: 14.68 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009625/0.9165, allocations: 0.7383 MB / 0.5939 GB, free: 13.95 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.9169, allocations: 0.7004 MB / 0.5945 GB, free: 13.22 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00119/0.9181, allocations: 88.61 kB / 0.5946 GB, free: 13.14 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004628/0.9186, allocations: 64.23 kB / 0.5947 GB, free: 13.08 MB / 490.7 MB Notification: Performance of SimCode: time 1.233e-06/0.9186, allocations: 0 / 0.5947 GB, free: 13.08 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02708/0.9457, allocations: 4.149 MB / 0.5987 GB, free: 9.02 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002582/0.946, allocations: 186.6 kB / 0.5989 GB, free: 8.789 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.954/3.9, allocations: 4 kB / 0.5989 GB, free: 8.785 MB / 490.7 MB