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.556/3.556, allocations: 403.3 MB / 415.4 MB, free: 12.95 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.816e-05/4.814e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.42 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4809/0.481, allocations: 92.69 MB / 0.5896 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1822/0.6633, allocations: 121.1 MB / 0.7078 GB, free: 5.238 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/0.6636, allocations: 91.94 kB / 0.7079 GB, free: 5.148 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.0025/0.6661, allocations: 0.765 MB / 0.7087 GB, free: 4.383 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.041e-06/0.6662, allocations: 0 / 0.7087 GB, free: 4.383 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.6662, allocations: 4 kB / 0.7087 GB, free: 4.379 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.0004382/0.6666, allocations: 334.5 kB / 0.709 GB, free: 4.008 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.6667, allocations: 12.03 kB / 0.709 GB, free: 3.996 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.6668, allocations: 7.859 kB / 0.709 GB, free: 3.988 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.6669, allocations: 174.9 kB / 0.7092 GB, free: 3.777 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.6669, allocations: 4 kB / 0.7092 GB, free: 3.773 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.667, allocations: 4 kB / 0.7092 GB, free: 3.77 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.6671, allocations: 49.69 kB / 0.7092 GB, free: 3.715 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.6671, allocations: 0 / 0.7092 GB, free: 3.715 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.6671, allocations: 3.938 kB / 0.7092 GB, free: 3.711 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.6672, allocations: 0 / 0.7092 GB, free: 3.711 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.477e-05/0.6672, allocations: 12 kB / 0.7093 GB, free: 3.699 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004708/0.6677, allocations: 272.9 kB / 0.7095 GB, free: 3.383 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.378e-05/0.6678, allocations: 30.58 kB / 0.7095 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.942e-05/0.6679, allocations: 8.859 kB / 0.7096 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.6679, allocations: 4 kB / 0.7096 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001227/0.668, allocations: 55.5 kB / 0.7096 GB, free: 3.262 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 2.425e-06/0.6681, allocations: 3.938 kB / 0.7096 GB, free: 3.258 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001969/0.6683, allocations: 61.55 kB / 0.7097 GB, free: 3.191 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.6683, allocations: 63.34 kB / 0.7097 GB, free: 3.117 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.777e-05/0.6684, allocations: 105 kB / 0.7098 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.6685, allocations: 25.7 kB / 0.7099 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.967e-05/0.6685, allocations: 84.14 kB / 0.7099 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.6686, allocations: 7.906 kB / 0.7099 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.585e-06/0.6686, allocations: 0 / 0.7099 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.6687, allocations: 314.8 kB / 0.7102 GB, free: 2.566 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.095e-05/0.6688, allocations: 4 kB / 0.7103 GB, free: 2.562 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.126e-05/0.6688, allocations: 34.56 kB / 0.7103 GB, free: 2.52 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.803e-05/0.6689, allocations: 8 kB / 0.7103 GB, free: 2.512 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.6689, allocations: 4 kB / 0.7103 GB, free: 2.508 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001484/0.6691, allocations: 65.58 kB / 0.7104 GB, free: 2.438 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.6691, allocations: 4 kB / 0.7104 GB, free: 2.434 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.309e-06/0.6691, allocations: 8.078 kB / 0.7104 GB, free: 2.426 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.6691, allocations: 0 / 0.7104 GB, free: 2.426 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.6693, allocations: 19.94 kB / 0.7104 GB, free: 2.406 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.549e-06/0.6693, allocations: 0 / 0.7104 GB, free: 2.406 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.594e-05/0.6694, allocations: 8 kB / 0.7104 GB, free: 2.398 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.311e-06/0.6694, allocations: 0 / 0.7104 GB, free: 2.398 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 8.816e-05/0.6695, allocations: 112.9 kB / 0.7105 GB, free: 2.281 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.6695, allocations: 4 kB / 0.7105 GB, free: 2.277 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.342e-05/0.6696, allocations: 12.03 kB / 0.7105 GB, free: 2.262 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.6696, allocations: 0 / 0.7105 GB, free: 2.262 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.114e-06/0.6696, allocations: 3.953 kB / 0.7105 GB, free: 2.258 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.066e-06/0.6696, allocations: 0 / 0.7105 GB, free: 2.258 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003885/0.67, allocations: 310.5 kB / 0.7108 GB, free: 1.898 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.672e-06/0.67, allocations: 0 / 0.7108 GB, free: 1.898 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.199e-05/0.6701, allocations: 11.98 kB / 0.7108 GB, free: 1.887 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/0.6701, allocations: 4 kB / 0.7108 GB, free: 1.883 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.6701, allocations: 7.891 kB / 0.7108 GB, free: 1.875 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.447e-06/0.6702, allocations: 0 / 0.7108 GB, free: 1.875 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.6702, allocations: 0 / 0.7108 GB, free: 1.875 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.6704, allocations: 151.5 kB / 0.711 GB, free: 1.711 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-05/0.6704, allocations: 85.05 kB / 0.7111 GB, free: 1.609 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.6705, allocations: 0 / 0.7111 GB, free: 1.609 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.6706, allocations: 15.94 kB / 0.7111 GB, free: 1.594 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.6706, allocations: 8.062 kB / 0.7111 GB, free: 1.586 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.6707, allocations: 7.984 kB / 0.7111 GB, free: 1.578 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.482e-05/0.6707, allocations: 87.28 kB / 0.7112 GB, free: 1.492 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.63e-07/0.6707, allocations: 0 / 0.7112 GB, free: 1.492 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002977/0.6711, allocations: 4 kB / 0.7112 GB, free: 1.488 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.0001329/0.6712, allocations: 103.7 kB / 0.7113 GB, free: 1.375 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001216/0.6713, allocations: 31.94 kB / 0.7113 GB, free: 1.344 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.6713, allocations: 0 / 0.7113 GB, free: 1.344 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.475e-05/0.6714, allocations: 23.97 kB / 0.7113 GB, free: 1.32 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.6716, allocations: 4 kB / 0.7113 GB, free: 1.316 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002499/0.6719, allocations: 76.83 kB / 0.7114 GB, free: 1.219 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.6723, allocations: 0.6848 MB / 0.7121 GB, free: 0.5078 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.097e-05/0.6723, allocations: 192 / 0.7121 GB, free: 0.5078 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/0.6723, allocations: 15.44 kB / 0.7121 GB, free: 0.4922 MB / 0.5886 GB Notification: Performance of SimCode: time 6.168e-06/0.6724, allocations: 0 / 0.7121 GB, free: 0.4922 MB / 0.5886 GB Notification: Performance of Templates: time 0.002917/0.6753, allocations: 0.4912 MB / 0.7126 GB, free: 8 kB / 0.5886 GB