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={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.951/4.951, allocations: 404.2 MB / 411.3 MB, free: 428 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.828e-05/3.872e-05, allocations: 4 kB / 0.4945 GB, free: 1.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7174/0.7175, allocations: 92.69 MB / 0.5851 GB, free: 2.375 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.279/0.9965, allocations: 120.2 MB / 0.7025 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004565/0.997, allocations: 79.94 kB / 0.7026 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.03081/1.028, allocations: 3.982 MB / 0.7064 GB, free: 5.926 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.974e-06/1.028, allocations: 0 / 0.7064 GB, free: 5.926 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.716e-06/1.028, allocations: 0 / 0.7064 GB, free: 5.926 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.0006941/1.029, allocations: 366.4 kB / 0.7068 GB, free: 5.523 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/1.029, allocations: 8.031 kB / 0.7068 GB, free: 5.516 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008253/1.03, allocations: 67.88 kB / 0.7069 GB, free: 5.449 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/1.03, allocations: 163.1 kB / 0.707 GB, free: 5.25 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.307e-05/1.03, allocations: 4 kB / 0.707 GB, free: 5.246 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/1.03, allocations: 0 / 0.707 GB, free: 5.246 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001413/1.03, allocations: 19.98 kB / 0.707 GB, free: 5.227 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/1.03, allocations: 49.67 kB / 0.7071 GB, free: 5.172 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/1.03, allocations: 3.938 kB / 0.7071 GB, free: 5.168 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/1.03, allocations: 0 / 0.7071 GB, free: 5.168 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/1.03, allocations: 3.953 kB / 0.7071 GB, free: 5.164 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002624/1.031, allocations: 154 kB / 0.7072 GB, free: 4.977 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003972/1.031, allocations: 54.67 kB / 0.7073 GB, free: 4.914 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.61e-05/1.031, allocations: 16.86 kB / 0.7073 GB, free: 4.895 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.634e-05/1.031, allocations: 11.98 kB / 0.7073 GB, free: 4.883 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/1.031, allocations: 34.55 kB / 0.7074 GB, free: 4.84 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 2.304e-06/1.031, allocations: 0 / 0.7074 GB, free: 4.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.002106/1.033, allocations: 386.3 kB / 0.7077 GB, free: 4.41 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/1.033, allocations: 51.41 kB / 0.7078 GB, free: 4.348 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.4e-05/1.033, allocations: 92.98 kB / 0.7079 GB, free: 4.25 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/1.034, allocations: 29.64 kB / 0.7079 GB, free: 4.215 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.914e-05/1.034, allocations: 80.14 kB / 0.708 GB, free: 4.133 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.425e-05/1.034, allocations: 15.72 kB / 0.708 GB, free: 4.117 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.512e-05/1.034, allocations: 0 / 0.708 GB, free: 4.117 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001339/1.034, allocations: 318.9 kB / 0.7083 GB, free: 3.797 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.002e-05/1.034, allocations: 16 kB / 0.7083 GB, free: 3.781 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.689e-05/1.034, allocations: 15.98 kB / 0.7083 GB, free: 3.766 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004686/1.034, allocations: 43.95 kB / 0.7084 GB, free: 3.723 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.034, allocations: 3.938 kB / 0.7084 GB, free: 3.719 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006364/1.035, allocations: 105.6 kB / 0.7085 GB, free: 3.609 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/1.035, allocations: 8 kB / 0.7085 GB, free: 3.602 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/1.035, allocations: 0 / 0.7085 GB, free: 3.602 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/1.035, allocations: 0 / 0.7085 GB, free: 3.602 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/1.036, allocations: 27.97 kB / 0.7085 GB, free: 3.574 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/1.036, allocations: 0 / 0.7085 GB, free: 3.574 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/1.036, allocations: 20.23 kB / 0.7085 GB, free: 3.555 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/1.036, allocations: 0 / 0.7085 GB, free: 3.555 MB / 0.5886 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.0001087/1.036, allocations: 104.9 kB / 0.7086 GB, free: 3.445 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006459/1.037, allocations: 105.6 kB / 0.7087 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/1.037, allocations: 11.89 kB / 0.7087 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007663/1.037, allocations: 113.8 kB / 0.7088 GB, free: 3.207 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/1.038, allocations: 4 kB / 0.7088 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/1.038, allocations: 0 / 0.7088 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/1.038, allocations: 0 / 0.7088 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/1.038, allocations: 158 kB / 0.709 GB, free: 3.012 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/1.038, allocations: 0 / 0.709 GB, free: 3.012 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003699/1.038, allocations: 27.98 kB / 0.709 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/1.038, allocations: 0 / 0.709 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/1.038, allocations: 3.984 kB / 0.709 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/1.038, allocations: 3.938 kB / 0.709 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.038, allocations: 0 / 0.709 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007652/1.039, allocations: 153 kB / 0.7092 GB, free: 2.809 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/1.039, allocations: 89.03 kB / 0.7093 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/1.039, allocations: 0 / 0.7093 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/1.04, allocations: 15.98 kB / 0.7093 GB, free: 2.688 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/1.04, allocations: 4 kB / 0.7093 GB, free: 2.684 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/1.04, allocations: 3.984 kB / 0.7093 GB, free: 2.68 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.017e-05/1.04, allocations: 91.28 kB / 0.7094 GB, free: 2.59 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.81e-07/1.04, allocations: 0 / 0.7094 GB, free: 2.59 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004281/1.04, allocations: 31.94 kB / 0.7094 GB, free: 2.559 MB / 0.5886 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.001315/1.041, allocations: 0.7412 MB / 0.7101 GB, free: 1.789 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000196/1.042, allocations: 32 kB / 0.7102 GB, free: 1.758 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.042, allocations: 0 / 0.7102 GB, free: 1.758 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.332e-05/1.042, allocations: 19.94 kB / 0.7102 GB, free: 1.738 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/1.042, allocations: 4 kB / 0.7102 GB, free: 1.734 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/1.043, allocations: 180 kB / 0.7103 GB, free: 1.52 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/1.043, allocations: 0.6807 MB / 0.711 GB, free: 0.8125 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002458/1.044, allocations: 16 kB / 0.711 GB, free: 0.7969 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/1.044, allocations: 23.42 kB / 0.711 GB, free: 0.7734 MB / 0.5886 GB Notification: Performance of SimCode: time 2.976e-06/1.044, allocations: 0 / 0.711 GB, free: 0.7734 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05352/1.097, allocations: 1.484 MB / 0.7125 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003243/1.098, allocations: 174 kB / 0.7127 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.136/4.234, allocations: 3.938 kB / 0.7127 GB, free: 15.09 MB / 0.6042 GB