Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.479/3.479, allocations: 343.8 MB / 355.9 MB, free: 9.391 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.433e-05/5.442e-05, allocations: 14.02 kB / 436.7 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2088, allocations: 77.73 MB / 0.5023 GB, free: 4.5 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6595/0.8684, allocations: 104.8 MB / 0.6047 GB, free: 124 kB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00037/0.8688, allocations: 71.95 kB / 0.6048 GB, free: 52 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002246/0.8711, allocations: 0.5498 MB / 0.6053 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.973e-06/0.8712, allocations: 4 kB / 0.6053 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.8712, allocations: 0 / 0.6053 GB, free: 15.5 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003963/0.8716, allocations: 340.2 kB / 0.6056 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/0.8717, allocations: 12.03 kB / 0.6056 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.124e-05/0.8717, allocations: 35.19 kB / 0.6057 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.8718, allocations: 0 / 0.6057 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.8719, allocations: 171 kB / 0.6058 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.872, allocations: 0 / 0.6058 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.872, allocations: 0 / 0.6058 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.8722, allocations: 64.59 kB / 0.6059 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.8722, allocations: 4 kB / 0.6059 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.8723, allocations: 0 / 0.6059 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.382e-05/0.8723, allocations: 4 kB / 0.6059 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.816e-05/0.8724, allocations: 19.98 kB / 0.6059 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005198/0.873, allocations: 261.5 kB / 0.6062 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.598e-05/0.8731, allocations: 18.58 kB / 0.6062 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.097e-05/0.8731, allocations: 12.8 kB / 0.6062 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.8731, allocations: 8.047 kB / 0.6062 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/0.8732, allocations: 34.52 kB / 0.6062 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 3.717e-06/0.8732, allocations: 0 / 0.6062 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0002644/0.8735, allocations: 69.69 kB / 0.6063 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.826e-05/0.8736, allocations: 77.11 kB / 0.6064 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.8737, allocations: 108.9 kB / 0.6065 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.8738, allocations: 29.73 kB / 0.6065 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.769e-05/0.8739, allocations: 107.7 kB / 0.6066 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.8739, allocations: 8.047 kB / 0.6066 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.303e-06/0.874, allocations: 0 / 0.6066 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.8741, allocations: 314.8 kB / 0.6069 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.801e-05/0.8742, allocations: 8 kB / 0.6069 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.8743, allocations: 66.8 kB / 0.607 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.35e-05/0.8744, allocations: 41.69 kB / 0.607 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.8745, allocations: 0 / 0.607 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003015/0.8748, allocations: 119.2 kB / 0.6071 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.735e-05/0.8749, allocations: 33.7 kB / 0.6072 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.8749, allocations: 0 / 0.6072 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/0.8749, allocations: 7.953 kB / 0.6072 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.8751, allocations: 15.92 kB / 0.6072 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.8751, allocations: 4 kB / 0.6072 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.8752, allocations: 8.188 kB / 0.6072 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.8753, allocations: 16 kB / 0.6072 GB, free: 13.25 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.000134/0.8754, allocations: 126.7 kB / 0.6074 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.397e-05/0.8755, allocations: 11.84 kB / 0.6074 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.663e-05/0.8755, allocations: 3.656 kB / 0.6074 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.8756, allocations: 3.953 kB / 0.6074 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.8756, allocations: 0 / 0.6074 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.8756, allocations: 7.984 kB / 0.6074 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.8759, allocations: 149.7 kB / 0.6075 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.8759, allocations: 0 / 0.6075 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.32e-05/0.8759, allocations: 12.8 kB / 0.6075 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.876, allocations: 0 / 0.6075 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.876, allocations: 0 / 0.6075 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.876, allocations: 0 / 0.6075 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.876, allocations: 3.953 kB / 0.6075 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.8762, allocations: 157.3 kB / 0.6077 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.911e-05/0.8763, allocations: 85.09 kB / 0.6078 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.8764, allocations: 4 kB / 0.6078 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.8765, allocations: 4.031 kB / 0.6078 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.266e-05/0.8765, allocations: 0 / 0.6078 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.8765, allocations: 7.953 kB / 0.6078 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.571e-05/0.8767, allocations: 91.27 kB / 0.6079 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.72e-07/0.8767, allocations: 0 / 0.6079 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005443/0.8772, allocations: 12 kB / 0.6079 GB, free: 12.48 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0007056/0.878, allocations: 0.7101 MB / 0.6086 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002067/0.8782, allocations: 79.34 kB / 0.6087 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.8782, allocations: 0 / 0.6087 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.656e-05/0.8783, allocations: 59.39 kB / 0.6087 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.8786, allocations: 14.38 kB / 0.6087 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005828/0.8792, allocations: 103.1 kB / 0.6088 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.8796, allocations: 0.6809 MB / 0.6095 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001048/0.8797, allocations: 15.92 kB / 0.6095 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.518e-05/0.8797, allocations: 11.44 kB / 0.6095 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of SimCode: time 1.302e-06/0.8798, allocations: 4 kB / 0.6095 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.9029, allocations: 1.213 MB / 0.6107 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003583/0.9033, allocations: 180.5 kB / 0.6109 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.459/3.362, allocations: 4 kB / 0.6109 GB, free: 9.316 MB / 0.4948 GB