Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay") Notification: Performance of loadModel(Buildings): time 4.859/4.859, allocations: 458.9 MB / 473.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.419e-05/4.42e-05, allocations: 5.188 kB / 0.5697 GB, free: 9.812 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2619, allocations: 106.2 MB / 0.6734 GB, free: 2.637 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay): time 0.001869/0.2638, allocations: 1.105 MB / 0.6745 GB, free: 1.52 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0005474/0.2644, allocations: 208.3 kB / 0.6747 GB, free: 1.312 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.229e-05/0.2645, allocations: 4 kB / 0.6747 GB, free: 1.309 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 2.162e-05/0.2645, allocations: 3.938 kB / 0.6747 GB, free: 1.305 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 5.948e-05/0.2646, allocations: 11.97 kB / 0.6747 GB, free: 1.293 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001403/0.2647, allocations: 15.98 kB / 0.6748 GB, free: 1.277 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 7.166e-05/0.2648, allocations: 23.91 kB / 0.6748 GB, free: 1.254 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 7.602e-05/0.2649, allocations: 0 / 0.6748 GB, free: 1.254 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 6.486e-05/0.265, allocations: 15.98 kB / 0.6748 GB, free: 1.238 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 5.432e-05/0.265, allocations: 19.91 kB / 0.6748 GB, free: 1.219 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 1.763e-05/0.2651, allocations: 4 kB / 0.6748 GB, free: 1.215 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.2651, allocations: 3.938 kB / 0.6748 GB, free: 1.211 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.2651, allocations: 4 kB / 0.6748 GB, free: 1.207 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 1.915e-05/0.2651, allocations: 8 kB / 0.6748 GB, free: 1.199 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 7.266e-05/0.2652, allocations: 27.92 kB / 0.6749 GB, free: 1.172 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2652, allocations: 0 / 0.6749 GB, free: 1.172 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2652, allocations: 0 / 0.6749 GB, free: 1.172 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.2653, allocations: 0 / 0.6749 GB, free: 1.172 MB / 0.5417 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.0006417/0.2659, allocations: 363.5 kB / 0.6752 GB, free: 0.7695 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.266, allocations: 16.03 kB / 0.6752 GB, free: 0.7539 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.266, allocations: 3.906 kB / 0.6752 GB, free: 0.75 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.2662, allocations: 171 kB / 0.6754 GB, free: 0.543 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.2662, allocations: 4 kB / 0.6754 GB, free: 0.5391 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.2662, allocations: 4 kB / 0.6754 GB, free: 0.5352 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003051/0.2665, allocations: 73.62 kB / 0.6755 GB, free: 468 kB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.108e-06/0.2666, allocations: 3.938 kB / 0.6755 GB, free: 464 kB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.2666, allocations: 8 kB / 0.6755 GB, free: 456 kB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.2666, allocations: 0 / 0.6755 GB, free: 456 kB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003163/0.2669, allocations: 47.95 kB / 0.6755 GB, free: 408 kB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004978/0.2674, allocations: 288.7 kB / 0.6758 GB, free: 68 kB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.2677, allocations: 62.61 kB / 0.6759 GB, free: 16 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.2677, allocations: 0 / 0.6759 GB, free: 16 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002605/0.268, allocations: 79.58 kB / 0.6759 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.268, allocations: 0 / 0.6759 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6): time 0.0006347/0.2687, allocations: 137.5 kB / 0.6761 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.2687, allocations: 55.36 kB / 0.6761 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.689e-05/0.2688, allocations: 101 kB / 0.6762 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.2689, allocations: 29.7 kB / 0.6762 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.724e-05/0.2689, allocations: 84.42 kB / 0.6763 GB, free: 15.47 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.269, allocations: 15.8 kB / 0.6763 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-06/0.269, allocations: 4 kB / 0.6763 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.2691, allocations: 314.8 kB / 0.6766 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.2693, allocations: 31.97 kB / 0.6767 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.2695, allocations: 68.2 kB / 0.6767 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.2697, allocations: 31.98 kB / 0.6768 GB, free: 14.99 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2697, allocations: 0 / 0.6768 GB, free: 14.99 MB / 0.5573 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004395/0.2702, allocations: 121.4 kB / 0.6769 GB, free: 14.87 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.2702, allocations: 4.188 kB / 0.6769 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2702, allocations: 4 kB / 0.6769 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.2703, allocations: 3.938 kB / 0.6769 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.2705, allocations: 20.14 kB / 0.6769 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.2705, allocations: 4 kB / 0.6769 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.2706, allocations: 23.94 kB / 0.6769 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.2706, allocations: 4 kB / 0.6769 GB, free: 14.8 MB / 0.5573 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.0001103/0.2708, allocations: 121.7 kB / 0.6771 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.2708, allocations: 3.906 kB / 0.6771 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004427/0.2712, allocations: 110.3 kB / 0.6772 GB, free: 14.56 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.2713, allocations: 4.047 kB / 0.6772 GB, free: 14.56 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.2713, allocations: 4 kB / 0.6772 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2713, allocations: 3.984 kB / 0.6772 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006559/0.272, allocations: 366.5 kB / 0.6775 GB, free: 14.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.272, allocations: 7.922 kB / 0.6775 GB, free: 14.13 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.2721, allocations: 8 kB / 0.6775 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.2721, allocations: 0 / 0.6775 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.2721, allocations: 4 kB / 0.6775 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.2721, allocations: 3.984 kB / 0.6775 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.2722, allocations: 7.953 kB / 0.6776 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004427/0.2726, allocations: 199.4 kB / 0.6777 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.941e-05/0.2727, allocations: 77.11 kB / 0.6778 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.2727, allocations: 4 kB / 0.6778 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.2729, allocations: 15.98 kB / 0.6778 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.2729, allocations: 7.984 kB / 0.6778 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.273, allocations: 3.953 kB / 0.6779 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.133e-05/0.273, allocations: 87.28 kB / 0.6779 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.91e-07/0.273, allocations: 0 / 0.6779 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002889/0.2733, allocations: 11.98 kB / 0.6779 GB, free: 13.67 MB / 0.5573 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.0001401/0.2735, allocations: 105 kB / 0.678 GB, free: 13.56 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004136/0.2739, allocations: 75.89 kB / 0.6781 GB, free: 13.48 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2739, allocations: 0 / 0.6781 GB, free: 13.48 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001881/0.2741, allocations: 36.28 kB / 0.6782 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.2744, allocations: 6.969 kB / 0.6782 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00039/0.2748, allocations: 140.8 kB / 0.6783 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.2751, allocations: 0.6887 MB / 0.679 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4e-05/0.2751, allocations: 4.188 kB / 0.679 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.81e-05/0.2752, allocations: 11.44 kB / 0.679 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of SimCode: time 6.61e-07/0.2752, allocations: 3.938 kB / 0.679 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of Templates: time 0.003521/0.2787, allocations: 0.5671 MB / 0.6795 GB, free: 11.98 MB / 0.5573 GB