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={"static"}) Notification: Performance of loadModel(Buildings): time 3.888/3.888, allocations: 403.3 MB / 415.4 MB, free: 12.97 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.541e-05/3.558e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.33 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6247/0.6248, allocations: 92.68 MB / 0.5896 GB, free: 14.36 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2198/0.8447, allocations: 121.1 MB / 0.7079 GB, free: 5.113 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003552/0.8451, allocations: 91.94 kB / 0.708 GB, free: 5.023 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.002826/0.8479, allocations: 0.7769 MB / 0.7087 GB, free: 4.246 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.553e-06/0.848, allocations: 0 / 0.7087 GB, free: 4.246 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.848, allocations: 4 kB / 0.7087 GB, free: 4.242 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.0005015/0.8485, allocations: 334.5 kB / 0.7091 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.8486, allocations: 12.03 kB / 0.7091 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.786e-05/0.8486, allocations: 34.56 kB / 0.7091 GB, free: 3.816 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.419e-05/0.8487, allocations: 11.86 kB / 0.7091 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.8488, allocations: 167 kB / 0.7093 GB, free: 3.602 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.8488, allocations: 4 kB / 0.7093 GB, free: 3.598 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.8489, allocations: 3.984 kB / 0.7093 GB, free: 3.594 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.849, allocations: 41.7 kB / 0.7093 GB, free: 3.547 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.849, allocations: 0 / 0.7093 GB, free: 3.547 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.849, allocations: 0 / 0.7093 GB, free: 3.547 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.8491, allocations: 4 kB / 0.7093 GB, free: 3.543 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.246e-05/0.8491, allocations: 23.89 kB / 0.7094 GB, free: 3.52 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.8496, allocations: 257 kB / 0.7096 GB, free: 3.219 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.8497, allocations: 34.52 kB / 0.7096 GB, free: 3.176 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.363e-05/0.8498, allocations: 12.86 kB / 0.7096 GB, free: 3.16 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.8498, allocations: 96 / 0.7096 GB, free: 3.16 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001216/0.8499, allocations: 63.39 kB / 0.7097 GB, free: 3.086 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 2.094e-06/0.85, allocations: 0 / 0.7097 GB, free: 3.086 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001906/0.8502, allocations: 61.5 kB / 0.7098 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.8502, allocations: 59.39 kB / 0.7098 GB, free: 2.949 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.583e-05/0.8503, allocations: 97 kB / 0.7099 GB, free: 2.848 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.8504, allocations: 29.7 kB / 0.7099 GB, free: 2.812 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.736e-05/0.8504, allocations: 80.14 kB / 0.71 GB, free: 2.73 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.8505, allocations: 11.89 kB / 0.71 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/0.8505, allocations: 4 kB / 0.71 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.8506, allocations: 326.8 kB / 0.7103 GB, free: 2.387 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.302e-05/0.8506, allocations: 4 kB / 0.7104 GB, free: 2.383 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.457e-05/0.8507, allocations: 26.58 kB / 0.7104 GB, free: 2.348 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.152e-05/0.8508, allocations: 8 kB / 0.7104 GB, free: 2.34 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.8508, allocations: 4 kB / 0.7104 GB, free: 2.336 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001411/0.8509, allocations: 65.53 kB / 0.7104 GB, free: 2.266 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.851, allocations: 8 kB / 0.7105 GB, free: 2.258 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.851, allocations: 0 / 0.7105 GB, free: 2.258 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.851, allocations: 3.953 kB / 0.7105 GB, free: 2.254 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.8511, allocations: 19.92 kB / 0.7105 GB, free: 2.234 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.8512, allocations: 0 / 0.7105 GB, free: 2.234 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.756e-05/0.8513, allocations: 16.2 kB / 0.7105 GB, free: 2.219 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.8513, allocations: 4 kB / 0.7105 GB, free: 2.215 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.273e-05/0.8514, allocations: 109 kB / 0.7106 GB, free: 2.102 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.8514, allocations: 0 / 0.7106 GB, free: 2.102 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.208e-05/0.8515, allocations: 4.031 kB / 0.7106 GB, free: 2.094 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.8515, allocations: 4 kB / 0.7106 GB, free: 2.09 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.8515, allocations: 3.953 kB / 0.7106 GB, free: 2.086 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.8515, allocations: 0 / 0.7106 GB, free: 2.086 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003829/0.8519, allocations: 318.5 kB / 0.7109 GB, free: 1.719 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.8519, allocations: 0 / 0.7109 GB, free: 1.719 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.665e-05/0.852, allocations: 15.92 kB / 0.7109 GB, free: 1.703 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.852, allocations: 0 / 0.7109 GB, free: 1.703 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.852, allocations: 3.953 kB / 0.7109 GB, free: 1.699 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.8521, allocations: 0 / 0.7109 GB, free: 1.699 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.8521, allocations: 0 / 0.7109 GB, free: 1.699 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.8523, allocations: 155.5 kB / 0.7111 GB, free: 1.531 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.086e-05/0.8523, allocations: 89.03 kB / 0.7112 GB, free: 1.426 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.8523, allocations: 3.938 kB / 0.7112 GB, free: 1.422 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.8525, allocations: 7.953 kB / 0.7112 GB, free: 1.414 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.8525, allocations: 7.984 kB / 0.7112 GB, free: 1.406 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.8526, allocations: 0 / 0.7112 GB, free: 1.406 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.698e-05/0.8526, allocations: 87.28 kB / 0.7113 GB, free: 1.32 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.71e-07/0.8526, allocations: 0 / 0.7113 GB, free: 1.32 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002737/0.8529, allocations: 7.906 kB / 0.7113 GB, free: 1.312 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.0004891/0.8534, allocations: 0.6967 MB / 0.712 GB, free: 0.5859 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001306/0.8536, allocations: 27.94 kB / 0.712 GB, free: 0.5586 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.8536, allocations: 0 / 0.712 GB, free: 0.5586 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.798e-05/0.8537, allocations: 16.12 kB / 0.712 GB, free: 0.543 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.8539, allocations: 15.94 kB / 0.712 GB, free: 0.5273 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000439/0.8544, allocations: 102.6 kB / 0.7121 GB, free: 400 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.8547, allocations: 0.6848 MB / 0.7128 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.983e-05/0.8547, allocations: 7.938 kB / 0.7128 GB, free: 15.67 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.854e-05/0.8548, allocations: 11.44 kB / 0.7128 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of SimCode: time 6.71e-07/0.8548, allocations: 0 / 0.7128 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02078/0.8756, allocations: 1.26 MB / 0.714 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002669/0.8759, allocations: 179.6 kB / 0.7142 GB, free: 14.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.172/3.048, allocations: 3.938 kB / 0.7142 GB, free: 14.25 MB / 0.6042 GB