Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay") Notification: Performance of loadModel(Buildings): time 3.766/3.766, allocations: 403.3 MB / 415.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.954e-05/3.952e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.43 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4833/0.4833, allocations: 92.69 MB / 0.5896 GB, free: 14.36 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1814/0.6647, allocations: 121 MB / 0.7077 GB, free: 5.246 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/0.6651, allocations: 83.94 kB / 0.7078 GB, free: 5.164 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.00319/0.6683, allocations: 0.8938 MB / 0.7086 GB, free: 4.27 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.29e-06/0.6683, allocations: 0 / 0.7086 GB, free: 4.27 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.6683, allocations: 0 / 0.7086 GB, free: 4.27 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005151/0.6689, allocations: 350.5 kB / 0.709 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.6689, allocations: 8.031 kB / 0.709 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.76e-05/0.669, allocations: 11.86 kB / 0.709 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.6691, allocations: 167 kB / 0.7092 GB, free: 3.66 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.6692, allocations: 4 kB / 0.7092 GB, free: 3.656 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.6692, allocations: 4 kB / 0.7092 GB, free: 3.652 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.6693, allocations: 49.67 kB / 0.7092 GB, free: 3.598 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.6694, allocations: 3.984 kB / 0.7092 GB, free: 3.594 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.6694, allocations: 4 kB / 0.7092 GB, free: 3.59 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.6694, allocations: 7.938 kB / 0.7092 GB, free: 3.582 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.456e-05/0.6695, allocations: 15.95 kB / 0.7092 GB, free: 3.566 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004755/0.67, allocations: 280.9 kB / 0.7095 GB, free: 3.242 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.6701, allocations: 42.64 kB / 0.7096 GB, free: 3.191 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.072e-05/0.6702, allocations: 20.98 kB / 0.7096 GB, free: 3.168 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.6702, allocations: 3.938 kB / 0.7096 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001449/0.6704, allocations: 71.3 kB / 0.7096 GB, free: 3.082 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 2.712e-06/0.6704, allocations: 0 / 0.7096 GB, free: 3.082 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0002132/0.6706, allocations: 65.64 kB / 0.7097 GB, free: 3.012 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.6707, allocations: 51.41 kB / 0.7098 GB, free: 2.949 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.991e-05/0.6708, allocations: 101 kB / 0.7099 GB, free: 2.844 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.6708, allocations: 33.7 kB / 0.7099 GB, free: 2.805 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.773e-05/0.6709, allocations: 88.06 kB / 0.71 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.6709, allocations: 15.81 kB / 0.71 GB, free: 2.699 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.743e-06/0.671, allocations: 0 / 0.71 GB, free: 2.699 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.6711, allocations: 318.8 kB / 0.7103 GB, free: 2.379 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.659e-05/0.6712, allocations: 15.94 kB / 0.7103 GB, free: 2.363 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.675e-05/0.6713, allocations: 48.28 kB / 0.7103 GB, free: 2.301 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.196e-05/0.6713, allocations: 20 kB / 0.7104 GB, free: 2.281 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6713, allocations: 0 / 0.7104 GB, free: 2.281 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001916/0.6715, allocations: 77.53 kB / 0.7104 GB, free: 2.199 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.6716, allocations: 7.984 kB / 0.7105 GB, free: 2.191 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.699e-06/0.6716, allocations: 0 / 0.7105 GB, free: 2.191 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.6716, allocations: 7.953 kB / 0.7105 GB, free: 2.184 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.6718, allocations: 20.14 kB / 0.7105 GB, free: 2.164 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.6718, allocations: 12 kB / 0.7105 GB, free: 2.152 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.237e-05/0.6719, allocations: 11.94 kB / 0.7105 GB, free: 2.141 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.6719, allocations: 4 kB / 0.7105 GB, free: 2.137 MB / 0.5886 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 9.483e-05/0.672, allocations: 110.7 kB / 0.7106 GB, free: 2.023 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.6721, allocations: 11.89 kB / 0.7106 GB, free: 2.012 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/0.6723, allocations: 74.25 kB / 0.7107 GB, free: 1.934 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.6723, allocations: 0 / 0.7107 GB, free: 1.934 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.594e-06/0.6723, allocations: 7.953 kB / 0.7107 GB, free: 1.926 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.6723, allocations: 0 / 0.7107 GB, free: 1.926 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004209/0.6727, allocations: 318.6 kB / 0.711 GB, free: 1.559 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.837e-06/0.6728, allocations: 0 / 0.711 GB, free: 1.559 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.733e-05/0.6729, allocations: 15.92 kB / 0.711 GB, free: 1.543 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.191e-06/0.6729, allocations: 4 kB / 0.711 GB, free: 1.539 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.6729, allocations: 3.953 kB / 0.711 GB, free: 1.535 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.138e-06/0.6729, allocations: 0 / 0.711 GB, free: 1.535 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.779e-06/0.6729, allocations: 7.938 kB / 0.711 GB, free: 1.527 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.6732, allocations: 167.4 kB / 0.7112 GB, free: 1.348 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.804e-05/0.6732, allocations: 77.11 kB / 0.7113 GB, free: 1.254 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.6733, allocations: 8 kB / 0.7113 GB, free: 1.246 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.6734, allocations: 15.94 kB / 0.7113 GB, free: 1.23 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.6735, allocations: 0 / 0.7113 GB, free: 1.23 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.6735, allocations: 8 kB / 0.7113 GB, free: 1.223 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.508e-05/0.6736, allocations: 91.33 kB / 0.7114 GB, free: 1.133 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.96e-07/0.6736, allocations: 0 / 0.7114 GB, free: 1.133 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003615/0.6739, allocations: 8.188 kB / 0.7114 GB, free: 1.125 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: 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.0001463/0.6741, allocations: 116.3 kB / 0.7115 GB, free: 1.004 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001502/0.6743, allocations: 36.19 kB / 0.7115 GB, free: 0.9688 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.6743, allocations: 0 / 0.7115 GB, free: 0.9688 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.35e-05/0.6744, allocations: 20.25 kB / 0.7116 GB, free: 0.9492 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.6746, allocations: 11.98 kB / 0.7116 GB, free: 0.9375 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002874/0.6749, allocations: 77.23 kB / 0.7116 GB, free: 0.8359 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.6753, allocations: 0.6848 MB / 0.7123 GB, free: 128 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.738e-05/0.6753, allocations: 4.188 kB / 0.7123 GB, free: 124 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.241e-05/0.6754, allocations: 11.44 kB / 0.7123 GB, free: 112 kB / 0.5886 GB Notification: Performance of SimCode: time 1.724e-06/0.6754, allocations: 0 / 0.7123 GB, free: 112 kB / 0.5886 GB Notification: Performance of Templates: time 0.003181/0.6786, allocations: 0.5591 MB / 0.7129 GB, free: 15.55 MB / 0.6042 GB