Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.3/4.3, allocations: 432.7 MB / 444.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.477e-05/4.487e-05, allocations: 4.5 kB / 0.5338 GB, free: 12.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2361, allocations: 98.73 MB / 0.6302 GB, free: 6.102 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2742/0.5103, allocations: 126 MB / 0.7533 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004786/0.5108, allocations: 79.95 kB / 0.7534 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04107/0.5519, allocations: 5.388 MB / 0.7586 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.803e-06/0.552, allocations: 0 / 0.7586 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.552, allocations: 4 kB / 0.7586 GB, free: 2.441 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000789/0.5528, allocations: 402.1 kB / 0.759 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 8.765e-05/0.5529, allocations: 12.02 kB / 0.759 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.577e-05/0.553, allocations: 42.5 kB / 0.7591 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006408/0.5536, allocations: 63.84 kB / 0.7591 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.5538, allocations: 175 kB / 0.7593 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/0.5538, allocations: 4 kB / 0.7593 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.622e-05/0.5539, allocations: 8 kB / 0.7593 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.5541, allocations: 81.59 kB / 0.7594 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.5542, allocations: 0 / 0.7594 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.5542, allocations: 4 kB / 0.7594 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-06/0.5542, allocations: 0 / 0.7594 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.5544, allocations: 39.98 kB / 0.7594 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009709/0.5554, allocations: 337.5 kB / 0.7597 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/0.5557, allocations: 70.5 kB / 0.7598 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.5558, allocations: 24.86 kB / 0.7598 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.5559, allocations: 4 kB / 0.7598 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.444e-05/0.5559, allocations: 34.52 kB / 0.7599 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 3.196e-06/0.5559, allocations: 0 / 0.7599 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.03529/0.5912, allocations: 2.112 MB / 0.7619 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.5914, allocations: 51.41 kB / 0.762 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.5915, allocations: 101.1 kB / 0.7621 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.5916, allocations: 33.64 kB / 0.7621 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.445e-05/0.5917, allocations: 80.14 kB / 0.7622 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.5919, allocations: 39.45 kB / 0.7622 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.982e-05/0.592, allocations: 8 kB / 0.7622 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.5922, allocations: 314.8 kB / 0.7625 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006217/0.5928, allocations: 115.9 kB / 0.7626 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006263/0.5934, allocations: 107.9 kB / 0.7627 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000669/0.5941, allocations: 124 kB / 0.7629 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5942, allocations: 0 / 0.7629 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001754/0.5959, allocations: 325.2 kB / 0.7632 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.596, allocations: 8 kB / 0.7632 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.596, allocations: 4 kB / 0.7632 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.596, allocations: 0 / 0.7632 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002016/0.5981, allocations: 119.8 kB / 0.7633 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.5981, allocations: 0 / 0.7633 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.5996, allocations: 59.94 kB / 0.7633 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/0.5998, allocations: 23.94 kB / 0.7634 GB, free: 13.26 MB / 0.6511 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.0002676/0.6001, allocations: 109 kB / 0.7635 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.6002, allocations: 7.859 kB / 0.7635 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.039e-05/0.6003, allocations: 16.03 kB / 0.7635 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.6003, allocations: 192 / 0.7635 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.6004, allocations: 4 kB / 0.7635 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.6004, allocations: 7.969 kB / 0.7635 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01392/0.6143, allocations: 0.9011 MB / 0.7644 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.948e-06/0.6144, allocations: 4 kB / 0.7644 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002074/0.6165, allocations: 115.8 kB / 0.7645 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/0.6165, allocations: 0 / 0.7645 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/0.6167, allocations: 23.94 kB / 0.7645 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/0.6167, allocations: 7.938 kB / 0.7645 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.6167, allocations: 0 / 0.7645 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002758/0.6195, allocations: 0.5697 MB / 0.7651 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003345/0.6199, allocations: 113 kB / 0.7652 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.62, allocations: 4 kB / 0.7652 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001953/0.622, allocations: 60 kB / 0.7653 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002024/0.6222, allocations: 27.92 kB / 0.7653 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001459/0.6224, allocations: 27.92 kB / 0.7653 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.265e-05/0.6225, allocations: 79.28 kB / 0.7654 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.21e-07/0.6225, allocations: 0 / 0.7654 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000928/0.6234, allocations: 56 kB / 0.7654 GB, free: 10.98 MB / 0.6511 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.003573/0.627, allocations: 1.13 MB / 0.7665 GB, free: 9.828 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001562/0.6287, allocations: 263.8 kB / 0.7668 GB, free: 9.57 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.6287, allocations: 3.938 kB / 0.7668 GB, free: 9.566 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007965/0.6295, allocations: 151.8 kB / 0.7669 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.6299, allocations: 13.88 kB / 0.767 GB, free: 9.406 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/0.6409, allocations: 0.7388 MB / 0.7677 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/0.6413, allocations: 0.7004 MB / 0.7684 GB, free: 7.902 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001741/0.6431, allocations: 88.67 kB / 0.7684 GB, free: 7.816 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006403/0.6438, allocations: 63.3 kB / 0.7685 GB, free: 7.754 MB / 0.6511 GB Notification: Performance of SimCode: time 1.343e-06/0.6438, allocations: 3.938 kB / 0.7685 GB, free: 7.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04795/0.6917, allocations: 4.134 MB / 0.7725 GB, free: 3.691 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002437/0.692, allocations: 174.4 kB / 0.7727 GB, free: 3.469 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.602/3.294, allocations: 0 / 0.7727 GB, free: 3.469 MB / 0.6511 GB