Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Discrete_Examples_TriggeredSampler",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.948/3.948, allocations: 432.7 MB / 444.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.188e-05/3.189e-05, allocations: 3.969 kB / 0.5338 GB, free: 12.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2152, allocations: 98.73 MB / 0.6302 GB, free: 6.152 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2343/0.4496, allocations: 124.7 MB / 0.752 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.4499, allocations: 71.95 kB / 0.7521 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004526/0.4544, allocations: 1.126 MB / 0.7532 GB, free: 8.062 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4544, allocations: 0 / 0.7532 GB, free: 8.062 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.4545, allocations: 4 kB / 0.7532 GB, free: 8.059 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.0006306/0.4551, allocations: 374.4 kB / 0.7535 GB, free: 7.648 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.4552, allocations: 12.03 kB / 0.7536 GB, free: 7.637 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.262e-05/0.4552, allocations: 38.56 kB / 0.7536 GB, free: 7.59 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.4553, allocations: 4 kB / 0.7536 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.4554, allocations: 178.9 kB / 0.7538 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.4555, allocations: 8 kB / 0.7538 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.4555, allocations: 4 kB / 0.7538 GB, free: 7.359 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.4557, allocations: 61.62 kB / 0.7538 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.4557, allocations: 0 / 0.7538 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.4557, allocations: 0 / 0.7538 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.4558, allocations: 7.984 kB / 0.7538 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.4559, allocations: 31.98 kB / 0.7539 GB, free: 7.254 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005816/0.4565, allocations: 312.6 kB / 0.7542 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.4567, allocations: 54.52 kB / 0.7542 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.157e-05/0.4568, allocations: 20.98 kB / 0.7542 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.4568, allocations: 4 kB / 0.7543 GB, free: 6.809 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001772/0.457, allocations: 67.39 kB / 0.7543 GB, free: 6.73 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 2.404e-06/0.457, allocations: 0 / 0.7543 GB, free: 6.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0002726/0.4573, allocations: 85.64 kB / 0.7544 GB, free: 6.641 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.4573, allocations: 51.41 kB / 0.7544 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.4575, allocations: 121 kB / 0.7546 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.4575, allocations: 33.7 kB / 0.7546 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.048e-05/0.4576, allocations: 88.12 kB / 0.7547 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.4576, allocations: 23.7 kB / 0.7547 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.183e-06/0.4577, allocations: 0 / 0.7547 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.4578, allocations: 322.8 kB / 0.755 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.878e-05/0.4579, allocations: 16 kB / 0.755 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.112e-05/0.458, allocations: 48.3 kB / 0.7551 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.292e-05/0.458, allocations: 23.98 kB / 0.7551 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.4581, allocations: 0 / 0.7551 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002257/0.4583, allocations: 89.56 kB / 0.7552 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.4583, allocations: 4 kB / 0.7552 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.4583, allocations: 4.125 kB / 0.7552 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.4584, allocations: 7.953 kB / 0.7552 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.4586, allocations: 15.98 kB / 0.7552 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.4586, allocations: 7.984 kB / 0.7552 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.4588, allocations: 27.83 kB / 0.7552 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.4588, allocations: 4 kB / 0.7552 GB, free: 5.707 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 9.627e-05/0.4589, allocations: 113 kB / 0.7554 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/0.4589, allocations: 7.938 kB / 0.7554 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002574/0.4592, allocations: 94.2 kB / 0.7555 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.4592, allocations: 0 / 0.7555 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.4592, allocations: 3.953 kB / 0.7555 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.4593, allocations: 4 kB / 0.7555 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006028/0.4599, allocations: 374.6 kB / 0.7558 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.4599, allocations: 0 / 0.7558 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.46, allocations: 11.98 kB / 0.7558 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.46, allocations: 0 / 0.7558 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.4601, allocations: 3.953 kB / 0.7558 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.4601, allocations: 0 / 0.7558 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4601, allocations: 4 kB / 0.7558 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.4604, allocations: 187.4 kB / 0.756 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.323e-05/0.4604, allocations: 85.11 kB / 0.7561 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.4605, allocations: 0 / 0.7561 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.4607, allocations: 19.94 kB / 0.7561 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/0.4607, allocations: 11.92 kB / 0.7561 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.4607, allocations: 0 / 0.7561 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.164e-05/0.4608, allocations: 99.58 kB / 0.7562 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.8e-07/0.4608, allocations: 8 kB / 0.7562 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003258/0.4612, allocations: 11.91 kB / 0.7562 GB, free: 4.578 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.0005668/0.4618, allocations: 0.7164 MB / 0.7569 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002043/0.462, allocations: 51.94 kB / 0.757 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.462, allocations: 4.25 kB / 0.757 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.009e-05/0.4621, allocations: 27.94 kB / 0.757 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.4624, allocations: 20.97 kB / 0.757 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005748/0.463, allocations: 143 kB / 0.7572 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.4633, allocations: 0.6926 MB / 0.7579 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.601e-05/0.4634, allocations: 12.08 kB / 0.7579 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.573e-05/0.4634, allocations: 19.42 kB / 0.7579 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of SimCode: time 8.71e-07/0.4634, allocations: 0 / 0.7579 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.4841, allocations: 1.699 MB / 0.7595 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003324/0.4845, allocations: 167.5 kB / 0.7597 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.13/2.615, allocations: 0 / 0.7597 GB, free: 0.957 MB / 0.6355 GB