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.229/4.229, allocations: 431.3 MB / 445.8 MB, free: 5.43 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.966e-05/2.964e-05, allocations: 4 kB / 0.5354 GB, free: 14.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6734/0.6735, allocations: 98.71 MB / 0.6318 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay): time 0.001893/0.6754, allocations: 1.094 MB / 0.6329 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0005906/0.676, allocations: 208.3 kB / 0.6331 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.809e-05/0.6761, allocations: 7.938 kB / 0.6331 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.971e-05/0.6761, allocations: 3.938 kB / 0.6331 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.217e-05/0.6762, allocations: 7.984 kB / 0.6331 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001409/0.6764, allocations: 7.984 kB / 0.6331 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7e-05/0.6764, allocations: 27.91 kB / 0.6331 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.218e-05/0.6765, allocations: 7.984 kB / 0.6331 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 6.682e-05/0.6766, allocations: 12 kB / 0.6332 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.746e-05/0.6767, allocations: 19.91 kB / 0.6332 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 1.882e-05/0.6767, allocations: 4 kB / 0.6332 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.6768, allocations: 3.984 kB / 0.6332 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.684e-05/0.6768, allocations: 8 kB / 0.6332 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.687e-05/0.6768, allocations: 0 / 0.6332 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 8.783e-05/0.6769, allocations: 31.94 kB / 0.6332 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.6769, allocations: 0 / 0.6332 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.013e-06/0.6769, allocations: 0 / 0.6332 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.6769, allocations: 0 / 0.6332 GB, free: 10.52 MB / 0.5105 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.0006761/0.6776, allocations: 361.7 kB / 0.6336 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.6777, allocations: 8.031 kB / 0.6336 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.6777, allocations: 11.89 kB / 0.6336 GB, free: 10.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.6779, allocations: 174.9 kB / 0.6337 GB, free: 9.891 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.6779, allocations: 3.984 kB / 0.6338 GB, free: 9.887 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.678, allocations: 8 kB / 0.6338 GB, free: 9.879 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002853/0.6783, allocations: 69.66 kB / 0.6338 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.6783, allocations: 0 / 0.6338 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.6783, allocations: 7.938 kB / 0.6338 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.6783, allocations: 0 / 0.6338 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003194/0.6787, allocations: 51.94 kB / 0.6339 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005313/0.6792, allocations: 280.8 kB / 0.6342 GB, free: 9.422 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.6795, allocations: 66.61 kB / 0.6342 GB, free: 9.348 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.6795, allocations: 0 / 0.6342 GB, free: 9.348 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002731/0.6798, allocations: 83.5 kB / 0.6343 GB, free: 9.254 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=6): time 1.994e-06/0.6798, allocations: 0 / 0.6343 GB, free: 9.254 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0006389/0.6805, allocations: 137.5 kB / 0.6344 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.6805, allocations: 59.36 kB / 0.6345 GB, free: 9.043 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.704e-05/0.6806, allocations: 101 kB / 0.6346 GB, free: 8.938 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.6807, allocations: 29.7 kB / 0.6346 GB, free: 8.902 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.584e-05/0.6807, allocations: 84.14 kB / 0.6347 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.6808, allocations: 15.75 kB / 0.6347 GB, free: 8.801 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.117e-05/0.6808, allocations: 8 kB / 0.6347 GB, free: 8.793 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.6809, allocations: 315.4 kB / 0.635 GB, free: 8.477 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.6811, allocations: 27.98 kB / 0.635 GB, free: 8.449 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.6813, allocations: 68.2 kB / 0.6351 GB, free: 8.367 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.6815, allocations: 27.98 kB / 0.6351 GB, free: 8.34 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.6815, allocations: 0 / 0.6351 GB, free: 8.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004463/0.682, allocations: 129.4 kB / 0.6353 GB, free: 8.207 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.682, allocations: 4 kB / 0.6353 GB, free: 8.203 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.682, allocations: 4 kB / 0.6353 GB, free: 8.199 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.6821, allocations: 160 / 0.6353 GB, free: 8.199 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.6822, allocations: 19.98 kB / 0.6353 GB, free: 8.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.6823, allocations: 4 kB / 0.6353 GB, free: 8.176 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.6824, allocations: 15.94 kB / 0.6353 GB, free: 8.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.6824, allocations: 4 kB / 0.6353 GB, free: 8.156 MB / 0.5105 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.0001003/0.6825, allocations: 117.8 kB / 0.6354 GB, free: 8.031 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.901e-05/0.6825, allocations: 7.906 kB / 0.6354 GB, free: 8.023 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004443/0.683, allocations: 110 kB / 0.6355 GB, free: 7.91 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.683, allocations: 0 / 0.6355 GB, free: 7.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.683, allocations: 0 / 0.6355 GB, free: 7.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.683, allocations: 0 / 0.6355 GB, free: 7.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006879/0.6837, allocations: 366.5 kB / 0.6359 GB, free: 7.496 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.6838, allocations: 4 kB / 0.6359 GB, free: 7.492 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.6839, allocations: 15.92 kB / 0.6359 GB, free: 7.477 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.6839, allocations: 0 / 0.6359 GB, free: 7.477 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.6839, allocations: 384 / 0.6359 GB, free: 7.477 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.6839, allocations: 4 kB / 0.6359 GB, free: 7.473 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.6839, allocations: 3.953 kB / 0.6359 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004565/0.6844, allocations: 211.3 kB / 0.6361 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.65e-05/0.6845, allocations: 81.3 kB / 0.6362 GB, free: 7.148 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.6845, allocations: 0 / 0.6362 GB, free: 7.148 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.6847, allocations: 15.92 kB / 0.6362 GB, free: 7.133 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.6847, allocations: 8 kB / 0.6362 GB, free: 7.125 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.6848, allocations: 7.938 kB / 0.6362 GB, free: 7.117 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.813e-05/0.6848, allocations: 83.28 kB / 0.6363 GB, free: 7.035 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.9e-07/0.6848, allocations: 0 / 0.6363 GB, free: 7.035 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003024/0.6852, allocations: 12 kB / 0.6363 GB, free: 7.023 MB / 0.5105 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.0001517/0.6853, allocations: 115.2 kB / 0.6364 GB, free: 6.898 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004147/0.6857, allocations: 75.89 kB / 0.6365 GB, free: 6.824 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.6858, allocations: 320 / 0.6365 GB, free: 6.824 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.686, allocations: 31.98 kB / 0.6365 GB, free: 6.793 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.6862, allocations: 7.984 kB / 0.6365 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003965/0.6866, allocations: 144.8 kB / 0.6367 GB, free: 6.617 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.6869, allocations: 0.6887 MB / 0.6373 GB, free: 5.902 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.212e-05/0.687, allocations: 4.188 kB / 0.6373 GB, free: 5.898 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.687, allocations: 11.44 kB / 0.6373 GB, free: 5.887 MB / 0.5105 GB Notification: Performance of SimCode: time 6.61e-07/0.687, allocations: 0 / 0.6373 GB, free: 5.887 MB / 0.5105 GB Notification: Performance of Templates: time 0.003448/0.6905, allocations: 0.5552 MB / 0.6379 GB, free: 5.336 MB / 0.5105 GB