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={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.881/4.881, allocations: 404.1 MB / 411.3 MB, free: 360 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.551e-05/3.565e-05, allocations: 4 kB / 0.4945 GB, free: 1.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.713/0.713, allocations: 92.68 MB / 0.5851 GB, free: 2.293 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2497/0.9628, allocations: 118.8 MB / 0.701 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003396/0.9632, allocations: 75.95 kB / 0.7011 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.002112/0.9653, allocations: 0.5305 MB / 0.7016 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.974e-06/0.9654, allocations: 0 / 0.7016 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.9654, allocations: 0 / 0.7016 GB, free: 10.77 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.0002758/0.9657, allocations: 314.5 kB / 0.7019 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/0.9657, allocations: 12.09 kB / 0.7019 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002836/0.966, allocations: 19.91 kB / 0.702 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.9662, allocations: 163.1 kB / 0.7021 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.9662, allocations: 0 / 0.7021 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.9662, allocations: 3.938 kB / 0.7021 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.102e-05/0.9663, allocations: 3.984 kB / 0.7021 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.75e-05/0.9664, allocations: 29.7 kB / 0.7022 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.9664, allocations: 4 kB / 0.7022 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.9664, allocations: 0 / 0.7022 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.9665, allocations: 7.953 kB / 0.7022 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00015/0.9666, allocations: 130.2 kB / 0.7023 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.97e-05/0.9667, allocations: 18.61 kB / 0.7023 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.522e-05/0.9667, allocations: 4.859 kB / 0.7023 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.9668, allocations: 0 / 0.7023 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.9668, allocations: 38.56 kB / 0.7023 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.793e-06/0.9668, allocations: 4 kB / 0.7024 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001463/0.967, allocations: 33.69 kB / 0.7024 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.967, allocations: 51.41 kB / 0.7024 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.594e-05/0.9671, allocations: 85 kB / 0.7025 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.9671, allocations: 25.7 kB / 0.7025 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.988e-05/0.9672, allocations: 80.14 kB / 0.7026 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.9672, allocations: 4 kB / 0.7026 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-06/0.9672, allocations: 0 / 0.7026 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.9674, allocations: 318.8 kB / 0.7029 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.9674, allocations: 4 kB / 0.7029 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.184e-05/0.9674, allocations: 0 / 0.7029 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.028e-05/0.9674, allocations: 0 / 0.7029 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.9675, allocations: 3.938 kB / 0.7029 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.394e-05/0.9676, allocations: 41.62 kB / 0.703 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.9676, allocations: 5.719 kB / 0.703 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.9676, allocations: 3.938 kB / 0.703 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.9676, allocations: 4.094 kB / 0.703 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.9678, allocations: 4 kB / 0.703 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.9678, allocations: 0 / 0.703 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.581e-05/0.9679, allocations: 3.984 kB / 0.703 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.9679, allocations: 4 kB / 0.703 GB, free: 9.172 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.758e-05/0.968, allocations: 104.9 kB / 0.7031 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.116e-05/0.9681, allocations: 29.7 kB / 0.7031 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-06/0.9681, allocations: 0 / 0.7031 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.216e-05/0.9681, allocations: 7.781 kB / 0.7031 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.9682, allocations: 7.984 kB / 0.7031 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.9682, allocations: 0 / 0.7031 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.9682, allocations: 0 / 0.7031 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.9683, allocations: 130.2 kB / 0.7033 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.9683, allocations: 0 / 0.7033 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.351e-05/0.9684, allocations: 11.92 kB / 0.7033 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.9684, allocations: 0 / 0.7033 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.9685, allocations: 0 / 0.7033 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.9685, allocations: 0 / 0.7033 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.9685, allocations: 4 kB / 0.7033 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.9686, allocations: 57.09 kB / 0.7033 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.588e-05/0.9687, allocations: 85 kB / 0.7034 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.9687, allocations: 0 / 0.7034 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.038e-05/0.9688, allocations: 0 / 0.7034 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.266e-05/0.9688, allocations: 4 kB / 0.7034 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.9688, allocations: 0 / 0.7034 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.118e-05/0.9689, allocations: 79.31 kB / 0.7035 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.71e-07/0.9689, allocations: 0 / 0.7035 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002785/0.9692, allocations: 0 / 0.7035 GB, free: 8.574 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.0004501/0.9696, allocations: 0.6044 MB / 0.7041 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.177e-05/0.9697, allocations: 8.031 kB / 0.7041 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.9697, allocations: 4 kB / 0.7041 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.96e-05/0.9698, allocations: 3.984 kB / 0.7041 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.9699, allocations: 4 kB / 0.7041 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003824/0.9703, allocations: 70.36 kB / 0.7042 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.9706, allocations: 0.6729 MB / 0.7048 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.542e-05/0.9707, allocations: 12.11 kB / 0.7048 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.793e-05/0.9708, allocations: 7.438 kB / 0.7048 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of SimCode: time 8.61e-07/0.9708, allocations: 3.938 kB / 0.7048 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03421/1.005, allocations: 480.3 kB / 0.7053 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003823/1.005, allocations: 154.3 kB / 0.7055 GB, free: 6.43 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.696/3.702, allocations: 0 / 0.7055 GB, free: 6.43 MB / 0.5886 GB