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.73/3.73, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.116e-05/3.124e-05, allocations: 7.938 kB / 0.499 GB, free: 13.43 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4798/0.4798, allocations: 92.68 MB / 0.5895 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1829/0.6628, allocations: 121.6 MB / 0.7083 GB, free: 4.738 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003922/0.6632, allocations: 91.92 kB / 0.7084 GB, free: 4.648 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.004277/0.6675, allocations: 1.155 MB / 0.7095 GB, free: 3.492 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.919e-06/0.6675, allocations: 0 / 0.7095 GB, free: 3.492 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.8e-06/0.6676, allocations: 0 / 0.7095 GB, free: 3.492 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005319/0.6681, allocations: 378.3 kB / 0.7099 GB, free: 3.078 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.6682, allocations: 8.031 kB / 0.7099 GB, free: 3.07 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.6682, allocations: 11.86 kB / 0.7099 GB, free: 3.059 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.6684, allocations: 167 kB / 0.71 GB, free: 2.855 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.6684, allocations: 8 kB / 0.7101 GB, free: 2.848 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.6685, allocations: 8 kB / 0.7101 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.6686, allocations: 69.55 kB / 0.7101 GB, free: 2.766 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.6686, allocations: 0 / 0.7101 GB, free: 2.766 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.6687, allocations: 0 / 0.7101 GB, free: 2.766 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.34e-06/0.6687, allocations: 4 kB / 0.7101 GB, free: 2.762 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.744e-05/0.6688, allocations: 24 kB / 0.7102 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005458/0.6693, allocations: 316.6 kB / 0.7105 GB, free: 2.379 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.6695, allocations: 54.56 kB / 0.7105 GB, free: 2.316 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.329e-05/0.6696, allocations: 20.98 kB / 0.7105 GB, free: 2.293 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.6696, allocations: 0 / 0.7105 GB, free: 2.293 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.6698, allocations: 71.34 kB / 0.7106 GB, free: 2.211 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 2.68e-06/0.6698, allocations: 4 kB / 0.7106 GB, free: 2.207 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002458/0.6701, allocations: 89.53 kB / 0.7107 GB, free: 2.113 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.6701, allocations: 55.41 kB / 0.7107 GB, free: 2.047 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.6703, allocations: 109.2 kB / 0.7108 GB, free: 1.93 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.6703, allocations: 25.7 kB / 0.7109 GB, free: 1.898 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.567e-05/0.6704, allocations: 92.12 kB / 0.711 GB, free: 1.805 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/0.6704, allocations: 27.64 kB / 0.711 GB, free: 1.777 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.279e-06/0.6704, allocations: 0 / 0.711 GB, free: 1.777 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.6706, allocations: 318.8 kB / 0.7113 GB, free: 1.457 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.982e-05/0.6707, allocations: 20 kB / 0.7113 GB, free: 1.438 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.692e-05/0.6708, allocations: 52.7 kB / 0.7114 GB, free: 1.371 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.632e-05/0.6708, allocations: 23.92 kB / 0.7114 GB, free: 1.348 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.887e-06/0.6709, allocations: 4 kB / 0.7114 GB, free: 1.344 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002255/0.6711, allocations: 93.52 kB / 0.7115 GB, free: 1.246 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.6711, allocations: 11.94 kB / 0.7115 GB, free: 1.234 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.6711, allocations: 3.953 kB / 0.7115 GB, free: 1.23 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.6712, allocations: 0 / 0.7115 GB, free: 1.23 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.6713, allocations: 27.92 kB / 0.7115 GB, free: 1.203 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.121e-06/0.6713, allocations: 0 / 0.7115 GB, free: 1.203 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.6715, allocations: 20.11 kB / 0.7115 GB, free: 1.184 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.6715, allocations: 4 kB / 0.7115 GB, free: 1.18 MB / 0.5886 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 9.404e-05/0.6716, allocations: 110.7 kB / 0.7116 GB, free: 1.066 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.6716, allocations: 11.89 kB / 0.7117 GB, free: 1.055 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/0.6719, allocations: 98.23 kB / 0.7117 GB, free: 0.9531 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.875e-06/0.6719, allocations: 3.953 kB / 0.7117 GB, free: 0.9492 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.545e-06/0.6719, allocations: 0 / 0.7117 GB, free: 0.9492 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.225e-06/0.6719, allocations: 4 kB / 0.7118 GB, free: 0.9453 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005488/0.6725, allocations: 370.4 kB / 0.7121 GB, free: 0.5273 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.281e-06/0.6725, allocations: 0 / 0.7121 GB, free: 0.5273 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.999e-05/0.6726, allocations: 12 kB / 0.7121 GB, free: 0.5156 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.872e-06/0.6726, allocations: 3.953 kB / 0.7121 GB, free: 0.5117 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.6727, allocations: 3.984 kB / 0.7121 GB, free: 0.5078 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.832e-06/0.6727, allocations: 4 kB / 0.7121 GB, free: 0.5039 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.6727, allocations: 4 kB / 0.7121 GB, free: 0.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.6729, allocations: 183.4 kB / 0.7123 GB, free: 312 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.885e-05/0.673, allocations: 89 kB / 0.7124 GB, free: 204 kB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.673, allocations: 3.953 kB / 0.7124 GB, free: 200 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.6732, allocations: 23.98 kB / 0.7124 GB, free: 176 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.6733, allocations: 3.984 kB / 0.7124 GB, free: 172 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.6733, allocations: 7.938 kB / 0.7124 GB, free: 164 kB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.098e-05/0.6734, allocations: 87.28 kB / 0.7125 GB, free: 76 kB / 0.5886 GB Notification: Performance of sort global known variables: time 1.104e-06/0.6734, allocations: 0 / 0.7125 GB, free: 76 kB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003245/0.6737, allocations: 16 kB / 0.7125 GB, free: 60 kB / 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: 6 (booPul.y,$whenCondition2,$whenCondition1,booPul.pulseStart,triSam.y,triSam1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001516/0.6739, allocations: 107.3 kB / 0.7126 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001834/0.6741, allocations: 60.31 kB / 0.7127 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.656e-06/0.6741, allocations: 0 / 0.7127 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.382e-05/0.6742, allocations: 31.92 kB / 0.7127 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.6745, allocations: 15.98 kB / 0.7127 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003531/0.6748, allocations: 105.4 kB / 0.7128 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.6752, allocations: 0.6887 MB / 0.7135 GB, free: 15 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.476e-05/0.6753, allocations: 12.11 kB / 0.7135 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.6754, allocations: 15.44 kB / 0.7135 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of SimCode: time 1.6e-06/0.6754, allocations: 0 / 0.7135 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of Templates: time 0.003711/0.6791, allocations: 0.7725 MB / 0.7143 GB, free: 14.21 MB / 0.6042 GB