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={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.453/4.453, allocations: 404.1 MB / 411.3 MB, free: 388 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.842e-05/2.853e-05, allocations: 8 kB / 0.4946 GB, free: 1.301 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6377/0.6377, allocations: 92.69 MB / 0.5851 GB, free: 2.32 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2914/0.9292, allocations: 120.9 MB / 0.7032 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003616/0.9296, allocations: 87.94 kB / 0.7032 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.005077/0.9347, allocations: 1.148 MB / 0.7044 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9348, allocations: 4 kB / 0.7044 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.726e-06/0.9348, allocations: 0 / 0.7044 GB, free: 7.992 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.0006723/0.9355, allocations: 370.4 kB / 0.7047 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.9356, allocations: 8.031 kB / 0.7047 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.714e-05/0.9356, allocations: 15.8 kB / 0.7047 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.9358, allocations: 179 kB / 0.7049 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.9359, allocations: 8 kB / 0.7049 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.9359, allocations: 7.984 kB / 0.7049 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001229/0.936, allocations: 20 kB / 0.7049 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.9362, allocations: 53.69 kB / 0.705 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.9362, allocations: 0 / 0.705 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.9363, allocations: 0 / 0.705 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.9363, allocations: 3.953 kB / 0.705 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005939/0.9369, allocations: 285.2 kB / 0.7053 GB, free: 6.934 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.937, allocations: 50.58 kB / 0.7053 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.415e-05/0.9371, allocations: 20.98 kB / 0.7053 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.9372, allocations: 3.984 kB / 0.7053 GB, free: 6.848 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/0.9374, allocations: 71.47 kB / 0.7054 GB, free: 6.766 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 2.475e-06/0.9374, allocations: 3.938 kB / 0.7054 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002824/0.9377, allocations: 85.52 kB / 0.7055 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.9377, allocations: 55.41 kB / 0.7056 GB, free: 6.605 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.9379, allocations: 105.2 kB / 0.7057 GB, free: 6.492 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.9379, allocations: 25.7 kB / 0.7057 GB, free: 6.461 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.672e-05/0.938, allocations: 96.11 kB / 0.7058 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.938, allocations: 19.66 kB / 0.7058 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.505e-06/0.938, allocations: 4 kB / 0.7058 GB, free: 6.34 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.9382, allocations: 322.8 kB / 0.7061 GB, free: 6.016 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.565e-05/0.9383, allocations: 12 kB / 0.7061 GB, free: 6.004 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.388e-05/0.9384, allocations: 44.3 kB / 0.7062 GB, free: 5.945 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.081e-05/0.9385, allocations: 19.98 kB / 0.7062 GB, free: 5.926 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.9385, allocations: 4 kB / 0.7062 GB, free: 5.922 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002405/0.9387, allocations: 85.47 kB / 0.7063 GB, free: 5.832 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.9388, allocations: 12.36 kB / 0.7063 GB, free: 5.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.9388, allocations: 0 / 0.7063 GB, free: 5.82 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.9388, allocations: 3.953 kB / 0.7063 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.939, allocations: 19.98 kB / 0.7063 GB, free: 5.797 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.939, allocations: 4.062 kB / 0.7063 GB, free: 5.793 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.9392, allocations: 19.98 kB / 0.7063 GB, free: 5.773 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.9392, allocations: 4 kB / 0.7063 GB, free: 5.77 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.0001025/0.9393, allocations: 114.5 kB / 0.7064 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001925/0.9396, allocations: 81.59 kB / 0.7065 GB, free: 5.566 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.9396, allocations: 3.953 kB / 0.7065 GB, free: 5.562 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.9398, allocations: 98.23 kB / 0.7066 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.9399, allocations: 0 / 0.7066 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.9399, allocations: 3.984 kB / 0.7066 GB, free: 5.457 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.9399, allocations: 0 / 0.7066 GB, free: 5.457 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005786/0.9405, allocations: 339 kB / 0.7069 GB, free: 5.082 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.9405, allocations: 3.984 kB / 0.7069 GB, free: 5.078 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.9406, allocations: 27.81 kB / 0.707 GB, free: 5.051 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.9407, allocations: 0 / 0.707 GB, free: 5.051 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.9407, allocations: 0 / 0.707 GB, free: 5.051 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.9407, allocations: 4 kB / 0.707 GB, free: 5.047 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.9407, allocations: 320 / 0.707 GB, free: 5.047 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.941, allocations: 187.4 kB / 0.7071 GB, free: 4.848 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.594e-05/0.941, allocations: 77.11 kB / 0.7072 GB, free: 4.754 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.9411, allocations: 7.953 kB / 0.7072 GB, free: 4.746 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002741/0.9414, allocations: 19.98 kB / 0.7072 GB, free: 4.727 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.909e-05/0.9414, allocations: 7.984 kB / 0.7073 GB, free: 4.719 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.9415, allocations: 4 kB / 0.7073 GB, free: 4.715 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.539e-05/0.9415, allocations: 91.27 kB / 0.7073 GB, free: 4.625 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.7e-07/0.9415, allocations: 0 / 0.7073 GB, free: 4.625 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003753/0.9419, allocations: 12 kB / 0.7074 GB, free: 4.613 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: 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.0005874/0.9425, allocations: 0.72 MB / 0.7081 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001868/0.9427, allocations: 47.94 kB / 0.7081 GB, free: 3.82 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.9428, allocations: 0 / 0.7081 GB, free: 3.82 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.461e-05/0.9428, allocations: 24 kB / 0.7081 GB, free: 3.797 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.9432, allocations: 21.16 kB / 0.7081 GB, free: 3.777 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006024/0.9438, allocations: 138 kB / 0.7083 GB, free: 3.605 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.9442, allocations: 0.6924 MB / 0.709 GB, free: 2.887 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.96e-05/0.9442, allocations: 4 kB / 0.709 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.046e-05/0.9443, allocations: 23.38 kB / 0.709 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of SimCode: time 7.71e-07/0.9443, allocations: 0 / 0.709 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04361/0.9879, allocations: 1.379 MB / 0.7103 GB, free: 1.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004008/0.9884, allocations: 149.6 kB / 0.7105 GB, free: 1.312 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.581/3.569, allocations: 5.656 kB / 0.7105 GB, free: 1.309 MB / 0.5886 GB