Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") Notification: Performance of loadModel(Buildings): time 3.881/3.881, allocations: 402 MB / 416.6 MB, free: 10.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.293e-05/3.303e-05, allocations: 4 kB / 0.501 GB, free: 8.219 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2072, allocations: 92.68 MB / 0.5915 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler): time 0.002156/0.2094, allocations: 1.183 MB / 0.5926 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.000662/0.2101, allocations: 212.6 kB / 0.5928 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.538e-05/0.2102, allocations: 4 kB / 0.5928 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.736e-05/0.2103, allocations: 7.922 kB / 0.5928 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.248e-05/0.2104, allocations: 3.984 kB / 0.5928 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.2106, allocations: 23.91 kB / 0.5929 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.2107, allocations: 39.89 kB / 0.5929 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.2108, allocations: 8 kB / 0.5929 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.219e-05/0.2109, allocations: 19.92 kB / 0.5929 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.937e-05/0.211, allocations: 23.91 kB / 0.593 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.112e-05/0.211, allocations: 4 kB / 0.593 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.2111, allocations: 4 kB / 0.593 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.2111, allocations: 0 / 0.593 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.397e-05/0.2111, allocations: 4 kB / 0.593 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.2113, allocations: 56.16 kB / 0.593 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2113, allocations: 0 / 0.593 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.956e-06/0.2113, allocations: 4 kB / 0.593 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.2113, allocations: 0 / 0.593 GB, free: 9.746 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008122/0.2121, allocations: 371.2 kB / 0.5934 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.912e-05/0.2122, allocations: 8.031 kB / 0.5934 GB, free: 9.328 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.188e-05/0.2123, allocations: 7.953 kB / 0.5934 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.2125, allocations: 186.8 kB / 0.5936 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.2125, allocations: 8 kB / 0.5936 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.2126, allocations: 4 kB / 0.5936 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.2129, allocations: 77.66 kB / 0.5937 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.2129, allocations: 3.984 kB / 0.5937 GB, free: 9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.213, allocations: 0 / 0.5937 GB, free: 9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.213, allocations: 4 kB / 0.5937 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003605/0.2134, allocations: 71.83 kB / 0.5937 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000696/0.2141, allocations: 316.6 kB / 0.594 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.2144, allocations: 66.55 kB / 0.5941 GB, free: 8.492 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.2144, allocations: 4 kB / 0.5941 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003496/0.2148, allocations: 91.39 kB / 0.5942 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 3.927e-06/0.2148, allocations: 0 / 0.5942 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0007577/0.2156, allocations: 153.6 kB / 0.5943 GB, free: 8.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.2157, allocations: 59.41 kB / 0.5944 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.2158, allocations: 109.1 kB / 0.5945 GB, free: 8.043 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.2158, allocations: 29.7 kB / 0.5945 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.184e-05/0.2159, allocations: 92.08 kB / 0.5946 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.357e-05/0.216, allocations: 23.69 kB / 0.5946 GB, free: 7.891 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.417e-06/0.216, allocations: 4 kB / 0.5946 GB, free: 7.887 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.2161, allocations: 318.8 kB / 0.5949 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.2163, allocations: 31.97 kB / 0.595 GB, free: 7.535 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.2166, allocations: 64.27 kB / 0.595 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.2168, allocations: 39.98 kB / 0.5951 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.2168, allocations: 0 / 0.5951 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005047/0.2173, allocations: 133.5 kB / 0.5952 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.2174, allocations: 4 kB / 0.5952 GB, free: 7.277 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.2174, allocations: 4 kB / 0.5952 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.2174, allocations: 3.953 kB / 0.5952 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.2176, allocations: 20.09 kB / 0.5952 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.2176, allocations: 3.938 kB / 0.5952 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.2178, allocations: 27.95 kB / 0.5953 GB, free: 7.219 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.2179, allocations: 12.3 kB / 0.5953 GB, free: 7.207 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: 9 ($PRE.triSam1.y,triSam1.y,$PRE.triSam.y,triSam.y,$whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001386/0.218, allocations: 119.7 kB / 0.5954 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.218, allocations: 7.906 kB / 0.5954 GB, free: 7.074 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005198/0.2186, allocations: 126 kB / 0.5955 GB, free: 6.949 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.2186, allocations: 3.938 kB / 0.5955 GB, free: 6.945 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.2186, allocations: 7.938 kB / 0.5955 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.2187, allocations: 85.05 kB / 0.5956 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.2187, allocations: 0 / 0.5956 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.2189, allocations: 19.98 kB / 0.5956 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.739e-05/0.2189, allocations: 11.98 kB / 0.5956 GB, free: 6.805 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006036/0.2196, allocations: 208.9 kB / 0.5958 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005617/0.2201, allocations: 295.1 kB / 0.5961 GB, free: 6.289 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001977/0.2203, allocations: 47.91 kB / 0.5962 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.795e-05/0.2204, allocations: 91.27 kB / 0.5963 GB, free: 6.152 MB / 0.4948 GB Notification: Performance of Backend: time 7.72e-07/0.2204, allocations: 0 / 0.5963 GB, free: 6.152 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005491/0.221, allocations: 140.4 kB / 0.5964 GB, free: 6.008 MB / 0.4948 GB Notification: Performance of SimCode: time 0.0007302/0.2218, allocations: 0.6209 MB / 0.597 GB, free: 5.34 MB / 0.4948 GB Notification: Performance of Templates: time 0.004458/0.2262, allocations: 0.864 MB / 0.5978 GB, free: 4.48 MB / 0.4948 GB