Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.39/4.39, allocations: 404.1 MB / 411.3 MB, free: 312 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.958e-05/2.968e-05, allocations: 4 kB / 0.4946 GB, free: 1.195 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6605/0.6605, allocations: 92.68 MB / 0.5851 GB, free: 2.273 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2347/0.8953, allocations: 120.4 MB / 0.7027 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003917/0.8957, allocations: 91.94 kB / 0.7028 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.003029/0.8988, allocations: 0.7652 MB / 0.7035 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8988, allocations: 4 kB / 0.7035 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.8988, allocations: 0 / 0.7035 GB, free: 8.832 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.0004813/0.8993, allocations: 338.5 kB / 0.7038 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.8994, allocations: 8.031 kB / 0.7038 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.8994, allocations: 15.8 kB / 0.7039 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.8996, allocations: 167 kB / 0.704 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.8996, allocations: 0 / 0.704 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.8996, allocations: 4 kB / 0.704 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.907e-05/0.8997, allocations: 12 kB / 0.704 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.8999, allocations: 45.69 kB / 0.7041 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.8999, allocations: 3.938 kB / 0.7041 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.8999, allocations: 0 / 0.7041 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.8999, allocations: 3.953 kB / 0.7041 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004855/0.9004, allocations: 249.5 kB / 0.7043 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.419e-05/0.9005, allocations: 30.56 kB / 0.7044 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.78e-05/0.9006, allocations: 16.86 kB / 0.7044 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.9006, allocations: 0 / 0.7044 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001223/0.9008, allocations: 51.5 kB / 0.7044 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 2.364e-06/0.9008, allocations: 0 / 0.7044 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002191/0.901, allocations: 69.48 kB / 0.7045 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.9011, allocations: 51.41 kB / 0.7045 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.517e-05/0.9012, allocations: 97 kB / 0.7046 GB, free: 7.516 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.9012, allocations: 25.7 kB / 0.7047 GB, free: 7.484 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.383e-05/0.9013, allocations: 92.12 kB / 0.7047 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.9013, allocations: 3.906 kB / 0.7047 GB, free: 7.387 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/0.9013, allocations: 0 / 0.7047 GB, free: 7.387 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.9015, allocations: 314.8 kB / 0.705 GB, free: 7.07 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.413e-05/0.9015, allocations: 12 kB / 0.7051 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.156e-05/0.9016, allocations: 22.58 kB / 0.7051 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.713e-05/0.9016, allocations: 11.98 kB / 0.7051 GB, free: 7.016 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.9016, allocations: 3.938 kB / 0.7051 GB, free: 7.012 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001538/0.9018, allocations: 57.55 kB / 0.7051 GB, free: 6.949 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.9018, allocations: 4 kB / 0.7052 GB, free: 6.945 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.9019, allocations: 8.094 kB / 0.7052 GB, free: 6.938 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.9019, allocations: 0 / 0.7052 GB, free: 6.938 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.902, allocations: 15.98 kB / 0.7052 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.9021, allocations: 3.953 kB / 0.7052 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.9022, allocations: 11.98 kB / 0.7052 GB, free: 6.906 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.9022, allocations: 4 kB / 0.7052 GB, free: 6.902 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.112e-05/0.9023, allocations: 104.9 kB / 0.7053 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001289/0.9024, allocations: 61.69 kB / 0.7054 GB, free: 6.727 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.9025, allocations: 3.906 kB / 0.7054 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.685e-05/0.9025, allocations: 4.344 kB / 0.7054 GB, free: 6.711 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.9025, allocations: 7.953 kB / 0.7054 GB, free: 6.703 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.9025, allocations: 0 / 0.7054 GB, free: 6.703 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.9026, allocations: 3.984 kB / 0.7054 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003995/0.903, allocations: 279.1 kB / 0.7056 GB, free: 6.383 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.903, allocations: 0 / 0.7056 GB, free: 6.383 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.9031, allocations: 19.92 kB / 0.7057 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.9031, allocations: 0 / 0.7057 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.9031, allocations: 3.953 kB / 0.7057 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.9032, allocations: 0 / 0.7057 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.9032, allocations: 0 / 0.7057 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/0.9034, allocations: 151.5 kB / 0.7058 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-05/0.9034, allocations: 81.05 kB / 0.7059 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.9035, allocations: 8.109 kB / 0.7059 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.9037, allocations: 15.95 kB / 0.7059 GB, free: 6.074 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/0.9037, allocations: 12.11 kB / 0.7059 GB, free: 6.062 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.9038, allocations: 0 / 0.7059 GB, free: 6.062 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.428e-05/0.9038, allocations: 83.28 kB / 0.706 GB, free: 5.98 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.11e-07/0.9038, allocations: 0 / 0.706 GB, free: 5.98 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005628/0.9044, allocations: 8 kB / 0.706 GB, free: 5.973 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.0005048/0.9049, allocations: 0.7005 MB / 0.7067 GB, free: 5.246 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001265/0.9051, allocations: 19.94 kB / 0.7067 GB, free: 5.227 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.9051, allocations: 4 kB / 0.7067 GB, free: 5.223 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.661e-05/0.9052, allocations: 12 kB / 0.7067 GB, free: 5.211 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.9054, allocations: 7.891 kB / 0.7067 GB, free: 5.203 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004848/0.906, allocations: 110.5 kB / 0.7068 GB, free: 5.059 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.9062, allocations: 0.6807 MB / 0.7075 GB, free: 4.352 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.458e-05/0.9063, allocations: 7.984 kB / 0.7075 GB, free: 4.344 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.204e-05/0.9064, allocations: 11.44 kB / 0.7075 GB, free: 4.332 MB / 0.5886 GB Notification: Performance of SimCode: time 7.92e-07/0.9064, allocations: 0 / 0.7075 GB, free: 4.332 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03582/0.9422, allocations: 0.9295 MB / 0.7084 GB, free: 3.418 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002936/0.9426, allocations: 166.4 kB / 0.7086 GB, free: 3.223 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.541/3.483, allocations: 3.938 kB / 0.7086 GB, free: 3.219 MB / 0.5886 GB