Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold") Notification: Performance of loadModel(Buildings): time 3.836/3.836, allocations: 402 MB / 416.6 MB, free: 10.13 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.267e-05/3.286e-05, allocations: 4 kB / 0.501 GB, free: 8.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2041, allocations: 92.68 MB / 0.5915 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold): time 0.001929/0.2061, allocations: 1.097 MB / 0.5925 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0005777/0.2067, allocations: 220.5 kB / 0.5928 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.305e-05/0.2067, allocations: 4 kB / 0.5928 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.207e-05/0.2068, allocations: 3.984 kB / 0.5928 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.737e-05/0.2068, allocations: 0 / 0.5928 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.207, allocations: 27.84 kB / 0.5928 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.711e-05/0.2071, allocations: 23.97 kB / 0.5928 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.894e-05/0.2072, allocations: 0 / 0.5928 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.77e-05/0.2073, allocations: 15.98 kB / 0.5928 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.38e-05/0.2073, allocations: 15.92 kB / 0.5928 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.966e-05/0.2074, allocations: 7.938 kB / 0.5929 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.2074, allocations: 0 / 0.5929 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.29e-05/0.2074, allocations: 15.98 kB / 0.5929 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.974e-05/0.2075, allocations: 0 / 0.5929 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 7.376e-05/0.2075, allocations: 27.88 kB / 0.5929 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.2075, allocations: 0 / 0.5929 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2076, allocations: 0 / 0.5929 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.2076, allocations: 0 / 0.5929 GB, free: 9.91 MB / 0.4948 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.0006683/0.2083, allocations: 371.5 kB / 0.5932 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.2083, allocations: 8.031 kB / 0.5933 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/0.2084, allocations: 11.86 kB / 0.5933 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.2085, allocations: 179 kB / 0.5934 GB, free: 9.266 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.2086, allocations: 0 / 0.5934 GB, free: 9.266 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.2086, allocations: 4 kB / 0.5934 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002935/0.2089, allocations: 69.66 kB / 0.5935 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.2089, allocations: 4 kB / 0.5935 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.209, allocations: 0 / 0.5935 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.209, allocations: 0 / 0.5935 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/0.2093, allocations: 55.89 kB / 0.5936 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004837/0.2098, allocations: 280.8 kB / 0.5938 GB, free: 8.805 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.2101, allocations: 58.55 kB / 0.5939 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.2101, allocations: 0 / 0.5939 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002807/0.2104, allocations: 95.41 kB / 0.594 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.963e-06/0.2104, allocations: 0 / 0.594 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0006737/0.2111, allocations: 145.6 kB / 0.5941 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.2112, allocations: 51.41 kB / 0.5942 GB, free: 8.422 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.293e-05/0.2113, allocations: 101 kB / 0.5943 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.2113, allocations: 25.7 kB / 0.5943 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.038e-05/0.2114, allocations: 80.14 kB / 0.5944 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.2114, allocations: 23.7 kB / 0.5944 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-06/0.2114, allocations: 4 kB / 0.5944 GB, free: 8.176 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.2116, allocations: 318.8 kB / 0.5947 GB, free: 7.855 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.2118, allocations: 27.97 kB / 0.5947 GB, free: 7.828 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.212, allocations: 68.2 kB / 0.5948 GB, free: 7.746 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.2122, allocations: 35.98 kB / 0.5948 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2122, allocations: 0 / 0.5948 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004852/0.2127, allocations: 129.7 kB / 0.5949 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.2128, allocations: 4 kB / 0.5949 GB, free: 7.574 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2128, allocations: 3.938 kB / 0.595 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.2128, allocations: 4 kB / 0.595 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.213, allocations: 15.98 kB / 0.595 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.213, allocations: 12.39 kB / 0.595 GB, free: 7.539 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.2131, allocations: 19.83 kB / 0.595 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.2132, allocations: 4 kB / 0.595 GB, free: 7.516 MB / 0.4948 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 0.0001225/0.2133, allocations: 122.5 kB / 0.5951 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.2133, allocations: 0 / 0.5951 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004799/0.2138, allocations: 126 kB / 0.5952 GB, free: 7.266 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.2138, allocations: 4.031 kB / 0.5952 GB, free: 7.262 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2138, allocations: 0 / 0.5952 GB, free: 7.262 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.919e-05/0.2139, allocations: 92.95 kB / 0.5953 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.2139, allocations: 4 kB / 0.5953 GB, free: 7.148 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.2141, allocations: 8 kB / 0.5953 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.2141, allocations: 7.984 kB / 0.5954 GB, free: 7.133 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005184/0.2147, allocations: 196.8 kB / 0.5955 GB, free: 6.934 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005056/0.2152, allocations: 282.8 kB / 0.5958 GB, free: 6.641 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001949/0.2154, allocations: 47.88 kB / 0.5959 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.708e-05/0.2155, allocations: 87.52 kB / 0.5959 GB, free: 6.508 MB / 0.4948 GB Notification: Performance of Backend: time 7.62e-07/0.2155, allocations: 0 / 0.5959 GB, free: 6.508 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004994/0.216, allocations: 128.5 kB / 0.5961 GB, free: 6.375 MB / 0.4948 GB Notification: Performance of SimCode: time 0.000626/0.2166, allocations: 0.5805 MB / 0.5966 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of Templates: time 0.00382/0.2205, allocations: 0.6751 MB / 0.5973 GB, free: 5.074 MB / 0.4948 GB