Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.639/3.639, allocations: 343.8 MB / 355.9 MB, free: 9.383 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.588e-05/4.606e-05, allocations: 4 kB / 436.7 MB, free: 2.367 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2117, allocations: 77.73 MB / 0.5023 GB, free: 4.477 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6849/0.8967, allocations: 105.1 MB / 0.605 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/0.897, allocations: 79.94 kB / 0.6051 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.009442/0.9065, allocations: 2.022 MB / 0.607 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9065, allocations: 0 / 0.607 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.9066, allocations: 0 / 0.607 GB, free: 13.8 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004147/0.907, allocations: 338.4 kB / 0.6074 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.9071, allocations: 8.031 kB / 0.6074 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.774e-05/0.9071, allocations: 38.55 kB / 0.6074 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.155e-05/0.9072, allocations: 4 kB / 0.6074 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.9073, allocations: 163 kB / 0.6076 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.9073, allocations: 4 kB / 0.6076 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.9074, allocations: 4 kB / 0.6076 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.9075, allocations: 41.69 kB / 0.6076 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.9075, allocations: 0 / 0.6076 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.9076, allocations: 4 kB / 0.6076 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.9076, allocations: 0 / 0.6076 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.543e-05/0.9076, allocations: 15.98 kB / 0.6076 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002168/0.9079, allocations: 173.4 kB / 0.6078 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.908, allocations: 42.62 kB / 0.6078 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.03e-05/0.9081, allocations: 16.98 kB / 0.6079 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001321/0.9082, allocations: 85.09 kB / 0.6079 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.9083, allocations: 34.56 kB / 0.608 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=5): time 1.874e-06/0.9083, allocations: 0 / 0.608 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.001653/0.9099, allocations: 473 kB / 0.6084 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.91, allocations: 51.41 kB / 0.6085 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.024e-05/0.9101, allocations: 85 kB / 0.6086 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.9101, allocations: 29.7 kB / 0.6086 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/0.9102, allocations: 84.27 kB / 0.6087 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/0.9102, allocations: 31.58 kB / 0.6087 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-06/0.9103, allocations: 0 / 0.6087 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.9104, allocations: 318.8 kB / 0.609 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.873e-05/0.9105, allocations: 12 kB / 0.609 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.422e-05/0.9105, allocations: 12 kB / 0.609 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.99e-05/0.9106, allocations: 15.98 kB / 0.609 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.9106, allocations: 0 / 0.609 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001695/0.9108, allocations: 65.67 kB / 0.6091 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.9108, allocations: 12.5 kB / 0.6091 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.9108, allocations: 8 kB / 0.6091 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.9109, allocations: 4 kB / 0.6091 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.911, allocations: 8 kB / 0.6091 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.911, allocations: 4.312 kB / 0.6091 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.07e-05/0.9111, allocations: 3.984 kB / 0.6091 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.9111, allocations: 0 / 0.6091 GB, free: 11.35 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 (8): * Single equations (assignments): 8 * 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 9.555e-05/0.9112, allocations: 116.9 kB / 0.6092 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.9112, allocations: 3.906 kB / 0.6093 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.9115, allocations: 85.75 kB / 0.6093 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.9115, allocations: 0 / 0.6093 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.9116, allocations: 0 / 0.6093 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.9116, allocations: 0 / 0.6093 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.9118, allocations: 173.6 kB / 0.6095 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.9118, allocations: 4 kB / 0.6095 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.9119, allocations: 11.94 kB / 0.6095 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.9119, allocations: 4 kB / 0.6095 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.912, allocations: 0 / 0.6095 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.912, allocations: 0 / 0.6095 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.912, allocations: 0 / 0.6095 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.9123, allocations: 117.1 kB / 0.6096 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.843e-05/0.9123, allocations: 81.02 kB / 0.6097 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.9123, allocations: 0 / 0.6097 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.047e-05/0.9124, allocations: 8.031 kB / 0.6097 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-05/0.9125, allocations: 3.984 kB / 0.6097 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.9125, allocations: 4 kB / 0.6097 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.605e-05/0.9125, allocations: 79.34 kB / 0.6098 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9125, allocations: 0 / 0.6098 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003393/0.9129, allocations: 43.94 kB / 0.6098 GB, free: 10.52 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0007274/0.9136, allocations: 0.6944 MB / 0.6105 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001536/0.9138, allocations: 31.94 kB / 0.6106 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.9138, allocations: 4.156 kB / 0.6106 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.772e-05/0.9139, allocations: 23.98 kB / 0.6106 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.914, allocations: 4 kB / 0.6106 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005569/0.9146, allocations: 156.4 kB / 0.6107 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.9149, allocations: 0.6848 MB / 0.6114 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.645e-05/0.915, allocations: 11.94 kB / 0.6114 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.829e-05/0.9151, allocations: 19.42 kB / 0.6114 GB, free: 8.805 MB / 0.4948 GB Notification: Performance of SimCode: time 3.156e-06/0.9151, allocations: 0 / 0.6114 GB, free: 8.805 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01966/0.9347, allocations: 1.501 MB / 0.6129 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002793/0.9351, allocations: 199.1 kB / 0.6131 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.42/3.355, allocations: 0 / 0.6131 GB, free: 7.195 MB / 0.4948 GB