Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.227/4.227, allocations: 464.6 MB / 476.8 MB, free: 2.141 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.906e-05/3.907e-05, allocations: 4 kB / 0.5732 GB, free: 5.629 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2358, allocations: 107.2 MB / 0.6779 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8575/1.093, allocations: 131.7 MB / 0.8065 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/1.094, allocations: 74.45 kB / 0.8065 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002495/1.096, allocations: 0.7441 MB / 0.8073 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.793e-06/1.096, allocations: 0 / 0.8073 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.757e-06/1.096, allocations: 0 / 0.8073 GB, free: 12.38 MB / 0.6355 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.0004366/1.097, allocations: 344.8 kB / 0.8076 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/1.097, allocations: 14.16 kB / 0.8076 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.891e-05/1.097, allocations: 34 kB / 0.8076 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/1.097, allocations: 3.906 kB / 0.8076 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.515e-05/1.097, allocations: 179.4 kB / 0.8078 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/1.097, allocations: 0 / 0.8078 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/1.097, allocations: 3.812 kB / 0.8078 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/1.097, allocations: 44.41 kB / 0.8079 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/1.097, allocations: 2.578 kB / 0.8079 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/1.097, allocations: 1.531 kB / 0.8079 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/1.097, allocations: 0 / 0.8079 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.027e-05/1.097, allocations: 11.5 kB / 0.8079 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004161/1.098, allocations: 271.9 kB / 0.8081 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.384e-05/1.098, allocations: 33.27 kB / 0.8082 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.133e-05/1.098, allocations: 12.77 kB / 0.8082 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/1.098, allocations: 2.625 kB / 0.8082 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001126/1.098, allocations: 49.64 kB / 0.8082 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.655e-06/1.098, allocations: 0 / 0.8082 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001876/1.098, allocations: 65.69 kB / 0.8083 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/1.098, allocations: 54.27 kB / 0.8083 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.493e-05/1.098, allocations: 100 kB / 0.8084 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/1.098, allocations: 29.64 kB / 0.8085 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.816e-05/1.099, allocations: 84.28 kB / 0.8085 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/1.099, allocations: 14.58 kB / 0.8086 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/1.099, allocations: 0 / 0.8086 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.226e-05/1.099, allocations: 321.1 kB / 0.8089 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.142e-05/1.099, allocations: 7.875 kB / 0.8089 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.48e-05/1.099, allocations: 33.52 kB / 0.8089 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.863e-05/1.099, allocations: 7.781 kB / 0.8089 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.099, allocations: 0 / 0.8089 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001204/1.099, allocations: 62.66 kB / 0.809 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/1.099, allocations: 7.938 kB / 0.809 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/1.099, allocations: 6.609 kB / 0.809 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/1.099, allocations: 0 / 0.809 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/1.099, allocations: 14.53 kB / 0.809 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/1.099, allocations: 7.844 kB / 0.809 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.277e-05/1.099, allocations: 6.531 kB / 0.809 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/1.099, allocations: 7.688 kB / 0.809 GB, free: 10.69 MB / 0.6355 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 6.224e-05/1.099, allocations: 112.9 kB / 0.8091 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.397e-05/1.099, allocations: 3.844 kB / 0.8091 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.55e-05/1.099, allocations: 7.656 kB / 0.8091 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/1.099, allocations: 0 / 0.8091 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.099, allocations: 2.859 kB / 0.8091 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/1.099, allocations: 3.906 kB / 0.8091 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/1.1, allocations: 304.9 kB / 0.8094 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/1.1, allocations: 3.906 kB / 0.8094 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.465e-05/1.1, allocations: 14.66 kB / 0.8094 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/1.1, allocations: 0 / 0.8094 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/1.1, allocations: 3.562 kB / 0.8095 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/1.1, allocations: 0 / 0.8095 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.1, allocations: 2.578 kB / 0.8095 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/1.1, allocations: 152.6 kB / 0.8096 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.684e-05/1.1, allocations: 87.5 kB / 0.8097 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/1.1, allocations: 3.5 kB / 0.8097 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/1.1, allocations: 14.62 kB / 0.8097 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/1.1, allocations: 0 / 0.8097 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.373e-06/1.1, allocations: 0 / 0.8097 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.944e-05/1.1, allocations: 88.77 kB / 0.8098 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/1.1, allocations: 0 / 0.8098 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003511/1.101, allocations: 7.75 kB / 0.8098 GB, free: 9.941 MB / 0.6355 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.0003648/1.101, allocations: 0.6973 MB / 0.8105 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001294/1.101, allocations: 29.03 kB / 0.8105 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.101, allocations: 3.938 kB / 0.8105 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.312e-05/1.101, allocations: 11.34 kB / 0.8105 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/1.102, allocations: 5.312 kB / 0.8105 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004305/1.102, allocations: 116.9 kB / 0.8106 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006299/1.103, allocations: 0.6823 MB / 0.8113 GB, free: 24.46 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.094e-05/1.103, allocations: 4.125 kB / 0.8113 GB, free: 24.46 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/1.103, allocations: 14.5 kB / 0.8113 GB, free: 24.45 MB / 0.6511 GB Notification: Performance of SimCode: time 1.022e-06/1.103, allocations: 0 / 0.8113 GB, free: 24.45 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01842/1.121, allocations: 1.253 MB / 0.8125 GB, free: 24.22 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/1.122, allocations: 172.5 kB / 0.8127 GB, free: 24 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.232/3.353, allocations: 0 / 0.8127 GB, free: 24 MB / 0.6511 GB