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.716/3.716, allocations: 403.9 MB / 411 MB, free: 332 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.679e-05/2.696e-05, allocations: 7.938 kB / 0.4942 GB, free: 1.402 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5462/0.5463, allocations: 92.7 MB / 0.5847 GB, free: 2.387 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1803/0.7266, allocations: 120.3 MB / 0.7022 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/0.7269, allocations: 83.89 kB / 0.7022 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.003004/0.7299, allocations: 0.8822 MB / 0.7031 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.227e-06/0.73, allocations: 0 / 0.7031 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.73, allocations: 0 / 0.7031 GB, free: 8.973 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.0004693/0.7305, allocations: 350.5 kB / 0.7034 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.7305, allocations: 8.031 kB / 0.7034 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.7306, allocations: 11.86 kB / 0.7035 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.7307, allocations: 174.9 kB / 0.7036 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.7308, allocations: 4 kB / 0.7036 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.7308, allocations: 0 / 0.7036 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.449e-05/0.7309, allocations: 20 kB / 0.7036 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.731, allocations: 41.69 kB / 0.7037 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.731, allocations: 0 / 0.7037 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.731, allocations: 0 / 0.7037 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.182e-06/0.7311, allocations: 11.89 kB / 0.7037 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004417/0.7315, allocations: 257.4 kB / 0.7039 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.7316, allocations: 38.58 kB / 0.704 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.403e-05/0.7317, allocations: 17.11 kB / 0.704 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.7317, allocations: 0 / 0.704 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001299/0.7319, allocations: 67.3 kB / 0.7041 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 2.308e-06/0.7319, allocations: 4 kB / 0.7041 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0002108/0.7321, allocations: 65.59 kB / 0.7041 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.7322, allocations: 59.47 kB / 0.7042 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.014e-05/0.7323, allocations: 101 kB / 0.7043 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.7323, allocations: 25.7 kB / 0.7043 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.268e-05/0.7324, allocations: 80.14 kB / 0.7044 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.7324, allocations: 19.8 kB / 0.7044 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.228e-06/0.7324, allocations: 0 / 0.7044 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.7326, allocations: 318.8 kB / 0.7047 GB, free: 7.137 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.876e-05/0.7326, allocations: 12 kB / 0.7047 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.102e-05/0.7327, allocations: 40.28 kB / 0.7048 GB, free: 7.07 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.434e-05/0.7328, allocations: 15.94 kB / 0.7048 GB, free: 7.055 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.654e-06/0.7328, allocations: 8.188 kB / 0.7048 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001771/0.733, allocations: 73.53 kB / 0.7048 GB, free: 6.969 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.733, allocations: 7.938 kB / 0.7049 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.446e-06/0.733, allocations: 4 kB / 0.7049 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.733, allocations: 0 / 0.7049 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.7332, allocations: 19.98 kB / 0.7049 GB, free: 6.938 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.7332, allocations: 11.89 kB / 0.7049 GB, free: 6.926 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.179e-05/0.7333, allocations: 20.08 kB / 0.7049 GB, free: 6.906 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.7333, allocations: 320 / 0.7049 GB, free: 6.906 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 8.879e-05/0.7334, allocations: 106.8 kB / 0.705 GB, free: 6.797 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.7334, allocations: 7.906 kB / 0.705 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/0.7336, allocations: 70.3 kB / 0.7051 GB, free: 6.711 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.564e-06/0.7337, allocations: 0 / 0.7051 GB, free: 6.711 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.642e-06/0.7337, allocations: 7.984 kB / 0.7051 GB, free: 6.703 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.947e-06/0.7337, allocations: 3.953 kB / 0.7051 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003638/0.7341, allocations: 295.1 kB / 0.7054 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.7341, allocations: 0 / 0.7054 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.411e-05/0.7342, allocations: 15.98 kB / 0.7054 GB, free: 6.352 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.51e-06/0.7342, allocations: 3.938 kB / 0.7054 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.7342, allocations: 0 / 0.7054 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.377e-06/0.7342, allocations: 4 kB / 0.7054 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.282e-06/0.7342, allocations: 3.953 kB / 0.7054 GB, free: 6.34 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.7344, allocations: 171.6 kB / 0.7056 GB, free: 6.156 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.708e-05/0.7345, allocations: 81.11 kB / 0.7056 GB, free: 6.059 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.7345, allocations: 4 kB / 0.7056 GB, free: 6.055 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.7347, allocations: 11.98 kB / 0.7057 GB, free: 6.043 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.7348, allocations: 3.953 kB / 0.7057 GB, free: 6.039 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.7348, allocations: 7.984 kB / 0.7057 GB, free: 6.031 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.619e-05/0.7348, allocations: 91.27 kB / 0.7058 GB, free: 5.941 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.92e-07/0.7349, allocations: 0 / 0.7058 GB, free: 5.941 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003284/0.7352, allocations: 8 kB / 0.7058 GB, free: 5.934 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.0001252/0.7353, allocations: 103 kB / 0.7059 GB, free: 5.824 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001358/0.7355, allocations: 35.94 kB / 0.7059 GB, free: 5.789 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.478e-06/0.7355, allocations: 0 / 0.7059 GB, free: 5.789 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.038e-05/0.7356, allocations: 19.98 kB / 0.7059 GB, free: 5.77 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.7358, allocations: 9.859 kB / 0.7059 GB, free: 5.762 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002708/0.7361, allocations: 72.12 kB / 0.706 GB, free: 5.664 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.7364, allocations: 0.6923 MB / 0.7067 GB, free: 4.945 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.538e-05/0.7365, allocations: 192 / 0.7067 GB, free: 4.945 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.522e-05/0.7365, allocations: 11.44 kB / 0.7067 GB, free: 4.934 MB / 0.5886 GB Notification: Performance of SimCode: time 1.117e-06/0.7365, allocations: 3.938 kB / 0.7067 GB, free: 4.93 MB / 0.5886 GB Notification: Performance of Templates: time 0.002977/0.7395, allocations: 0.518 MB / 0.7072 GB, free: 4.418 MB / 0.5886 GB