Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Discrete_Examples_TriggeredSampler",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.999/3.999, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.249e-05/4.259e-05, allocations: 7.984 kB / 0.4991 GB, free: 13.33 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6105/0.6105, allocations: 92.69 MB / 0.5897 GB, free: 14.46 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2515/0.8621, allocations: 121.6 MB / 0.7084 GB, free: 4.703 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003763/0.8625, allocations: 91.88 kB / 0.7085 GB, free: 4.613 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.005127/0.8677, allocations: 1.148 MB / 0.7096 GB, free: 3.465 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.834e-06/0.8677, allocations: 0 / 0.7096 GB, free: 3.465 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.8678, allocations: 0 / 0.7096 GB, free: 3.465 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.0006956/0.8685, allocations: 384.8 kB / 0.71 GB, free: 3.047 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.8685, allocations: 8.031 kB / 0.71 GB, free: 3.039 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.652e-05/0.8686, allocations: 38.56 kB / 0.71 GB, free: 2.992 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.501e-05/0.8687, allocations: 11.86 kB / 0.71 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.8688, allocations: 174.9 kB / 0.7102 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.8689, allocations: 15.94 kB / 0.7102 GB, free: 2.754 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.8689, allocations: 4 kB / 0.7102 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.8691, allocations: 57.69 kB / 0.7103 GB, free: 2.688 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.8691, allocations: 0 / 0.7103 GB, free: 2.688 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.8692, allocations: 0 / 0.7103 GB, free: 2.688 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.8692, allocations: 3.938 kB / 0.7103 GB, free: 2.684 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.8693, allocations: 35.94 kB / 0.7103 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006616/0.87, allocations: 308.7 kB / 0.7106 GB, free: 2.297 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.8702, allocations: 46.58 kB / 0.7107 GB, free: 2.242 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.784e-05/0.8702, allocations: 20.98 kB / 0.7107 GB, free: 2.219 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.494e-05/0.8703, allocations: 4 kB / 0.7107 GB, free: 2.215 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002135/0.8705, allocations: 83.27 kB / 0.7108 GB, free: 2.121 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 2.475e-06/0.8705, allocations: 0 / 0.7108 GB, free: 2.121 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002951/0.8708, allocations: 93.56 kB / 0.7109 GB, free: 2.023 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.8709, allocations: 51.41 kB / 0.7109 GB, free: 1.961 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.871, allocations: 101.2 kB / 0.711 GB, free: 1.852 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.8711, allocations: 33.7 kB / 0.711 GB, free: 1.812 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.694e-05/0.8711, allocations: 88.12 kB / 0.7111 GB, free: 1.723 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.8712, allocations: 23.66 kB / 0.7111 GB, free: 1.699 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.844e-06/0.8712, allocations: 0 / 0.7111 GB, free: 1.699 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.8714, allocations: 326.9 kB / 0.7115 GB, free: 1.371 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.057e-05/0.8714, allocations: 15.94 kB / 0.7115 GB, free: 1.355 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.705e-05/0.8715, allocations: 48.3 kB / 0.7115 GB, free: 1.293 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.335e-05/0.8716, allocations: 27.92 kB / 0.7115 GB, free: 1.266 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.8717, allocations: 4 kB / 0.7115 GB, free: 1.262 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002707/0.8719, allocations: 89.52 kB / 0.7116 GB, free: 1.168 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.872, allocations: 11.95 kB / 0.7116 GB, free: 1.156 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.872, allocations: 0 / 0.7116 GB, free: 1.156 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.872, allocations: 4 kB / 0.7116 GB, free: 1.152 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.8722, allocations: 19.92 kB / 0.7117 GB, free: 1.133 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.8723, allocations: 4 kB / 0.7117 GB, free: 1.129 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.8725, allocations: 24.11 kB / 0.7117 GB, free: 1.105 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.8725, allocations: 0 / 0.7117 GB, free: 1.105 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.328e-05/0.8726, allocations: 109 kB / 0.7118 GB, free: 0.9922 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.8727, allocations: 7.906 kB / 0.7118 GB, free: 0.9844 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002799/0.8729, allocations: 106.5 kB / 0.7119 GB, free: 0.875 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.873, allocations: 0 / 0.7119 GB, free: 0.875 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.873, allocations: 4 kB / 0.7119 GB, free: 0.8711 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.873, allocations: 7.984 kB / 0.7119 GB, free: 0.8633 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000626/0.8736, allocations: 362.4 kB / 0.7123 GB, free: 464 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.8737, allocations: 4 kB / 0.7123 GB, free: 460 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.8738, allocations: 15.94 kB / 0.7123 GB, free: 444 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.8738, allocations: 0 / 0.7123 GB, free: 444 kB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.8738, allocations: 4 kB / 0.7123 GB, free: 440 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.8739, allocations: 3.938 kB / 0.7123 GB, free: 436 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.8739, allocations: 4 kB / 0.7123 GB, free: 432 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.8741, allocations: 179.4 kB / 0.7125 GB, free: 236 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.842e-05/0.8742, allocations: 89.02 kB / 0.7125 GB, free: 128 kB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.8742, allocations: 3.953 kB / 0.7126 GB, free: 124 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.8745, allocations: 23.97 kB / 0.7126 GB, free: 100 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/0.8745, allocations: 7.984 kB / 0.7126 GB, free: 92 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.8746, allocations: 0 / 0.7126 GB, free: 92 kB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.639e-05/0.8747, allocations: 95.3 kB / 0.7127 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.61e-07/0.8747, allocations: 0 / 0.7127 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003505/0.875, allocations: 12 kB / 0.7127 GB, free: 15.98 MB / 0.6042 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.0006634/0.8757, allocations: 0.724 MB / 0.7134 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002088/0.8759, allocations: 55.84 kB / 0.7134 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.8759, allocations: 0 / 0.7134 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.8761, allocations: 24.38 kB / 0.7135 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.8764, allocations: 15.95 kB / 0.7135 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006266/0.8771, allocations: 144.3 kB / 0.7136 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.8774, allocations: 0.6926 MB / 0.7143 GB, free: 14.24 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.669e-05/0.8775, allocations: 7.984 kB / 0.7143 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.281e-05/0.8776, allocations: 19.72 kB / 0.7143 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of SimCode: time 1.082e-06/0.8776, allocations: 0 / 0.7143 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02525/0.9029, allocations: 1.714 MB / 0.716 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003823/0.9033, allocations: 160.7 kB / 0.7161 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.272/3.176, allocations: 64 / 0.7161 GB, free: 12.36 MB / 0.6042 GB