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.594/3.594, allocations: 402 MB / 415.9 MB, free: 10.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 5.891e-05/5.905e-05, allocations: 7.938 kB / 0.5004 GB, free: 8.191 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1944, allocations: 92.68 MB / 0.5909 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5874/0.7818, allocations: 121.1 MB / 0.7091 GB, free: 5.188 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/0.7822, allocations: 103.9 kB / 0.7092 GB, free: 5.086 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.002605/0.7848, allocations: 0.767 MB / 0.71 GB, free: 4.324 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.344e-06/0.7848, allocations: 0 / 0.71 GB, free: 4.324 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.631e-06/0.7848, allocations: 0 / 0.71 GB, free: 4.324 MB / 0.573 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.0004556/0.7853, allocations: 343.4 kB / 0.7103 GB, free: 3.941 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.7854, allocations: 8.031 kB / 0.7103 GB, free: 3.934 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.7854, allocations: 7.859 kB / 0.7103 GB, free: 3.926 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.7856, allocations: 174.9 kB / 0.7105 GB, free: 3.715 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.7856, allocations: 0 / 0.7105 GB, free: 3.715 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.7856, allocations: 4 kB / 0.7105 GB, free: 3.711 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.7858, allocations: 65.67 kB / 0.7106 GB, free: 3.641 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.44e-06/0.7859, allocations: 0 / 0.7106 GB, free: 3.641 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.881e-06/0.7859, allocations: 0 / 0.7106 GB, free: 3.641 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.882e-06/0.7859, allocations: 4.859 kB / 0.7106 GB, free: 3.637 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.7861, allocations: 47.95 kB / 0.7106 GB, free: 3.59 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/0.7866, allocations: 272.8 kB / 0.7109 GB, free: 3.273 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.7868, allocations: 46.55 kB / 0.7109 GB, free: 3.219 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.868e-05/0.7868, allocations: 4 kB / 0.7109 GB, free: 3.215 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002019/0.787, allocations: 67.48 kB / 0.711 GB, free: 3.137 MB / 0.573 GB Notification: Performance of pre-optimization done (n=4): time 2.544e-06/0.7871, allocations: 0 / 0.711 GB, free: 3.137 MB / 0.573 GB Notification: Performance of matching and sorting (n=4): time 0.0004693/0.7875, allocations: 129.4 kB / 0.7111 GB, free: 3.004 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.7876, allocations: 59.41 kB / 0.7112 GB, free: 2.934 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.015e-05/0.7877, allocations: 101 kB / 0.7113 GB, free: 2.828 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.7877, allocations: 30.8 kB / 0.7113 GB, free: 2.793 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 5.636e-05/0.7878, allocations: 80.14 kB / 0.7114 GB, free: 2.711 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.7879, allocations: 15.89 kB / 0.7114 GB, free: 2.695 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.08e-06/0.7879, allocations: 4 kB / 0.7114 GB, free: 2.691 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.788, allocations: 314.8 kB / 0.7117 GB, free: 2.375 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.7882, allocations: 23.97 kB / 0.7117 GB, free: 2.352 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.7883, allocations: 46.56 kB / 0.7118 GB, free: 2.297 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.7884, allocations: 27.97 kB / 0.7118 GB, free: 2.27 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.478e-06/0.7884, allocations: 0 / 0.7118 GB, free: 2.27 MB / 0.573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002985/0.7887, allocations: 103.7 kB / 0.7119 GB, free: 2.164 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.7888, allocations: 4 kB / 0.7119 GB, free: 2.16 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.7888, allocations: 4 kB / 0.7119 GB, free: 2.156 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.7888, allocations: 3.938 kB / 0.7119 GB, free: 2.152 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.7889, allocations: 15.98 kB / 0.7119 GB, free: 2.137 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.97e-06/0.789, allocations: 8.047 kB / 0.7119 GB, free: 2.129 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.308e-05/0.789, allocations: 8 kB / 0.7119 GB, free: 2.121 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.7891, allocations: 4 kB / 0.7119 GB, free: 2.117 MB / 0.573 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.0001145/0.7892, allocations: 110.8 kB / 0.712 GB, free: 2 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.7892, allocations: 7.984 kB / 0.712 GB, free: 1.992 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.7892, allocations: 3.906 kB / 0.712 GB, free: 1.988 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.867e-06/0.7893, allocations: 0 / 0.712 GB, free: 1.988 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.923e-06/0.7893, allocations: 0 / 0.712 GB, free: 1.988 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.948e-06/0.7893, allocations: 11.95 kB / 0.7121 GB, free: 1.977 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005545/0.7899, allocations: 342.4 kB / 0.7124 GB, free: 1.586 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.819e-06/0.7899, allocations: 0 / 0.7124 GB, free: 1.586 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.605e-05/0.79, allocations: 15.98 kB / 0.7124 GB, free: 1.57 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.585e-06/0.79, allocations: 0 / 0.7124 GB, free: 1.57 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.13e-06/0.79, allocations: 0 / 0.7124 GB, free: 1.57 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.481e-06/0.79, allocations: 3.953 kB / 0.7124 GB, free: 1.566 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.79, allocations: 3.938 kB / 0.7124 GB, free: 1.562 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003458/0.7904, allocations: 195.4 kB / 0.7126 GB, free: 1.355 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.566e-05/0.7904, allocations: 85.31 kB / 0.7127 GB, free: 1.254 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.7905, allocations: 0 / 0.7127 GB, free: 1.254 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.7906, allocations: 8 kB / 0.7127 GB, free: 1.246 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.7907, allocations: 11.92 kB / 0.7127 GB, free: 1.234 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.7907, allocations: 4 kB / 0.7127 GB, free: 1.23 MB / 0.573 GB Notification: Performance of sorting global known variables: time 6.324e-05/0.7907, allocations: 87.28 kB / 0.7128 GB, free: 1.145 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.22e-07/0.7908, allocations: 0 / 0.7128 GB, free: 1.145 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003031/0.7911, allocations: 11.98 kB / 0.7128 GB, free: 1.133 MB / 0.573 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.0001323/0.7912, allocations: 103 kB / 0.7129 GB, free: 1.023 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.000284/0.7915, allocations: 63.89 kB / 0.713 GB, free: 0.9609 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.468e-06/0.7915, allocations: 0 / 0.713 GB, free: 0.9609 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.7917, allocations: 27.98 kB / 0.713 GB, free: 0.9336 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.7919, allocations: 7.984 kB / 0.713 GB, free: 0.9258 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003447/0.7923, allocations: 137.3 kB / 0.7131 GB, free: 0.7617 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.7926, allocations: 0.6809 MB / 0.7138 GB, free: 56 kB / 0.573 GB Notification: Performance of simCode: alias equations: time 3.461e-05/0.7927, allocations: 3.984 kB / 0.7138 GB, free: 52 kB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.863e-05/0.7927, allocations: 11.44 kB / 0.7138 GB, free: 40 kB / 0.573 GB Notification: Performance of SimCode: time 1.371e-06/0.7927, allocations: 0 / 0.7138 GB, free: 40 kB / 0.573 GB Notification: Performance of Templates: time 0.003053/0.7958, allocations: 497.8 kB / 0.7143 GB, free: 15.56 MB / 0.5886 GB