Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.478/3.478, allocations: 343.8 MB / 355.9 MB, free: 9.383 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.964e-05/5.97e-05, allocations: 11.98 kB / 436.7 MB, free: 2.359 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2051, allocations: 77.73 MB / 0.5023 GB, free: 4.469 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6942/0.8994, allocations: 104.8 MB / 0.6047 GB, free: 48 kB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004966/0.8999, allocations: 75.95 kB / 0.6048 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.002957/0.9029, allocations: 0.5292 MB / 0.6053 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.246e-06/0.903, allocations: 0 / 0.6053 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.903, allocations: 0 / 0.6053 GB, free: 15.45 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000438/0.9035, allocations: 321.8 kB / 0.6056 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.865e-05/0.9036, allocations: 12.03 kB / 0.6056 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.505e-05/0.9037, allocations: 30.56 kB / 0.6057 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000395/0.9041, allocations: 15.97 kB / 0.6057 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.9043, allocations: 163 kB / 0.6058 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.9043, allocations: 0 / 0.6058 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.9043, allocations: 0 / 0.6058 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.9045, allocations: 33.62 kB / 0.6059 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.9046, allocations: 4 kB / 0.6059 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.9046, allocations: 4 kB / 0.6059 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.9046, allocations: 0 / 0.6059 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.514e-05/0.9047, allocations: 0 / 0.6059 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002534/0.905, allocations: 157.7 kB / 0.606 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.817e-05/0.9051, allocations: 15.12 kB / 0.606 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.16e-05/0.9051, allocations: 4.859 kB / 0.606 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.822e-05/0.9052, allocations: 8.047 kB / 0.606 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.076e-05/0.9052, allocations: 34.56 kB / 0.6061 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 8.736e-06/0.9053, allocations: 7.922 kB / 0.6061 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0002063/0.9055, allocations: 30.47 kB / 0.6061 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.9056, allocations: 51.41 kB / 0.6062 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.532e-05/0.9057, allocations: 92.98 kB / 0.6063 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.9057, allocations: 25.7 kB / 0.6063 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.594e-05/0.9058, allocations: 80.14 kB / 0.6064 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.9059, allocations: 0 / 0.6064 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-06/0.9059, allocations: 4 kB / 0.6064 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001958/0.9061, allocations: 321 kB / 0.6067 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.893e-05/0.9062, allocations: 0 / 0.6067 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.055e-05/0.9062, allocations: 0 / 0.6067 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.063e-05/0.9063, allocations: 4 kB / 0.6067 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.9063, allocations: 0 / 0.6067 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001439/0.9064, allocations: 37.62 kB / 0.6067 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/0.9065, allocations: 10.81 kB / 0.6067 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.9065, allocations: 0 / 0.6067 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.9066, allocations: 4.094 kB / 0.6067 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.9067, allocations: 0 / 0.6067 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.9068, allocations: 11.25 kB / 0.6067 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.072e-05/0.9069, allocations: 0 / 0.6067 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.907, allocations: 3.984 kB / 0.6067 GB, free: 13.78 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 (1): * Single equations (assignments): 1 * 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.0001245/0.9071, allocations: 104.9 kB / 0.6068 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.9071, allocations: 8 kB / 0.6068 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.916e-05/0.9072, allocations: 3.125 kB / 0.6068 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.9073, allocations: 4 kB / 0.6068 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.9073, allocations: 0 / 0.6068 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.9073, allocations: 0 / 0.6068 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.9075, allocations: 149.6 kB / 0.607 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.9075, allocations: 3.938 kB / 0.607 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.818e-05/0.9076, allocations: 4 kB / 0.607 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.9077, allocations: 0 / 0.607 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.9077, allocations: 0 / 0.607 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.636e-06/0.9077, allocations: 4 kB / 0.607 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.9077, allocations: 0 / 0.607 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.908, allocations: 65.06 kB / 0.6071 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.022e-05/0.908, allocations: 81.06 kB / 0.6071 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.9081, allocations: 4 kB / 0.6071 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.644e-05/0.9082, allocations: 0 / 0.6071 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.336e-05/0.9082, allocations: 3.984 kB / 0.6071 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.9083, allocations: 0 / 0.6071 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.469e-05/0.9083, allocations: 75.28 kB / 0.6072 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.11e-07/0.9083, allocations: 4.031 kB / 0.6072 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004129/0.9088, allocations: 4 kB / 0.6072 GB, free: 13.18 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): 1 * 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.0006721/0.9095, allocations: 0.6027 MB / 0.6078 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001147/0.9096, allocations: 7.938 kB / 0.6078 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.9096, allocations: 4.094 kB / 0.6078 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.982e-05/0.9097, allocations: 0 / 0.6078 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.9099, allocations: 6.172 kB / 0.6078 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005089/0.9104, allocations: 78.7 kB / 0.6079 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.9108, allocations: 0.6731 MB / 0.6086 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.595e-05/0.9109, allocations: 8.047 kB / 0.6086 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.621e-05/0.911, allocations: 7.438 kB / 0.6086 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of SimCode: time 1.233e-06/0.911, allocations: 0 / 0.6086 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.9337, allocations: 0.7613 MB / 0.6093 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002557/0.934, allocations: 166 kB / 0.6095 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.423/3.357, allocations: 0 / 0.6095 GB, free: 10.79 MB / 0.4948 GB