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.643/3.643, allocations: 402.1 MB / 416 MB, free: 10.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.296e-05/3.311e-05, allocations: 4 kB / 0.5003 GB, free: 8.211 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1681, allocations: 92.69 MB / 0.5909 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5855/0.7536, allocations: 121 MB / 0.709 GB, free: 5.461 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/0.7539, allocations: 87.94 kB / 0.7091 GB, free: 5.375 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.00313/0.7571, allocations: 0.8917 MB / 0.71 GB, free: 4.488 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.239e-06/0.7571, allocations: 0 / 0.71 GB, free: 4.488 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.91e-06/0.7571, allocations: 4 kB / 0.71 GB, free: 4.484 MB / 0.573 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.0005066/0.7577, allocations: 347.3 kB / 0.7103 GB, free: 4.098 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.7577, allocations: 16.03 kB / 0.7103 GB, free: 4.082 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.847e-05/0.7578, allocations: 11.84 kB / 0.7103 GB, free: 4.07 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.7579, allocations: 171 kB / 0.7105 GB, free: 3.863 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/0.758, allocations: 4.875 kB / 0.7105 GB, free: 3.859 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.758, allocations: 4 kB / 0.7105 GB, free: 3.855 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.7583, allocations: 69.59 kB / 0.7106 GB, free: 3.781 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.7583, allocations: 3.984 kB / 0.7106 GB, free: 3.777 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.7583, allocations: 8 kB / 0.7106 GB, free: 3.77 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.522e-06/0.7583, allocations: 0 / 0.7106 GB, free: 3.77 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002333/0.7586, allocations: 55.84 kB / 0.7106 GB, free: 3.715 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000491/0.7591, allocations: 276.9 kB / 0.7109 GB, free: 3.395 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.7593, allocations: 62.61 kB / 0.7109 GB, free: 3.324 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.7593, allocations: 0 / 0.7109 GB, free: 3.324 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002284/0.7596, allocations: 95.41 kB / 0.711 GB, free: 3.219 MB / 0.573 GB Notification: Performance of pre-optimization done (n=6): time 2.795e-06/0.7596, allocations: 0 / 0.711 GB, free: 3.219 MB / 0.573 GB Notification: Performance of matching and sorting (n=6): time 0.0005117/0.7601, allocations: 133.6 kB / 0.7112 GB, free: 3.082 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.7602, allocations: 52.39 kB / 0.7112 GB, free: 3.02 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.394e-05/0.7603, allocations: 101 kB / 0.7113 GB, free: 2.914 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.7603, allocations: 29.7 kB / 0.7113 GB, free: 2.879 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.7604, allocations: 84.14 kB / 0.7114 GB, free: 2.793 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.7604, allocations: 11.81 kB / 0.7114 GB, free: 2.781 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.094e-06/0.7604, allocations: 7.938 kB / 0.7114 GB, free: 2.773 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.7606, allocations: 318.8 kB / 0.7117 GB, free: 2.453 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.7608, allocations: 27.98 kB / 0.7118 GB, free: 2.426 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.7609, allocations: 60.27 kB / 0.7118 GB, free: 2.352 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.7611, allocations: 38.28 kB / 0.7119 GB, free: 2.316 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.7611, allocations: 0 / 0.7119 GB, free: 2.316 MB / 0.573 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003677/0.7615, allocations: 125.4 kB / 0.712 GB, free: 2.188 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.7615, allocations: 4 kB / 0.712 GB, free: 2.184 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.961e-06/0.7615, allocations: 4 kB / 0.712 GB, free: 2.18 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.7615, allocations: 0 / 0.712 GB, free: 2.18 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.7617, allocations: 20.09 kB / 0.712 GB, free: 2.16 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.7617, allocations: 11.94 kB / 0.712 GB, free: 2.148 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.7618, allocations: 19.92 kB / 0.712 GB, free: 2.129 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.843e-06/0.7619, allocations: 0 / 0.712 GB, free: 2.129 MB / 0.573 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.0001081/0.762, allocations: 113.8 kB / 0.7121 GB, free: 2.008 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.762, allocations: 7.906 kB / 0.7122 GB, free: 2 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000367/0.7624, allocations: 114 kB / 0.7123 GB, free: 1.887 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.7624, allocations: 0 / 0.7123 GB, free: 1.887 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.777e-06/0.7624, allocations: 3.953 kB / 0.7123 GB, free: 1.883 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.019e-06/0.7624, allocations: 0 / 0.7123 GB, free: 1.883 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006034/0.7631, allocations: 358.8 kB / 0.7126 GB, free: 1.477 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.7631, allocations: 4 kB / 0.7126 GB, free: 1.473 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.837e-05/0.7632, allocations: 15.92 kB / 0.7126 GB, free: 1.457 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/0.7632, allocations: 0 / 0.7126 GB, free: 1.457 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.7632, allocations: 7.953 kB / 0.7126 GB, free: 1.449 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.953e-06/0.7632, allocations: 4.312 kB / 0.7126 GB, free: 1.445 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.675e-06/0.7632, allocations: 0 / 0.7126 GB, free: 1.445 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003892/0.7636, allocations: 211.3 kB / 0.7128 GB, free: 1.223 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.557e-05/0.7637, allocations: 77.11 kB / 0.7129 GB, free: 1.129 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.7637, allocations: 0 / 0.7129 GB, free: 1.129 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.7639, allocations: 23.94 kB / 0.7129 GB, free: 1.105 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.764, allocations: 7.984 kB / 0.7129 GB, free: 1.098 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.545e-06/0.764, allocations: 0 / 0.7129 GB, free: 1.098 MB / 0.573 GB Notification: Performance of sorting global known variables: time 6.696e-05/0.7641, allocations: 87.28 kB / 0.713 GB, free: 1.012 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.46e-07/0.7641, allocations: 0 / 0.713 GB, free: 1.012 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003232/0.7644, allocations: 8 kB / 0.713 GB, free: 1.004 MB / 0.573 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.0001447/0.7646, allocations: 113.1 kB / 0.7131 GB, free: 0.8828 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0003213/0.7649, allocations: 75.89 kB / 0.7132 GB, free: 0.8086 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.552e-06/0.7649, allocations: 0 / 0.7132 GB, free: 0.8086 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.7651, allocations: 36.23 kB / 0.7133 GB, free: 0.7734 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.7653, allocations: 11.98 kB / 0.7133 GB, free: 0.7617 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003731/0.7657, allocations: 133.4 kB / 0.7134 GB, free: 0.5977 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.7661, allocations: 0.6926 MB / 0.7141 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.881e-05/0.7662, allocations: 4.188 kB / 0.7141 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/0.7662, allocations: 11.44 kB / 0.7141 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of SimCode: time 1.414e-06/0.7662, allocations: 0 / 0.7141 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of Templates: time 0.003169/0.7694, allocations: 0.5558 MB / 0.7146 GB, free: 15.31 MB / 0.5886 GB