Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.931/4.931, allocations: 404.1 MB / 411.3 MB, free: 292 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.029e-05/3.039e-05, allocations: 4 kB / 0.4945 GB, free: 1.223 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7329/0.7329, allocations: 92.69 MB / 0.5851 GB, free: 2.285 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2812/1.014, allocations: 121 MB / 0.7032 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003433/1.015, allocations: 79.95 kB / 0.7033 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.03613/1.051, allocations: 5.367 MB / 0.7085 GB, free: 3.672 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.883e-06/1.051, allocations: 0 / 0.7085 GB, free: 3.672 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.241e-05/1.051, allocations: 4 kB / 0.7086 GB, free: 3.668 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008252/1.052, allocations: 394.3 kB / 0.7089 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.819e-05/1.052, allocations: 12.02 kB / 0.7089 GB, free: 3.227 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007938/1.053, allocations: 71.8 kB / 0.709 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/1.053, allocations: 167 kB / 0.7092 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.966e-05/1.053, allocations: 7.938 kB / 0.7092 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.885e-05/1.053, allocations: 4 kB / 0.7092 GB, free: 2.941 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002025/1.053, allocations: 36 kB / 0.7092 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/1.053, allocations: 73.66 kB / 0.7093 GB, free: 2.828 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/1.053, allocations: 3.906 kB / 0.7093 GB, free: 2.824 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/1.053, allocations: 0 / 0.7093 GB, free: 2.824 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/1.053, allocations: 7.938 kB / 0.7093 GB, free: 2.816 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009562/1.054, allocations: 313.2 kB / 0.7096 GB, free: 2.473 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/1.055, allocations: 66.56 kB / 0.7097 GB, free: 2.398 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.319e-05/1.055, allocations: 24.84 kB / 0.7097 GB, free: 2.371 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/1.055, allocations: 3.953 kB / 0.7097 GB, free: 2.367 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/1.055, allocations: 34.56 kB / 0.7097 GB, free: 2.324 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 2.445e-06/1.055, allocations: 0 / 0.7097 GB, free: 2.324 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.01464/1.069, allocations: 1.863 MB / 0.7115 GB, free: 340 kB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/1.07, allocations: 63.34 kB / 0.7116 GB, free: 264 kB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.52e-05/1.07, allocations: 89 kB / 0.7117 GB, free: 168 kB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.197e-05/1.07, allocations: 25.7 kB / 0.7117 GB, free: 136 kB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.294e-05/1.07, allocations: 88.08 kB / 0.7118 GB, free: 44 kB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.393e-05/1.07, allocations: 43.3 kB / 0.7118 GB, free: 0 / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/1.07, allocations: 0 / 0.7118 GB, free: 0 / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001616/1.07, allocations: 322.8 kB / 0.7121 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/1.07, allocations: 36 kB / 0.7122 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/1.07, allocations: 35.98 kB / 0.7122 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/1.071, allocations: 39.98 kB / 0.7122 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.071, allocations: 0 / 0.7122 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005384/1.071, allocations: 125.6 kB / 0.7124 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/1.071, allocations: 4 kB / 0.7124 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/1.071, allocations: 0 / 0.7124 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/1.071, allocations: 0 / 0.7124 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009821/1.072, allocations: 91.86 kB / 0.7125 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/1.072, allocations: 0 / 0.7125 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006912/1.073, allocations: 55.94 kB / 0.7125 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.306e-05/1.073, allocations: 4 kB / 0.7125 GB, free: 15.29 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 (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.0001397/1.073, allocations: 105 kB / 0.7126 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005342/1.074, allocations: 125.6 kB / 0.7127 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.561e-05/1.074, allocations: 7.938 kB / 0.7127 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.498e-05/1.074, allocations: 16.33 kB / 0.7128 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/1.074, allocations: 4 kB / 0.7128 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.074, allocations: 4 kB / 0.7128 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.074, allocations: 0 / 0.7128 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/1.075, allocations: 406.8 kB / 0.7132 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/1.075, allocations: 0 / 0.7132 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009908/1.076, allocations: 80.02 kB / 0.7132 GB, free: 14.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.375e-06/1.076, allocations: 7.938 kB / 0.7132 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.312e-05/1.076, allocations: 11.92 kB / 0.7132 GB, free: 14.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/1.076, allocations: 0 / 0.7132 GB, free: 14.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.106e-06/1.076, allocations: 4 kB / 0.7133 GB, free: 14.47 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008499/1.077, allocations: 283.4 kB / 0.7135 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/1.077, allocations: 97.02 kB / 0.7136 GB, free: 14.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.274e-05/1.077, allocations: 0 / 0.7136 GB, free: 14.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008048/1.078, allocations: 52.02 kB / 0.7137 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.103e-05/1.078, allocations: 11.98 kB / 0.7137 GB, free: 14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.621e-05/1.078, allocations: 15.98 kB / 0.7137 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.371e-05/1.078, allocations: 75.28 kB / 0.7138 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.41e-07/1.078, allocations: 0 / 0.7138 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007493/1.079, allocations: 119.8 kB / 0.7139 GB, free: 13.79 MB / 0.6042 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.001818/1.081, allocations: 0.9228 MB / 0.7148 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004705/1.081, allocations: 96.3 kB / 0.7149 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.081, allocations: 0 / 0.7149 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002247/1.082, allocations: 55.92 kB / 0.7149 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/1.082, allocations: 5.312 kB / 0.7149 GB, free: 12.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004369/1.086, allocations: 0.5172 MB / 0.7154 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/1.087, allocations: 0.704 MB / 0.7161 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007104/1.088, allocations: 60.67 kB / 0.7162 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002394/1.088, allocations: 31.41 kB / 0.7162 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of SimCode: time 1.303e-06/1.088, allocations: 0 / 0.7162 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05251/1.14, allocations: 2.926 MB / 0.7191 GB, free: 8.453 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003952/1.141, allocations: 165.1 kB / 0.7192 GB, free: 8.262 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.972/4.113, allocations: 0 / 0.7192 GB, free: 8.262 MB / 0.6042 GB