Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.154/4.154, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.382e-05/4.383e-05, allocations: 15.88 kB / 0.4992 GB, free: 13.32 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.639/0.6391, allocations: 92.68 MB / 0.5897 GB, free: 14.35 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2232/0.8624, allocations: 119.4 MB / 0.7063 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.8627, allocations: 71.95 kB / 0.7064 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.001787/0.8645, allocations: 0.5422 MB / 0.7069 GB, free: 6.156 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8645, allocations: 3.938 kB / 0.7069 GB, free: 6.152 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.8645, allocations: 4 kB / 0.7069 GB, free: 6.148 MB / 0.5886 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.0002777/0.8648, allocations: 312.7 kB / 0.7072 GB, free: 5.801 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.8649, allocations: 12.09 kB / 0.7072 GB, free: 5.789 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.093e-05/0.8649, allocations: 30.56 kB / 0.7072 GB, free: 5.75 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002436/0.8652, allocations: 19.92 kB / 0.7072 GB, free: 5.73 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.8653, allocations: 163 kB / 0.7074 GB, free: 5.531 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.8653, allocations: 8 kB / 0.7074 GB, free: 5.523 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.8654, allocations: 4 kB / 0.7074 GB, free: 5.52 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.8655, allocations: 33.69 kB / 0.7074 GB, free: 5.48 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.8655, allocations: 0 / 0.7074 GB, free: 5.48 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.8655, allocations: 0 / 0.7074 GB, free: 5.48 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.8655, allocations: 3.938 kB / 0.7074 GB, free: 5.477 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.079e-05/0.8656, allocations: 3.953 kB / 0.7075 GB, free: 5.473 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.8658, allocations: 149.7 kB / 0.7076 GB, free: 5.277 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.252e-05/0.8658, allocations: 18.58 kB / 0.7076 GB, free: 5.25 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.212e-05/0.8659, allocations: 12.95 kB / 0.7076 GB, free: 5.234 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.8659, allocations: 3.938 kB / 0.7076 GB, free: 5.23 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.8659, allocations: 30.56 kB / 0.7077 GB, free: 5.191 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.713e-06/0.8659, allocations: 0 / 0.7077 GB, free: 5.191 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001691/0.8661, allocations: 29.7 kB / 0.7077 GB, free: 5.156 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.8662, allocations: 51.41 kB / 0.7077 GB, free: 5.094 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.039e-05/0.8662, allocations: 89.03 kB / 0.7078 GB, free: 5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.8662, allocations: 29.69 kB / 0.7078 GB, free: 4.965 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.279e-05/0.8663, allocations: 80.14 kB / 0.7079 GB, free: 4.883 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.8663, allocations: 4 kB / 0.7079 GB, free: 4.879 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/0.8663, allocations: 0 / 0.7079 GB, free: 4.879 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.8665, allocations: 318.8 kB / 0.7082 GB, free: 4.559 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.8665, allocations: 0 / 0.7082 GB, free: 4.559 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.494e-05/0.8665, allocations: 4 kB / 0.7082 GB, free: 4.555 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.244e-05/0.8666, allocations: 64 / 0.7082 GB, free: 4.555 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.8666, allocations: 4 kB / 0.7082 GB, free: 4.551 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.504e-05/0.8667, allocations: 37.62 kB / 0.7083 GB, free: 4.508 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.8667, allocations: 8 kB / 0.7083 GB, free: 4.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.8667, allocations: 0 / 0.7083 GB, free: 4.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.8667, allocations: 0 / 0.7083 GB, free: 4.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.8668, allocations: 4 kB / 0.7083 GB, free: 4.496 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.8669, allocations: 0 / 0.7083 GB, free: 4.496 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.198e-05/0.8669, allocations: 0 / 0.7083 GB, free: 4.496 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.867, allocations: 3.984 kB / 0.7083 GB, free: 4.492 MB / 0.5886 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 7.766e-05/0.867, allocations: 116.5 kB / 0.7084 GB, free: 4.375 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-06/0.8671, allocations: 0 / 0.7084 GB, free: 4.375 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.259e-05/0.8671, allocations: 7.062 kB / 0.7084 GB, free: 4.367 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.8671, allocations: 0 / 0.7084 GB, free: 4.367 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.8671, allocations: 0 / 0.7084 GB, free: 4.367 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.8671, allocations: 0 / 0.7084 GB, free: 4.367 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.8673, allocations: 153.6 kB / 0.7086 GB, free: 4.168 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.8673, allocations: 4 kB / 0.7086 GB, free: 4.164 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.172e-05/0.8673, allocations: 3.938 kB / 0.7086 GB, free: 4.16 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.8674, allocations: 4 kB / 0.7086 GB, free: 4.156 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.8674, allocations: 4 kB / 0.7086 GB, free: 4.152 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.8674, allocations: 0 / 0.7086 GB, free: 4.152 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.8674, allocations: 0 / 0.7086 GB, free: 4.152 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.953e-05/0.8675, allocations: 61.02 kB / 0.7086 GB, free: 4.074 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.8676, allocations: 77.11 kB / 0.7087 GB, free: 3.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.8676, allocations: 7.984 kB / 0.7087 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.55e-05/0.8677, allocations: 4.031 kB / 0.7087 GB, free: 3.969 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.959e-05/0.8677, allocations: 3.984 kB / 0.7087 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.8677, allocations: 0 / 0.7087 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.022e-05/0.8677, allocations: 79.28 kB / 0.7088 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.61e-07/0.8678, allocations: 0 / 0.7088 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002288/0.868, allocations: 4 kB / 0.7088 GB, free: 3.883 MB / 0.5886 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.0004297/0.8684, allocations: 0.6043 MB / 0.7094 GB, free: 3.25 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.403e-05/0.8685, allocations: 11.94 kB / 0.7094 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.8685, allocations: 0 / 0.7094 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.946e-05/0.8686, allocations: 4 kB / 0.7094 GB, free: 3.234 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001152/0.8687, allocations: 0 / 0.7094 GB, free: 3.234 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003326/0.869, allocations: 74.7 kB / 0.7095 GB, free: 3.125 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.8693, allocations: 0.6733 MB / 0.7101 GB, free: 2.426 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.841e-05/0.8694, allocations: 7.984 kB / 0.7101 GB, free: 2.418 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.23e-05/0.8694, allocations: 7.438 kB / 0.7101 GB, free: 2.41 MB / 0.5886 GB Notification: Performance of SimCode: time 6.91e-07/0.8694, allocations: 0 / 0.7101 GB, free: 2.41 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0179/0.8874, allocations: 0.7425 MB / 0.7109 GB, free: 1.727 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003001/0.8877, allocations: 162.1 kB / 0.711 GB, free: 1.496 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.198/3.085, allocations: 3.938 kB / 0.711 GB, free: 1.492 MB / 0.5886 GB