Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadModel(Buildings): time 3.887/3.887, allocations: 432.8 MB / 444.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.562e-05/3.596e-05, allocations: 4 kB / 0.5337 GB, free: 12.19 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.172, allocations: 98.73 MB / 0.6301 GB, free: 6.227 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2283/0.4004, allocations: 125.2 MB / 0.7524 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004127/0.4008, allocations: 71.95 kB / 0.7524 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008945/0.4098, allocations: 1.359 MB / 0.7537 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.033e-06/0.4099, allocations: 0 / 0.7537 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.829e-06/0.4099, allocations: 0 / 0.7537 GB, free: 7.438 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.0005311/0.4105, allocations: 346.4 kB / 0.7541 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.4105, allocations: 8.031 kB / 0.7541 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.4106, allocations: 0 / 0.7541 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.4108, allocations: 182.8 kB / 0.7543 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.4108, allocations: 0 / 0.7543 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.4109, allocations: 4 kB / 0.7543 GB, free: 6.824 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.411, allocations: 37.69 kB / 0.7543 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.4111, allocations: 0 / 0.7543 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.4111, allocations: 0 / 0.7543 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.377e-06/0.4111, allocations: 0 / 0.7543 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.463e-05/0.4112, allocations: 15.98 kB / 0.7543 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005071/0.4117, allocations: 248.9 kB / 0.7546 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.4119, allocations: 30.52 kB / 0.7546 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.59e-05/0.4119, allocations: 16.91 kB / 0.7546 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001207/0.4132, allocations: 469.5 kB / 0.755 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/0.4132, allocations: 30.56 kB / 0.7551 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 3.268e-06/0.4133, allocations: 0 / 0.7551 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002405/0.4135, allocations: 37.73 kB / 0.7551 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.4136, allocations: 63.36 kB / 0.7552 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.947e-05/0.4137, allocations: 101 kB / 0.7553 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.4137, allocations: 25.7 kB / 0.7553 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.121e-05/0.4138, allocations: 84.14 kB / 0.7554 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.4138, allocations: 11.84 kB / 0.7554 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/0.4138, allocations: 0 / 0.7554 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.414, allocations: 318.8 kB / 0.7557 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.923e-05/0.4141, allocations: 7.938 kB / 0.7557 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.553e-05/0.4141, allocations: 12 kB / 0.7557 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.264e-05/0.4141, allocations: 4 kB / 0.7557 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4141, allocations: 0 / 0.7557 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001175/0.4143, allocations: 49.59 kB / 0.7558 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.4143, allocations: 4 kB / 0.7558 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.4143, allocations: 0 / 0.7558 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.4143, allocations: 0 / 0.7558 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.299e-05/0.4144, allocations: 4 kB / 0.7558 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.352e-06/0.4145, allocations: 4.094 kB / 0.7558 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.065e-05/0.4145, allocations: 15.88 kB / 0.7558 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.208e-06/0.4146, allocations: 320 / 0.7558 GB, free: 5.047 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.16e-05/0.4146, allocations: 109 kB / 0.7559 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.389e-05/0.4147, allocations: 0 / 0.7559 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001545/0.4149, allocations: 53.28 kB / 0.7559 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.302e-06/0.4149, allocations: 0 / 0.7559 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.169e-06/0.4149, allocations: 0 / 0.7559 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.4149, allocations: 4.031 kB / 0.7559 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.4151, allocations: 173.6 kB / 0.7561 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.4152, allocations: 4 kB / 0.7561 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.642e-05/0.4152, allocations: 4 kB / 0.7561 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4152, allocations: 0 / 0.7561 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.217e-06/0.4153, allocations: 4 kB / 0.7561 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.066e-06/0.4153, allocations: 0 / 0.7561 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.89e-06/0.4153, allocations: 7.969 kB / 0.7561 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.4155, allocations: 143.4 kB / 0.7563 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.4155, allocations: 81.05 kB / 0.7563 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.4156, allocations: 3.984 kB / 0.7563 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.092e-05/0.4157, allocations: 4 kB / 0.7564 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.4157, allocations: 4 kB / 0.7564 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.239e-06/0.4157, allocations: 4 kB / 0.7564 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.089e-05/0.4158, allocations: 87.25 kB / 0.7564 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.045e-06/0.4158, allocations: 0 / 0.7564 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003384/0.4162, allocations: 35.88 kB / 0.7565 GB, free: 4.246 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.0002072/0.4164, allocations: 123.2 kB / 0.7566 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.177e-05/0.4165, allocations: 12 kB / 0.7566 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.341e-06/0.4165, allocations: 0 / 0.7566 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.198e-05/0.4166, allocations: 4 kB / 0.7566 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/0.4168, allocations: 11.95 kB / 0.7566 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002393/0.417, allocations: 60.92 kB / 0.7567 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.4174, allocations: 0.685 MB / 0.7573 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.625e-05/0.4174, allocations: 4 kB / 0.7574 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.291e-05/0.4175, allocations: 7.438 kB / 0.7574 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of SimCode: time 1.383e-06/0.4175, allocations: 0 / 0.7574 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of Templates: time 0.003081/0.4206, allocations: 0.5948 MB / 0.7579 GB, free: 2.688 MB / 0.6355 GB