Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay") Notification: Performance of loadModel(Buildings): time 4.034/4.034, allocations: 432.8 MB / 444.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.132e-05/3.143e-05, allocations: 9.312 kB / 0.5337 GB, free: 12.19 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1749, allocations: 98.71 MB / 0.6301 GB, free: 6.219 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1926/0.3676, allocations: 124.5 MB / 0.7517 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/0.3678, allocations: 67.97 kB / 0.7517 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003048/0.3709, allocations: 0.8683 MB / 0.7526 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.891e-06/0.3709, allocations: 0 / 0.7526 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.774e-06/0.3709, allocations: 0 / 0.7526 GB, free: 8.645 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005037/0.3715, allocations: 354.4 kB / 0.7529 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3715, allocations: 12.03 kB / 0.7529 GB, free: 8.242 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.3716, allocations: 3.906 kB / 0.7529 GB, free: 8.238 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.3717, allocations: 171 kB / 0.7531 GB, free: 8.031 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.3718, allocations: 8 kB / 0.7531 GB, free: 8.023 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.3718, allocations: 0 / 0.7531 GB, free: 8.023 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.372, allocations: 57.61 kB / 0.7532 GB, free: 7.961 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.372, allocations: 0 / 0.7532 GB, free: 7.961 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.372, allocations: 0 / 0.7532 GB, free: 7.961 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.372, allocations: 0 / 0.7532 GB, free: 7.961 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.148e-05/0.3721, allocations: 16 kB / 0.7532 GB, free: 7.945 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004977/0.3726, allocations: 280.8 kB / 0.7534 GB, free: 7.621 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.3728, allocations: 54.56 kB / 0.7535 GB, free: 7.559 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.948e-05/0.3728, allocations: 17.05 kB / 0.7535 GB, free: 7.539 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.3729, allocations: 3.938 kB / 0.7535 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.373, allocations: 67.47 kB / 0.7536 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 4.784e-06/0.373, allocations: 3.984 kB / 0.7536 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002135/0.3733, allocations: 73.55 kB / 0.7537 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.3733, allocations: 51.41 kB / 0.7537 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.3734, allocations: 104.9 kB / 0.7538 GB, free: 7.203 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.3735, allocations: 29.7 kB / 0.7538 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.112e-05/0.3735, allocations: 88.08 kB / 0.7539 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.3736, allocations: 15.81 kB / 0.7539 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.12e-05/0.3736, allocations: 4 kB / 0.7539 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3738, allocations: 318.8 kB / 0.7542 GB, free: 6.738 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.728e-05/0.3738, allocations: 12 kB / 0.7543 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.69e-05/0.3739, allocations: 44.3 kB / 0.7543 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.932e-05/0.374, allocations: 19.98 kB / 0.7543 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.297e-06/0.374, allocations: 4 kB / 0.7543 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002014/0.3742, allocations: 85.47 kB / 0.7544 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3742, allocations: 6.344 kB / 0.7544 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.238e-06/0.3743, allocations: 0 / 0.7544 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3743, allocations: 4.156 kB / 0.7544 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.3744, allocations: 19.98 kB / 0.7544 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.3745, allocations: 3.953 kB / 0.7544 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.342e-05/0.3746, allocations: 11.98 kB / 0.7544 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.3746, allocations: 4 kB / 0.7544 GB, free: 6.508 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.unitDelay1.y,unitDelay1.y,$PRE.unitDelay1.firstTrigger,unitDelay1.firstTrigger,$whenCondition1,unitDelay1.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 0.000101/0.3747, allocations: 116.2 kB / 0.7546 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.3747, allocations: 0 / 0.7546 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002095/0.375, allocations: 86.2 kB / 0.7546 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.91e-06/0.375, allocations: 0 / 0.7546 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.07e-06/0.375, allocations: 0 / 0.7546 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.709e-06/0.375, allocations: 3.953 kB / 0.7546 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004418/0.3755, allocations: 322.5 kB / 0.755 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.819e-06/0.3755, allocations: 0 / 0.755 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.081e-05/0.3756, allocations: 8 kB / 0.755 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.368e-06/0.3756, allocations: 0 / 0.755 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.3756, allocations: 15.98 kB / 0.755 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.854e-06/0.3756, allocations: 4.141 kB / 0.755 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.639e-06/0.3756, allocations: 4 kB / 0.755 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.3759, allocations: 159.5 kB / 0.7551 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.776e-05/0.3759, allocations: 81.2 kB / 0.7552 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.376, allocations: 0 / 0.7552 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.3761, allocations: 19.92 kB / 0.7552 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.3762, allocations: 15.88 kB / 0.7552 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.3762, allocations: 4 kB / 0.7552 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.538e-05/0.3763, allocations: 83.28 kB / 0.7553 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.053e-06/0.3763, allocations: 0 / 0.7553 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003256/0.3766, allocations: 15.94 kB / 0.7553 GB, free: 5.484 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: 4 (unitDelay1.sampleTrigger,$whenCondition1,unitDelay1.y,unitDelay1.firstTrigger) * Number of discrete states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001375/0.3768, allocations: 99.25 kB / 0.7554 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001574/0.377, allocations: 52.11 kB / 0.7555 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.637e-06/0.377, allocations: 0 / 0.7555 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.596e-05/0.377, allocations: 16 kB / 0.7555 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.3773, allocations: 8 kB / 0.7555 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002796/0.3776, allocations: 77.09 kB / 0.7556 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.378, allocations: 0.6848 MB / 0.7563 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.982e-05/0.378, allocations: 8.172 kB / 0.7563 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.106e-05/0.3781, allocations: 11.5 kB / 0.7563 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of SimCode: time 1.278e-06/0.3781, allocations: 4 kB / 0.7563 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of Templates: time 0.003206/0.3813, allocations: 0.5592 MB / 0.7568 GB, free: 3.918 MB / 0.6355 GB