Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.262/4.262, allocations: 432.7 MB / 444.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.043e-05/4.049e-05, allocations: 4.578 kB / 0.5338 GB, free: 12.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.223, allocations: 98.73 MB / 0.6302 GB, free: 6.145 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2388/0.4618, allocations: 125.2 MB / 0.7524 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/0.4622, allocations: 75.95 kB / 0.7525 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006279/0.4685, allocations: 1.351 MB / 0.7538 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4685, allocations: 0 / 0.7538 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.4685, allocations: 0 / 0.7538 GB, free: 7.371 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004509/0.469, allocations: 346.4 kB / 0.7542 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/0.4691, allocations: 8.031 kB / 0.7542 GB, free: 6.98 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.211e-05/0.4691, allocations: 34.56 kB / 0.7542 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.317e-05/0.4692, allocations: 7.938 kB / 0.7542 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.4694, allocations: 170.9 kB / 0.7544 GB, free: 6.723 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.4694, allocations: 0 / 0.7544 GB, free: 6.723 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.4694, allocations: 3.984 kB / 0.7544 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.4695, allocations: 41.69 kB / 0.7544 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.4696, allocations: 0 / 0.7544 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.4696, allocations: 4 kB / 0.7544 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.4696, allocations: 0 / 0.7544 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.387e-05/0.4697, allocations: 12 kB / 0.7544 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004209/0.4701, allocations: 264.8 kB / 0.7547 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.37e-05/0.4702, allocations: 26.58 kB / 0.7547 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.692e-05/0.4702, allocations: 8.922 kB / 0.7547 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001077/0.4713, allocations: 469.5 kB / 0.7552 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.4714, allocations: 34.56 kB / 0.7552 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.465e-06/0.4714, allocations: 4 kB / 0.7552 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000233/0.4716, allocations: 41.69 kB / 0.7552 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.4717, allocations: 59.3 kB / 0.7553 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.4718, allocations: 104.9 kB / 0.7554 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.4719, allocations: 25.7 kB / 0.7554 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.879e-05/0.472, allocations: 88.12 kB / 0.7555 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.472, allocations: 3.906 kB / 0.7555 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/0.472, allocations: 0 / 0.7555 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.4722, allocations: 322.9 kB / 0.7558 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.637e-05/0.4722, allocations: 0 / 0.7558 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.215e-05/0.4722, allocations: 4 kB / 0.7558 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.943e-05/0.4723, allocations: 8 kB / 0.7558 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.4723, allocations: 0 / 0.7558 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000129/0.4724, allocations: 49.59 kB / 0.7559 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.4725, allocations: 4 kB / 0.7559 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.4725, allocations: 4 kB / 0.7559 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.4725, allocations: 4.094 kB / 0.7559 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.4727, allocations: 7.984 kB / 0.7559 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.4727, allocations: 3.938 kB / 0.7559 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.081e-05/0.4728, allocations: 7.953 kB / 0.7559 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.4728, allocations: 0 / 0.7559 GB, free: 4.93 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 (2): * Single equations (assignments): 2 * 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.173e-05/0.4729, allocations: 101 kB / 0.756 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.4729, allocations: 7.938 kB / 0.756 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/0.4731, allocations: 57.34 kB / 0.7561 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.435e-05/0.4731, allocations: 0 / 0.7561 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.4732, allocations: 0 / 0.7561 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.4732, allocations: 3.984 kB / 0.7561 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.4734, allocations: 161.6 kB / 0.7562 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4734, allocations: 0 / 0.7562 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.806e-05/0.4735, allocations: 7.984 kB / 0.7562 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.4735, allocations: 0 / 0.7562 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.4735, allocations: 0 / 0.7562 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.4736, allocations: 0 / 0.7562 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4736, allocations: 0 / 0.7562 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.4738, allocations: 159.4 kB / 0.7564 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.257e-05/0.4738, allocations: 77.11 kB / 0.7565 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.4739, allocations: 0 / 0.7565 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.407e-05/0.474, allocations: 4 kB / 0.7565 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.474, allocations: 3.984 kB / 0.7565 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.474, allocations: 3.938 kB / 0.7565 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.119e-05/0.4741, allocations: 91.31 kB / 0.7566 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.31e-07/0.4741, allocations: 0 / 0.7566 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000354/0.4745, allocations: 23.94 kB / 0.7566 GB, free: 4.148 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 (2): * Single equations (assignments): 2 * 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.0006534/0.4751, allocations: 0.7083 MB / 0.7573 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001161/0.4753, allocations: 16.03 kB / 0.7573 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4753, allocations: 0 / 0.7573 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.869e-05/0.4753, allocations: 8 kB / 0.7573 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.4755, allocations: 1.875 kB / 0.7573 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004989/0.4761, allocations: 106.6 kB / 0.7574 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.4764, allocations: 0.677 MB / 0.7581 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.476e-05/0.4765, allocations: 8 kB / 0.7581 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.383e-05/0.4765, allocations: 15.42 kB / 0.7581 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of SimCode: time 1.132e-06/0.4765, allocations: 8.062 kB / 0.7581 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02051/0.4971, allocations: 1.329 MB / 0.7594 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003139/0.4975, allocations: 155.3 kB / 0.7595 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.292/2.79, allocations: 0 / 0.7595 GB, free: 1.02 MB / 0.6355 GB