Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold") Notification: Performance of loadModel(Buildings): time 3.982/3.982, allocations: 432.8 MB / 444.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.448e-05/3.467e-05, allocations: 4.375 kB / 0.5337 GB, free: 12.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1711, allocations: 98.73 MB / 0.6301 GB, free: 6.191 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1936/0.3648, allocations: 124.5 MB / 0.7517 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.365, allocations: 71.95 kB / 0.7517 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003215/0.3683, allocations: 0.8878 MB / 0.7526 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.266e-06/0.3683, allocations: 0 / 0.7526 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.3683, allocations: 4 kB / 0.7526 GB, free: 8.59 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005133/0.3688, allocations: 362.3 kB / 0.753 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.3689, allocations: 8.031 kB / 0.753 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.3689, allocations: 11.91 kB / 0.753 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.3691, allocations: 175 kB / 0.7532 GB, free: 7.961 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.3691, allocations: 4 kB / 0.7532 GB, free: 7.957 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.3692, allocations: 4 kB / 0.7532 GB, free: 7.953 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.3693, allocations: 53.67 kB / 0.7532 GB, free: 7.895 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.175e-06/0.3693, allocations: 0 / 0.7532 GB, free: 7.895 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.3694, allocations: 3.984 kB / 0.7532 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.3694, allocations: 0 / 0.7532 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.119e-05/0.3695, allocations: 20 kB / 0.7532 GB, free: 7.871 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005865/0.3701, allocations: 296.8 kB / 0.7535 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.3702, allocations: 42.52 kB / 0.7536 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.912e-05/0.3703, allocations: 20.98 kB / 0.7536 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.3703, allocations: 0 / 0.7536 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000153/0.3705, allocations: 67.39 kB / 0.7536 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.64e-06/0.3705, allocations: 0 / 0.7536 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002441/0.3708, allocations: 81.61 kB / 0.7537 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.3708, allocations: 59.34 kB / 0.7538 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.23e-05/0.3709, allocations: 93 kB / 0.7539 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.371, allocations: 29.7 kB / 0.7539 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.491e-05/0.3711, allocations: 92.06 kB / 0.754 GB, free: 6.996 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.3711, allocations: 19.72 kB / 0.754 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.026e-06/0.3711, allocations: 0 / 0.754 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.3713, allocations: 318.8 kB / 0.7543 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.118e-05/0.3714, allocations: 23.94 kB / 0.7543 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.26e-05/0.3715, allocations: 40.3 kB / 0.7544 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.571e-05/0.3715, allocations: 16 kB / 0.7544 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.627e-06/0.3715, allocations: 0 / 0.7544 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000206/0.3718, allocations: 89.55 kB / 0.7545 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.3718, allocations: 4 kB / 0.7545 GB, free: 6.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.84e-06/0.3718, allocations: 4 kB / 0.7545 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.3718, allocations: 0 / 0.7545 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.372, allocations: 19.98 kB / 0.7545 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.372, allocations: 3.953 kB / 0.7545 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.518e-05/0.3721, allocations: 20.41 kB / 0.7545 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.3721, allocations: 11.98 kB / 0.7545 GB, free: 6.406 MB / 0.6355 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.zerOrdHol.firstTrigger,zerOrdHol.firstTrigger,$whenCondition1,zerOrdHol.sampleTrigger,$PRE.zerOrdHol.ySample,zerOrdHol.ySample) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.866e-05/0.3723, allocations: 113.1 kB / 0.7546 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/0.3723, allocations: 3.906 kB / 0.7546 GB, free: 6.285 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002205/0.3725, allocations: 86.23 kB / 0.7547 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.202e-06/0.3725, allocations: 0 / 0.7547 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.989e-06/0.3726, allocations: 0 / 0.7547 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.133e-06/0.3726, allocations: 3.953 kB / 0.7547 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000457/0.373, allocations: 342.5 kB / 0.7551 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.879e-06/0.3731, allocations: 0 / 0.7551 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.3732, allocations: 15.98 kB / 0.7551 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.765e-06/0.3732, allocations: 0 / 0.7551 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.3732, allocations: 0 / 0.7551 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.605e-06/0.3732, allocations: 3.953 kB / 0.7551 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.818e-06/0.3732, allocations: 0 / 0.7551 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.3735, allocations: 179.4 kB / 0.7552 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.068e-05/0.3736, allocations: 81.11 kB / 0.7553 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.3736, allocations: 7.938 kB / 0.7553 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.3737, allocations: 11.98 kB / 0.7553 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.3738, allocations: 11.94 kB / 0.7553 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.3738, allocations: 0 / 0.7553 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.671e-05/0.3739, allocations: 91.28 kB / 0.7554 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.09e-07/0.3739, allocations: 0 / 0.7554 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003308/0.3743, allocations: 8 kB / 0.7554 GB, free: 5.359 MB / 0.6355 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 (zerOrdHol.sampleTrigger,$whenCondition1,zerOrdHol.ySample,zerOrdHol.firstTrigger) * Number of discrete states: 1 (zerOrdHol.ySample) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.000137/0.3744, allocations: 103.2 kB / 0.7555 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001591/0.3746, allocations: 43.92 kB / 0.7556 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3746, allocations: 3.938 kB / 0.7556 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.015e-05/0.3747, allocations: 20 kB / 0.7556 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.3749, allocations: 12.25 kB / 0.7556 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/0.3752, allocations: 87.03 kB / 0.7557 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.3756, allocations: 0.683 MB / 0.7564 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.576e-05/0.3757, allocations: 8.172 kB / 0.7564 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.734e-05/0.3757, allocations: 11.44 kB / 0.7564 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of SimCode: time 1.399e-06/0.3757, allocations: 3.938 kB / 0.7564 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of Templates: time 0.00325/0.379, allocations: 0.5766 MB / 0.757 GB, free: 3.762 MB / 0.6355 GB