Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.559/3.559, allocations: 343.8 MB / 355.9 MB, free: 9.379 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.429e-05/4.434e-05, allocations: 8 kB / 436.7 MB, free: 2.348 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2072, allocations: 77.74 MB / 0.5023 GB, free: 4.457 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7153/0.9225, allocations: 107.1 MB / 0.6069 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003468/0.923, allocations: 83.89 kB / 0.607 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.0299/0.9529, allocations: 5.414 MB / 0.6123 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.744e-06/0.9529, allocations: 4 kB / 0.6123 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.621e-05/0.953, allocations: 4 kB / 0.6123 GB, free: 8.27 MB / 0.4948 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.0007413/0.9537, allocations: 390.3 kB / 0.6127 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.9538, allocations: 15.95 kB / 0.6127 GB, free: 7.828 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.111e-05/0.9538, allocations: 34.55 kB / 0.6127 GB, free: 7.785 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006628/0.9545, allocations: 67.84 kB / 0.6128 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.9547, allocations: 182.9 kB / 0.613 GB, free: 7.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/0.9547, allocations: 4 kB / 0.613 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.9548, allocations: 12 kB / 0.613 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.955, allocations: 70.19 kB / 0.6131 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.955, allocations: 0 / 0.6131 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.9551, allocations: 4 kB / 0.6131 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.9551, allocations: 0 / 0.6131 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.9553, allocations: 43.92 kB / 0.6131 GB, free: 7.363 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008799/0.9562, allocations: 348.6 kB / 0.6134 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.9564, allocations: 66.56 kB / 0.6135 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.741e-05/0.9565, allocations: 20.86 kB / 0.6135 GB, free: 6.875 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.9566, allocations: 0 / 0.6135 GB, free: 6.875 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/0.9566, allocations: 54.39 kB / 0.6136 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.923e-06/0.9566, allocations: 0 / 0.6136 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.02677/0.9834, allocations: 2.097 MB / 0.6156 GB, free: 4.621 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.9835, allocations: 51.41 kB / 0.6157 GB, free: 4.559 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.9836, allocations: 105 kB / 0.6158 GB, free: 4.449 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.469e-05/0.9837, allocations: 25.7 kB / 0.6158 GB, free: 4.418 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.943e-05/0.9838, allocations: 92.02 kB / 0.6159 GB, free: 4.324 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.9839, allocations: 39.36 kB / 0.6159 GB, free: 4.285 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.096e-05/0.984, allocations: 4 kB / 0.6159 GB, free: 4.281 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.9842, allocations: 318.8 kB / 0.6162 GB, free: 3.961 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004445/0.9846, allocations: 111.9 kB / 0.6163 GB, free: 3.852 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004415/0.9851, allocations: 111.9 kB / 0.6164 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004975/0.9856, allocations: 112 kB / 0.6165 GB, free: 3.633 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.9856, allocations: 4 kB / 0.6165 GB, free: 3.629 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001315/0.9869, allocations: 325.3 kB / 0.6169 GB, free: 3.305 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.987, allocations: 11.94 kB / 0.6169 GB, free: 3.293 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.987, allocations: 0 / 0.6169 GB, free: 3.293 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.987, allocations: 0 / 0.6169 GB, free: 3.293 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/0.9887, allocations: 127.7 kB / 0.617 GB, free: 3.168 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.9887, allocations: 0.7031 kB / 0.617 GB, free: 3.168 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.99, allocations: 55.94 kB / 0.617 GB, free: 3.113 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.9901, allocations: 23.94 kB / 0.6171 GB, free: 3.09 MB / 0.4948 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.0002103/0.9903, allocations: 109 kB / 0.6172 GB, free: 2.977 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.9905, allocations: 11.86 kB / 0.6172 GB, free: 2.965 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.071e-05/0.9905, allocations: 12.09 kB / 0.6172 GB, free: 2.945 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.9905, allocations: 4.188 kB / 0.6172 GB, free: 2.941 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.9906, allocations: 0 / 0.6172 GB, free: 2.941 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.9906, allocations: 7.969 kB / 0.6172 GB, free: 2.934 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/0.993, allocations: 0.9011 MB / 0.6181 GB, free: 1.926 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.993, allocations: 0 / 0.6181 GB, free: 1.926 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001715/0.9947, allocations: 115.8 kB / 0.6182 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/0.9948, allocations: 0 / 0.6182 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.525e-05/0.9949, allocations: 23.94 kB / 0.6182 GB, free: 1.789 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.9949, allocations: 4.094 kB / 0.6182 GB, free: 1.785 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.9949, allocations: 7.938 kB / 0.6182 GB, free: 1.777 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002012/0.9969, allocations: 0.5658 MB / 0.6188 GB, free: 1.195 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002581/0.9972, allocations: 113 kB / 0.6189 GB, free: 1.066 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.9973, allocations: 4 kB / 0.6189 GB, free: 1.062 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/0.9987, allocations: 60 kB / 0.6189 GB, free: 1.004 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.9989, allocations: 31.86 kB / 0.619 GB, free: 0.9727 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.999, allocations: 23.92 kB / 0.619 GB, free: 0.9492 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.207e-05/0.9991, allocations: 87.28 kB / 0.6191 GB, free: 0.8633 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9991, allocations: 0 / 0.6191 GB, free: 0.8633 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005969/0.9997, allocations: 55.94 kB / 0.6191 GB, free: 0.8086 MB / 0.4948 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.002497/1.002, allocations: 1.122 MB / 0.6202 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001069/1.003, allocations: 271.7 kB / 0.6205 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/1.003, allocations: 4.062 kB / 0.6205 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000552/1.004, allocations: 151.8 kB / 0.6206 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/1.004, allocations: 0.6562 kB / 0.6206 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00786/1.012, allocations: 0.7442 MB / 0.6214 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/1.013, allocations: 0.6965 MB / 0.622 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001176/1.014, allocations: 88.67 kB / 0.6221 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005108/1.014, allocations: 63.3 kB / 0.6222 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of SimCode: time 1.273e-06/1.014, allocations: 0 / 0.6222 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02998/1.044, allocations: 4.133 MB / 0.6262 GB, free: 9.535 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003353/1.045, allocations: 192.2 kB / 0.6264 GB, free: 9.305 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.809/3.853, allocations: 11.94 kB / 0.6264 GB, free: 9.293 MB / 0.5105 GB