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.694/3.694, allocations: 403.3 MB / 415.4 MB, free: 12.95 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.201e-05/3.211e-05, allocations: 4 kB / 0.499 GB, free: 13.42 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4796/0.4797, allocations: 92.69 MB / 0.5896 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1815/0.6612, allocations: 121.6 MB / 0.7083 GB, free: 4.719 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.6615, allocations: 83.94 kB / 0.7084 GB, free: 4.637 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.004164/0.6657, allocations: 1.163 MB / 0.7095 GB, free: 3.473 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.051e-06/0.6658, allocations: 0 / 0.7095 GB, free: 3.473 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.409e-06/0.6658, allocations: 0 / 0.7095 GB, free: 3.473 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.0005211/0.6663, allocations: 370.4 kB / 0.7099 GB, free: 3.066 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.6664, allocations: 8.031 kB / 0.7099 GB, free: 3.059 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/0.6664, allocations: 15.86 kB / 0.7099 GB, free: 3.043 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.6666, allocations: 174.9 kB / 0.7101 GB, free: 2.832 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.6666, allocations: 8 kB / 0.7101 GB, free: 2.824 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.6667, allocations: 4 kB / 0.7101 GB, free: 2.82 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.6668, allocations: 61.62 kB / 0.7102 GB, free: 2.754 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.6668, allocations: 0 / 0.7102 GB, free: 2.754 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.6669, allocations: 0 / 0.7102 GB, free: 2.754 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.543e-06/0.6669, allocations: 7.984 kB / 0.7102 GB, free: 2.746 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.656e-05/0.667, allocations: 24 kB / 0.7102 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005422/0.6675, allocations: 312.7 kB / 0.7105 GB, free: 2.367 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.6677, allocations: 50.58 kB / 0.7105 GB, free: 2.309 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.714e-05/0.6678, allocations: 20.98 kB / 0.7105 GB, free: 2.285 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.6678, allocations: 0 / 0.7105 GB, free: 2.285 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/0.668, allocations: 79.33 kB / 0.7106 GB, free: 2.195 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 2.542e-06/0.668, allocations: 0 / 0.7106 GB, free: 2.195 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002585/0.6683, allocations: 93.52 kB / 0.7107 GB, free: 2.098 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.6683, allocations: 55.41 kB / 0.7108 GB, free: 2.031 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.6684, allocations: 105.2 kB / 0.7109 GB, free: 1.918 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.6685, allocations: 30.06 kB / 0.7109 GB, free: 1.883 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.223e-05/0.6685, allocations: 88.14 kB / 0.711 GB, free: 1.793 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.6686, allocations: 23.66 kB / 0.711 GB, free: 1.77 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.639e-06/0.6686, allocations: 4 kB / 0.711 GB, free: 1.766 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.6688, allocations: 322.8 kB / 0.7113 GB, free: 1.441 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.934e-05/0.6688, allocations: 20 kB / 0.7113 GB, free: 1.422 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.249e-05/0.6689, allocations: 48.34 kB / 0.7114 GB, free: 1.359 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.976e-05/0.669, allocations: 27.92 kB / 0.7114 GB, free: 1.332 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.744e-06/0.669, allocations: 0 / 0.7114 GB, free: 1.332 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002181/0.6693, allocations: 93.52 kB / 0.7115 GB, free: 1.234 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.6693, allocations: 5.562 kB / 0.7115 GB, free: 1.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.6693, allocations: 7.953 kB / 0.7115 GB, free: 1.223 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.6693, allocations: 0 / 0.7115 GB, free: 1.223 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.6695, allocations: 16.11 kB / 0.7115 GB, free: 1.207 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.971e-06/0.6695, allocations: 8 kB / 0.7115 GB, free: 1.199 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.6696, allocations: 23.92 kB / 0.7116 GB, free: 1.176 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.6697, allocations: 4 kB / 0.7116 GB, free: 1.172 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.293e-05/0.6698, allocations: 109 kB / 0.7117 GB, free: 1.059 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.6698, allocations: 7.906 kB / 0.7117 GB, free: 1.051 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.6701, allocations: 94.28 kB / 0.7118 GB, free: 0.9531 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.283e-06/0.6701, allocations: 7.953 kB / 0.7118 GB, free: 0.9453 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.349e-06/0.6701, allocations: 4.031 kB / 0.7118 GB, free: 0.9414 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.02e-06/0.6701, allocations: 3.984 kB / 0.7118 GB, free: 0.9375 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005324/0.6706, allocations: 366.4 kB / 0.7121 GB, free: 0.5234 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.909e-06/0.6707, allocations: 0 / 0.7121 GB, free: 0.5234 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.562e-05/0.6708, allocations: 15.98 kB / 0.7121 GB, free: 0.5078 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.43e-06/0.6708, allocations: 3.953 kB / 0.7121 GB, free: 0.5039 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.6708, allocations: 8 kB / 0.7122 GB, free: 0.4961 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.542e-06/0.6708, allocations: 0 / 0.7122 GB, free: 0.4961 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.6708, allocations: 4 kB / 0.7122 GB, free: 0.4922 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.6711, allocations: 187.4 kB / 0.7123 GB, free: 300 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.426e-05/0.6712, allocations: 81.02 kB / 0.7124 GB, free: 200 kB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.6712, allocations: 3.953 kB / 0.7124 GB, free: 196 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.6714, allocations: 23.97 kB / 0.7124 GB, free: 172 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/0.6714, allocations: 7.984 kB / 0.7124 GB, free: 164 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.6715, allocations: 4 kB / 0.7124 GB, free: 160 kB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.946e-05/0.6715, allocations: 95.22 kB / 0.7125 GB, free: 64 kB / 0.5886 GB Notification: Performance of sort global known variables: time 6.93e-07/0.6715, allocations: 0 / 0.7125 GB, free: 64 kB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003212/0.6719, allocations: 12 kB / 0.7126 GB, free: 52 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.0001565/0.672, allocations: 111.1 kB / 0.7127 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000187/0.6722, allocations: 51.92 kB / 0.7127 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.764e-06/0.6723, allocations: 3.938 kB / 0.7127 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.226e-05/0.6724, allocations: 27.94 kB / 0.7127 GB, free: 15.85 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.6726, allocations: 18.38 kB / 0.7128 GB, free: 15.83 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003568/0.673, allocations: 109.4 kB / 0.7129 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.6734, allocations: 0.6945 MB / 0.7135 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.37e-05/0.6734, allocations: 4 kB / 0.7135 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.15e-05/0.6735, allocations: 11.44 kB / 0.7136 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of SimCode: time 1.376e-06/0.6735, allocations: 0 / 0.7136 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of Templates: time 0.003669/0.6772, allocations: 0.7755 MB / 0.7143 GB, free: 14.2 MB / 0.6042 GB