Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.268/4.268, allocations: 432.7 MB / 444.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.308e-05/5.314e-05, allocations: 9.484 kB / 0.5338 GB, free: 12.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2295, allocations: 98.73 MB / 0.6302 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2376/0.4672, allocations: 123.8 MB / 0.7511 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/0.4675, allocations: 75.95 kB / 0.7512 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001964/0.4695, allocations: 0.5281 MB / 0.7517 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4696, allocations: 0 / 0.7517 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.4696, allocations: 0 / 0.7517 GB, free: 9.559 MB / 0.6355 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.0003762/0.47, allocations: 318.6 kB / 0.752 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.47, allocations: 8.031 kB / 0.752 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.114e-05/0.4701, allocations: 30.56 kB / 0.752 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002645/0.4704, allocations: 19.88 kB / 0.752 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.4705, allocations: 163 kB / 0.7522 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.4705, allocations: 0 / 0.7522 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.4706, allocations: 4 kB / 0.7522 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.4707, allocations: 33.62 kB / 0.7522 GB, free: 8.895 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.4707, allocations: 4 kB / 0.7522 GB, free: 8.891 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.4707, allocations: 0 / 0.7522 GB, free: 8.891 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.4708, allocations: 0 / 0.7522 GB, free: 8.891 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.475e-05/0.4708, allocations: 4 kB / 0.7522 GB, free: 8.887 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001834/0.471, allocations: 149.6 kB / 0.7524 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.648e-05/0.4711, allocations: 22.59 kB / 0.7524 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.982e-05/0.4711, allocations: 8.844 kB / 0.7524 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.4711, allocations: 0 / 0.7524 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.4712, allocations: 38.62 kB / 0.7525 GB, free: 8.602 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.633e-06/0.4712, allocations: 0 / 0.7525 GB, free: 8.602 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001542/0.4713, allocations: 33.64 kB / 0.7525 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.4714, allocations: 55.41 kB / 0.7525 GB, free: 8.496 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.506e-05/0.4715, allocations: 85 kB / 0.7526 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.4715, allocations: 25.7 kB / 0.7526 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.737e-05/0.4715, allocations: 80.14 kB / 0.7527 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.4716, allocations: 4.031 kB / 0.7527 GB, free: 8.289 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.4716, allocations: 3.938 kB / 0.7527 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.4717, allocations: 318.8 kB / 0.753 GB, free: 7.965 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.528e-05/0.4718, allocations: 4 kB / 0.753 GB, free: 7.961 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.292e-05/0.4718, allocations: 0 / 0.753 GB, free: 7.961 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.066e-05/0.4718, allocations: 4 kB / 0.753 GB, free: 7.957 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4718, allocations: 0 / 0.753 GB, free: 7.957 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.313e-05/0.4719, allocations: 33.64 kB / 0.7531 GB, free: 7.918 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.472, allocations: 4.094 kB / 0.7531 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.472, allocations: 4 kB / 0.7531 GB, free: 7.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.472, allocations: 7.922 kB / 0.7531 GB, free: 7.902 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.4721, allocations: 4 kB / 0.7531 GB, free: 7.898 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.4722, allocations: 0 / 0.7531 GB, free: 7.898 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.463e-05/0.4722, allocations: 4 kB / 0.7531 GB, free: 7.895 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.4722, allocations: 0 / 0.7531 GB, free: 7.895 MB / 0.6355 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 8.801e-05/0.4723, allocations: 108.9 kB / 0.7532 GB, free: 7.781 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.4724, allocations: 3.984 kB / 0.7532 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.499e-05/0.4724, allocations: 7.125 kB / 0.7532 GB, free: 7.773 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.4724, allocations: 4 kB / 0.7532 GB, free: 7.77 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4724, allocations: 0 / 0.7532 GB, free: 7.77 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.4724, allocations: 0 / 0.7532 GB, free: 7.77 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.4726, allocations: 145.6 kB / 0.7534 GB, free: 7.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4726, allocations: 0 / 0.7534 GB, free: 7.578 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.717e-05/0.4727, allocations: 7.984 kB / 0.7534 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4727, allocations: 0 / 0.7534 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.4727, allocations: 0 / 0.7534 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.4727, allocations: 4 kB / 0.7534 GB, free: 7.566 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4727, allocations: 4 kB / 0.7534 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.4729, allocations: 65.06 kB / 0.7534 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.764e-05/0.4729, allocations: 81.06 kB / 0.7535 GB, free: 7.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.4729, allocations: 0 / 0.7535 GB, free: 7.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.436e-05/0.473, allocations: 4 kB / 0.7535 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.169e-05/0.473, allocations: 0 / 0.7535 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.473, allocations: 0 / 0.7535 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.432e-05/0.4731, allocations: 79.31 kB / 0.7536 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4731, allocations: 0 / 0.7536 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002527/0.4734, allocations: 3.984 kB / 0.7536 GB, free: 7.297 MB / 0.6355 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.000489/0.4739, allocations: 0.6045 MB / 0.7542 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.23e-05/0.474, allocations: 8.031 kB / 0.7542 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.474, allocations: 3.938 kB / 0.7542 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.936e-05/0.474, allocations: 4 kB / 0.7542 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000114/0.4741, allocations: 2.406 kB / 0.7542 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.4745, allocations: 74.7 kB / 0.7543 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.4748, allocations: 0.6731 MB / 0.7549 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.252e-05/0.4749, allocations: 4.125 kB / 0.7549 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.4749, allocations: 11.44 kB / 0.7549 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of SimCode: time 7.22e-07/0.4749, allocations: 0 / 0.7549 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02042/0.4954, allocations: 0.7551 MB / 0.7557 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004113/0.4958, allocations: 150.1 kB / 0.7558 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.417/2.912, allocations: 0 / 0.7558 GB, free: 4.91 MB / 0.6355 GB