Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold") Notification: Performance of loadModel(Buildings): time 4.35/4.35, allocations: 460.4 MB / 472.6 MB, free: 5.398 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.688e-05/3.706e-05, allocations: 4 kB / 0.5681 GB, free: 10.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2043, allocations: 106.2 MB / 0.6718 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7745/0.9789, allocations: 131.4 MB / 0.8001 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/0.9791, allocations: 69.98 kB / 0.8002 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002924/0.982, allocations: 0.8907 MB / 0.8011 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.071e-06/0.9821, allocations: 0 / 0.8011 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.35e-06/0.9821, allocations: 0 / 0.8011 GB, free: 12.74 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.0003984/0.9825, allocations: 356.8 kB / 0.8014 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.9826, allocations: 11.72 kB / 0.8014 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.9826, allocations: 13.23 kB / 0.8014 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.742e-05/0.9827, allocations: 175.6 kB / 0.8016 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.9827, allocations: 8.891 kB / 0.8016 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.9828, allocations: 3.844 kB / 0.8016 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.9829, allocations: 49.34 kB / 0.8016 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.151e-06/0.9829, allocations: 0 / 0.8016 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.9829, allocations: 3.984 kB / 0.8017 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.115e-06/0.983, allocations: 3.812 kB / 0.8017 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.832e-05/0.9831, allocations: 19.88 kB / 0.8017 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004709/0.9835, allocations: 302.7 kB / 0.802 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.9837, allocations: 39.88 kB / 0.802 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.822e-05/0.9837, allocations: 22.05 kB / 0.802 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.9838, allocations: 5.219 kB / 0.802 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001239/0.9839, allocations: 66.64 kB / 0.8021 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.786e-06/0.9839, allocations: 0 / 0.8021 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002134/0.9841, allocations: 83.7 kB / 0.8022 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.9842, allocations: 54.41 kB / 0.8022 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.159e-05/0.9843, allocations: 96.38 kB / 0.8023 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.9843, allocations: 25.7 kB / 0.8023 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.247e-05/0.9843, allocations: 90.73 kB / 0.8024 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.9844, allocations: 14.72 kB / 0.8024 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.169e-06/0.9844, allocations: 0 / 0.8024 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.271e-05/0.9844, allocations: 321.2 kB / 0.8027 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.347e-05/0.9845, allocations: 10.88 kB / 0.8028 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.663e-05/0.9846, allocations: 43.27 kB / 0.8028 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.742e-05/0.9846, allocations: 28.75 kB / 0.8028 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-05/0.9847, allocations: 0 / 0.8028 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001782/0.9849, allocations: 84.8 kB / 0.8029 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.9849, allocations: 3.844 kB / 0.8029 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.406e-06/0.9849, allocations: 3.844 kB / 0.8029 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.9849, allocations: 3.047 kB / 0.8029 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.9851, allocations: 21.92 kB / 0.8029 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.918e-06/0.9851, allocations: 3.953 kB / 0.8029 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.34e-05/0.9852, allocations: 18.3 kB / 0.803 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.9852, allocations: 7.781 kB / 0.803 GB, free: 11.04 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 6.212e-05/0.9853, allocations: 108.1 kB / 0.8031 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.939e-05/0.9853, allocations: 18.17 kB / 0.8031 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/0.9855, allocations: 77.78 kB / 0.8032 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.044e-06/0.9856, allocations: 4.188 kB / 0.8032 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.214e-06/0.9856, allocations: 3.844 kB / 0.8032 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.251e-06/0.9856, allocations: 7.891 kB / 0.8032 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003374/0.9859, allocations: 337.1 kB / 0.8035 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.991e-06/0.986, allocations: 0 / 0.8035 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.9861, allocations: 14.83 kB / 0.8035 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.341e-06/0.9861, allocations: 0 / 0.8035 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.9861, allocations: 0 / 0.8035 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.66e-06/0.9861, allocations: 11.09 kB / 0.8035 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.623e-06/0.9861, allocations: 3.938 kB / 0.8035 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.9863, allocations: 171.4 kB / 0.8037 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.22e-05/0.9864, allocations: 80.3 kB / 0.8038 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.9864, allocations: 0 / 0.8038 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.9866, allocations: 13.81 kB / 0.8038 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.9866, allocations: 19.34 kB / 0.8038 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.9867, allocations: 7.844 kB / 0.8038 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.55e-05/0.9867, allocations: 82.06 kB / 0.8039 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.46e-07/0.9867, allocations: 0 / 0.8039 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003576/0.9871, allocations: 14.28 kB / 0.8039 GB, free: 10.25 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.0001217/0.9872, allocations: 99.11 kB / 0.804 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001481/0.9874, allocations: 46.11 kB / 0.804 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.44e-06/0.9874, allocations: 4.25 kB / 0.804 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.194e-05/0.9875, allocations: 18.31 kB / 0.8041 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.9877, allocations: 11 kB / 0.8041 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002568/0.988, allocations: 97.09 kB / 0.8042 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/0.9885, allocations: 0.687 MB / 0.8048 GB, free: 25.37 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.196e-05/0.9885, allocations: 5.422 kB / 0.8048 GB, free: 25.37 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.17e-05/0.9886, allocations: 11.28 kB / 0.8048 GB, free: 25.37 MB / 0.6511 GB Notification: Performance of SimCode: time 1.367e-06/0.9886, allocations: 4 kB / 0.8049 GB, free: 25.36 MB / 0.6511 GB Notification: Performance of Templates: time 0.00309/0.9917, allocations: 0.5848 MB / 0.8054 GB, free: 25.3 MB / 0.6511 GB