Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Discrete_Examples_TriggeredSampler",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.296/4.296, allocations: 464.6 MB / 476.8 MB, free: 2.195 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.728e-05/3.697e-05, allocations: 4 kB / 0.5732 GB, free: 5.621 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2289, allocations: 107.2 MB / 0.6778 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8584/1.087, allocations: 132.1 MB / 0.8068 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/1.088, allocations: 70.61 kB / 0.8069 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004871/1.093, allocations: 1.195 MB / 0.8081 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.713e-06/1.093, allocations: 0 / 0.8081 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.486e-06/1.093, allocations: 0 / 0.8081 GB, free: 11.77 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006106/1.093, allocations: 388.5 kB / 0.8084 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/1.093, allocations: 7.688 kB / 0.8084 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.028e-05/1.093, allocations: 40.69 kB / 0.8085 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/1.093, allocations: 7.844 kB / 0.8085 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/1.093, allocations: 178.4 kB / 0.8087 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.844e-05/1.094, allocations: 43.47 kB / 0.8087 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/1.094, allocations: 3.844 kB / 0.8087 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/1.094, allocations: 59.47 kB / 0.8088 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/1.094, allocations: 0 / 0.8088 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/1.094, allocations: 3.875 kB / 0.8088 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/1.094, allocations: 3.844 kB / 0.8088 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.867e-05/1.094, allocations: 24.92 kB / 0.8088 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004922/1.094, allocations: 316 kB / 0.8091 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/1.095, allocations: 51.27 kB / 0.8091 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.665e-05/1.095, allocations: 23.73 kB / 0.8092 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/1.095, allocations: 0 / 0.8092 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/1.095, allocations: 78.39 kB / 0.8092 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 2.004e-06/1.095, allocations: 0 / 0.8092 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.000245/1.095, allocations: 87.52 kB / 0.8093 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/1.095, allocations: 55.36 kB / 0.8094 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.532e-05/1.095, allocations: 113.8 kB / 0.8095 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/1.095, allocations: 29 kB / 0.8095 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.267e-05/1.095, allocations: 94.19 kB / 0.8096 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/1.095, allocations: 22.84 kB / 0.8096 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-06/1.095, allocations: 3.375 kB / 0.8096 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.973e-05/1.095, allocations: 316.8 kB / 0.8099 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.182e-05/1.096, allocations: 18.41 kB / 0.8099 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.303e-05/1.096, allocations: 48.91 kB / 0.81 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.126e-05/1.096, allocations: 29.12 kB / 0.81 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.096, allocations: 0 / 0.81 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002123/1.096, allocations: 90.38 kB / 0.8101 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/1.096, allocations: 6.469 kB / 0.8101 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/1.096, allocations: 0 / 0.8101 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/1.096, allocations: 3.812 kB / 0.8101 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/1.096, allocations: 26.92 kB / 0.8101 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/1.096, allocations: 2.578 kB / 0.8101 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/1.096, allocations: 33.62 kB / 0.8102 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/1.097, allocations: 6.453 kB / 0.8102 GB, free: 9.973 MB / 0.6355 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 6.611e-05/1.097, allocations: 112.1 kB / 0.8103 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.785e-05/1.097, allocations: 7.844 kB / 0.8103 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/1.097, allocations: 103.2 kB / 0.8104 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/1.097, allocations: 0 / 0.8104 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.097, allocations: 0 / 0.8104 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/1.097, allocations: 3.875 kB / 0.8104 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004889/1.097, allocations: 364.9 kB / 0.8108 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/1.097, allocations: 0 / 0.8108 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/1.098, allocations: 14.8 kB / 0.8108 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/1.098, allocations: 3.844 kB / 0.8108 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/1.098, allocations: 3.938 kB / 0.8108 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/1.098, allocations: 2.812 kB / 0.8108 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.098, allocations: 3.953 kB / 0.8108 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/1.098, allocations: 182.1 kB / 0.811 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.966e-05/1.098, allocations: 80.98 kB / 0.811 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/1.098, allocations: 7.938 kB / 0.811 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/1.098, allocations: 16.27 kB / 0.8111 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/1.098, allocations: 17.8 kB / 0.8111 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/1.098, allocations: 4 kB / 0.8111 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.915e-05/1.098, allocations: 90.22 kB / 0.8112 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/1.098, allocations: 0 / 0.8112 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003633/1.099, allocations: 17.75 kB / 0.8112 GB, free: 9.18 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: 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.0008552/1.099, allocations: 0.7298 MB / 0.8119 GB, free: 24.52 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002044/1.1, allocations: 51.91 kB / 0.8119 GB, free: 24.51 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/1.1, allocations: 0 / 0.8119 GB, free: 24.51 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.952e-05/1.1, allocations: 22.25 kB / 0.812 GB, free: 24.51 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/1.1, allocations: 18.16 kB / 0.812 GB, free: 24.51 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005782/1.101, allocations: 158.4 kB / 0.8121 GB, free: 24.38 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/1.101, allocations: 0.6929 MB / 0.8128 GB, free: 23.68 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.448e-05/1.101, allocations: 6.719 kB / 0.8128 GB, free: 23.68 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.046e-05/1.101, allocations: 24.97 kB / 0.8128 GB, free: 23.67 MB / 0.6511 GB Notification: Performance of SimCode: time 8.52e-07/1.101, allocations: 0 / 0.8128 GB, free: 23.67 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/1.126, allocations: 1.73 MB / 0.8145 GB, free: 23.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002165/1.126, allocations: 169.8 kB / 0.8147 GB, free: 23.19 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.24/3.366, allocations: 0 / 0.8147 GB, free: 23.19 MB / 0.6511 GB