Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadModel(Buildings): time 3.616/3.616, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.595e-05/3.601e-05, allocations: 11.88 kB / 0.499 GB, free: 13.46 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5278/0.5278, allocations: 92.69 MB / 0.5896 GB, free: 14.53 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.197/0.7249, allocations: 121.1 MB / 0.7078 GB, free: 5.277 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005403/0.7255, allocations: 99.91 kB / 0.7079 GB, free: 5.18 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.004126/0.7297, allocations: 0.765 MB / 0.7087 GB, free: 4.414 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.664e-06/0.7297, allocations: 0 / 0.7087 GB, free: 4.414 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.32e-06/0.7297, allocations: 0 / 0.7087 GB, free: 4.414 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006117/0.7304, allocations: 338.5 kB / 0.709 GB, free: 4.039 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/0.7304, allocations: 8.031 kB / 0.709 GB, free: 4.031 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.66e-05/0.7305, allocations: 11.86 kB / 0.709 GB, free: 4.02 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.7307, allocations: 170.9 kB / 0.7092 GB, free: 3.812 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.7308, allocations: 4 kB / 0.7092 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.7308, allocations: 0 / 0.7092 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.731, allocations: 37.7 kB / 0.7092 GB, free: 3.766 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.731, allocations: 0 / 0.7092 GB, free: 3.766 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.7311, allocations: 7.984 kB / 0.7092 GB, free: 3.758 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.7311, allocations: 11.92 kB / 0.7092 GB, free: 3.746 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.512e-05/0.7312, allocations: 16 kB / 0.7092 GB, free: 3.73 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006594/0.7319, allocations: 260.9 kB / 0.7095 GB, free: 3.426 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.7321, allocations: 34.56 kB / 0.7095 GB, free: 3.383 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.72e-05/0.7322, allocations: 12.86 kB / 0.7095 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.7322, allocations: 0 / 0.7095 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/0.7324, allocations: 63.5 kB / 0.7096 GB, free: 3.293 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 3.68e-06/0.7324, allocations: 0 / 0.7096 GB, free: 3.293 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002832/0.7327, allocations: 65.48 kB / 0.7097 GB, free: 3.223 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.057e-05/0.7328, allocations: 55.41 kB / 0.7097 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.733, allocations: 97 kB / 0.7098 GB, free: 3.055 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.733, allocations: 25.7 kB / 0.7098 GB, free: 3.023 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.212e-05/0.7332, allocations: 92.11 kB / 0.7099 GB, free: 2.93 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.7332, allocations: 15.84 kB / 0.7099 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.2e-06/0.7332, allocations: 0 / 0.7099 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001994/0.7335, allocations: 318.8 kB / 0.7102 GB, free: 2.594 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.303e-05/0.7335, allocations: 4 kB / 0.7102 GB, free: 2.59 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.23e-05/0.7336, allocations: 26.58 kB / 0.7103 GB, free: 2.555 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.023e-05/0.7337, allocations: 11.98 kB / 0.7103 GB, free: 2.543 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.141e-06/0.7338, allocations: 4 kB / 0.7103 GB, free: 2.539 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002626/0.734, allocations: 61.55 kB / 0.7103 GB, free: 2.473 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.7341, allocations: 8 kB / 0.7103 GB, free: 2.465 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.7341, allocations: 0 / 0.7103 GB, free: 2.465 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.7341, allocations: 7.922 kB / 0.7103 GB, free: 2.457 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.7344, allocations: 15.95 kB / 0.7104 GB, free: 2.441 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.7344, allocations: 0 / 0.7104 GB, free: 2.441 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.7346, allocations: 16.08 kB / 0.7104 GB, free: 2.426 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.7346, allocations: 0 / 0.7104 GB, free: 2.426 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.000122/0.7347, allocations: 105 kB / 0.7105 GB, free: 2.316 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.7348, allocations: 4 kB / 0.7105 GB, free: 2.312 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.122e-05/0.7348, allocations: 4.031 kB / 0.7105 GB, free: 2.305 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.7349, allocations: 7.984 kB / 0.7105 GB, free: 2.297 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.7349, allocations: 3.953 kB / 0.7105 GB, free: 2.293 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.732e-06/0.7349, allocations: 0 / 0.7105 GB, free: 2.293 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006095/0.7355, allocations: 306.5 kB / 0.7108 GB, free: 1.938 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.661e-06/0.7356, allocations: 11.92 kB / 0.7108 GB, free: 1.926 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.7357, allocations: 4 kB / 0.7108 GB, free: 1.922 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.85e-06/0.7358, allocations: 4 kB / 0.7108 GB, free: 1.918 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.7358, allocations: 3.953 kB / 0.7108 GB, free: 1.914 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.073e-06/0.7358, allocations: 0 / 0.7108 GB, free: 1.914 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.851e-06/0.7358, allocations: 0 / 0.7108 GB, free: 1.914 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.7361, allocations: 163.5 kB / 0.711 GB, free: 1.738 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.239e-05/0.7362, allocations: 81.19 kB / 0.711 GB, free: 1.641 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.7363, allocations: 7.984 kB / 0.7111 GB, free: 1.633 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.7365, allocations: 11.94 kB / 0.7111 GB, free: 1.621 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.608e-05/0.7366, allocations: 4 kB / 0.7111 GB, free: 1.617 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.7367, allocations: 0 / 0.7111 GB, free: 1.617 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.081e-05/0.7368, allocations: 87.28 kB / 0.7112 GB, free: 1.531 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.012e-06/0.7368, allocations: 0 / 0.7112 GB, free: 1.531 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005905/0.7374, allocations: 8 kB / 0.7112 GB, free: 1.523 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (samTri.y,$whenCondition1,triggeredSampler.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002038/0.7376, allocations: 109.2 kB / 0.7113 GB, free: 1.406 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000197/0.7378, allocations: 31.88 kB / 0.7113 GB, free: 1.375 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.146e-06/0.7379, allocations: 0 / 0.7113 GB, free: 1.375 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.921e-05/0.738, allocations: 16 kB / 0.7113 GB, free: 1.359 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.7384, allocations: 5.688 kB / 0.7113 GB, free: 1.355 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003845/0.7388, allocations: 85 kB / 0.7114 GB, free: 1.25 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/0.7392, allocations: 0.6809 MB / 0.7121 GB, free: 0.543 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.608e-05/0.7393, allocations: 7.984 kB / 0.7121 GB, free: 0.5352 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.445e-05/0.7394, allocations: 7.438 kB / 0.7121 GB, free: 0.5273 MB / 0.5886 GB Notification: Performance of SimCode: time 1.925e-06/0.7394, allocations: 0 / 0.7121 GB, free: 0.5273 MB / 0.5886 GB Notification: Performance of Templates: time 0.004719/0.7441, allocations: 491.3 kB / 0.7125 GB, free: 52 kB / 0.5886 GB