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.88/3.88, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.923e-05/4.936e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6471/0.6471, allocations: 92.69 MB / 0.5896 GB, free: 14.46 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.299/0.9462, allocations: 121.6 MB / 0.7084 GB, free: 4.719 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003239/0.9466, allocations: 91.94 kB / 0.7085 GB, free: 4.629 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.004686/0.9513, allocations: 1.148 MB / 0.7096 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9514, allocations: 0 / 0.7096 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.567e-05/0.9514, allocations: 4 kB / 0.7096 GB, free: 3.477 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.0006065/0.952, allocations: 378.4 kB / 0.71 GB, free: 3.062 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.9521, allocations: 12.03 kB / 0.71 GB, free: 3.051 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.225e-05/0.9521, allocations: 38.55 kB / 0.71 GB, free: 3.004 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.043e-05/0.9522, allocations: 11.86 kB / 0.71 GB, free: 2.992 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.9524, allocations: 167 kB / 0.7102 GB, free: 2.789 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.9524, allocations: 4 kB / 0.7102 GB, free: 2.785 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.9524, allocations: 11.94 kB / 0.7102 GB, free: 2.773 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.9526, allocations: 65.61 kB / 0.7102 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.9526, allocations: 0 / 0.7102 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.9526, allocations: 0 / 0.7102 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.9527, allocations: 4 kB / 0.7103 GB, free: 2.699 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.9528, allocations: 31.95 kB / 0.7103 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000606/0.9534, allocations: 308.7 kB / 0.7106 GB, free: 2.316 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.9536, allocations: 54.56 kB / 0.7106 GB, free: 2.254 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.362e-05/0.9537, allocations: 20.98 kB / 0.7106 GB, free: 2.23 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.9537, allocations: 4 kB / 0.7107 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001971/0.9539, allocations: 75.33 kB / 0.7107 GB, free: 2.141 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 2.134e-06/0.9539, allocations: 0 / 0.7107 GB, free: 2.141 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002959/0.9542, allocations: 89.53 kB / 0.7108 GB, free: 2.047 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.9543, allocations: 55.41 kB / 0.7109 GB, free: 1.98 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.9544, allocations: 113.1 kB / 0.711 GB, free: 1.859 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.9545, allocations: 25.7 kB / 0.711 GB, free: 1.828 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.862e-05/0.9546, allocations: 96.12 kB / 0.7111 GB, free: 1.73 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.9546, allocations: 27.64 kB / 0.7111 GB, free: 1.703 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/0.9546, allocations: 0 / 0.7111 GB, free: 1.703 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.9548, allocations: 314.8 kB / 0.7114 GB, free: 1.387 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.818e-05/0.9548, allocations: 20 kB / 0.7114 GB, free: 1.367 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.54e-05/0.9549, allocations: 60.27 kB / 0.7115 GB, free: 1.293 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.758e-05/0.955, allocations: 15.94 kB / 0.7115 GB, free: 1.277 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.955, allocations: 4 kB / 0.7115 GB, free: 1.273 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002389/0.9553, allocations: 97.52 kB / 0.7116 GB, free: 1.172 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.9553, allocations: 11.95 kB / 0.7116 GB, free: 1.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.9553, allocations: 0 / 0.7116 GB, free: 1.16 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.9554, allocations: 4 kB / 0.7116 GB, free: 1.156 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.9556, allocations: 19.92 kB / 0.7116 GB, free: 1.137 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.9556, allocations: 4 kB / 0.7116 GB, free: 1.133 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.9558, allocations: 20.11 kB / 0.7117 GB, free: 1.113 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.9558, allocations: 8 kB / 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 0.0001034/0.9559, allocations: 114.5 kB / 0.7118 GB, free: 0.9883 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.956, allocations: 7.906 kB / 0.7118 GB, free: 0.9805 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002656/0.9562, allocations: 98.19 kB / 0.7119 GB, free: 0.8789 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.9563, allocations: 0 / 0.7119 GB, free: 0.8789 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.9563, allocations: 0 / 0.7119 GB, free: 0.8789 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.9563, allocations: 0 / 0.7119 GB, free: 0.8789 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006199/0.9569, allocations: 374.4 kB / 0.7122 GB, free: 468 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.9569, allocations: 4.047 kB / 0.7122 GB, free: 464 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.9571, allocations: 19.92 kB / 0.7123 GB, free: 444 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.9571, allocations: 0 / 0.7123 GB, free: 444 kB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.9571, allocations: 0 / 0.7123 GB, free: 444 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.9571, allocations: 0 / 0.7123 GB, free: 444 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.9571, allocations: 4 kB / 0.7123 GB, free: 440 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.9574, allocations: 187.4 kB / 0.7124 GB, free: 236 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.842e-05/0.9575, allocations: 89 kB / 0.7125 GB, free: 128 kB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.9575, allocations: 4.328 kB / 0.7125 GB, free: 124 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/0.9577, allocations: 19.92 kB / 0.7125 GB, free: 104 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.83e-05/0.9578, allocations: 7.984 kB / 0.7126 GB, free: 96 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.188e-06/0.9578, allocations: 4 kB / 0.7126 GB, free: 92 kB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.884e-05/0.9579, allocations: 95.3 kB / 0.7127 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.31e-07/0.9579, allocations: 0 / 0.7127 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000301/0.9582, allocations: 15.98 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.0005871/0.9588, allocations: 0.7258 MB / 0.7134 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002202/0.959, allocations: 51.94 kB / 0.7134 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.9591, allocations: 0 / 0.7134 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.85e-05/0.9592, allocations: 31.94 kB / 0.7135 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.9595, allocations: 11.94 kB / 0.7135 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005923/0.9601, allocations: 147.5 kB / 0.7136 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.9604, allocations: 0.6968 MB / 0.7143 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.089e-05/0.9604, allocations: 4 kB / 0.7143 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.809e-05/0.9605, allocations: 23.42 kB / 0.7143 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of SimCode: time 1.092e-06/0.9605, allocations: 0 / 0.7143 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02113/0.9817, allocations: 1.71 MB / 0.716 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003315/0.9821, allocations: 169.9 kB / 0.7161 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.151/3.134, allocations: 0 / 0.7161 GB, free: 12.34 MB / 0.6042 GB