Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Discrete_Examples_TriggeredMax",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.217/4.217, allocations: 460.4 MB / 472.6 MB, free: 5.301 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.636e-05/3.655e-05, allocations: 4 kB / 0.5682 GB, free: 10.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2544, allocations: 106.2 MB / 0.6719 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9596/1.214, allocations: 131.7 MB / 0.8005 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/1.214, allocations: 72.56 kB / 0.8006 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005868/1.22, allocations: 1.468 MB / 0.802 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/1.22, allocations: 0 / 0.802 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.624e-06/1.22, allocations: 4 kB / 0.802 GB, free: 12.26 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005446/1.221, allocations: 366.3 kB / 0.8023 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/1.221, allocations: 11.84 kB / 0.8024 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.567e-05/1.221, allocations: 34.44 kB / 0.8024 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/1.221, allocations: 11.39 kB / 0.8024 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/1.221, allocations: 176.8 kB / 0.8026 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/1.221, allocations: 4.766 kB / 0.8026 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/1.221, allocations: 3.844 kB / 0.8026 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/1.221, allocations: 56.69 kB / 0.8026 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/1.221, allocations: 0 / 0.8026 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/1.221, allocations: 0 / 0.8026 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/1.221, allocations: 0 / 0.8026 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.08e-05/1.222, allocations: 23.94 kB / 0.8027 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/1.222, allocations: 291.2 kB / 0.8029 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/1.222, allocations: 46.83 kB / 0.803 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.514e-05/1.222, allocations: 23.67 kB / 0.803 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/1.222, allocations: 0 / 0.803 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001499/1.222, allocations: 68.66 kB / 0.8031 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.204e-06/1.222, allocations: 0 / 0.8031 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002333/1.223, allocations: 76.38 kB / 0.8031 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/1.223, allocations: 58.55 kB / 0.8032 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.36e-05/1.223, allocations: 110.8 kB / 0.8033 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/1.223, allocations: 25.7 kB / 0.8033 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.462e-05/1.223, allocations: 89.31 kB / 0.8034 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/1.223, allocations: 16.62 kB / 0.8034 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/1.223, allocations: 0 / 0.8034 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.055e-05/1.223, allocations: 320.5 kB / 0.8037 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.909e-05/1.223, allocations: 14.84 kB / 0.8037 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.652e-05/1.223, allocations: 38.28 kB / 0.8038 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.49e-05/1.223, allocations: 18.84 kB / 0.8038 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.223, allocations: 0 / 0.8038 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001681/1.223, allocations: 85.05 kB / 0.8039 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/1.223, allocations: 3.875 kB / 0.8039 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/1.223, allocations: 4.031 kB / 0.8039 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/1.223, allocations: 7.859 kB / 0.8039 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/1.224, allocations: 18.64 kB / 0.8039 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/1.224, allocations: 3.938 kB / 0.8039 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/1.224, allocations: 19.88 kB / 0.8039 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/1.224, allocations: 5.562 kB / 0.8039 GB, free: 10.54 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$PRE.triggeredMax.y,triggeredMax.y,$whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.647e-05/1.224, allocations: 112.9 kB / 0.8041 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/1.224, allocations: 0 / 0.8041 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002131/1.224, allocations: 88.36 kB / 0.8041 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/1.224, allocations: 3.953 kB / 0.8041 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.224, allocations: 0 / 0.8041 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/1.224, allocations: 1.359 kB / 0.8041 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000455/1.225, allocations: 365.4 kB / 0.8045 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/1.225, allocations: 0 / 0.8045 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/1.225, allocations: 10.55 kB / 0.8045 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/1.225, allocations: 3.953 kB / 0.8045 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/1.225, allocations: 3.844 kB / 0.8045 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/1.225, allocations: 0 / 0.8045 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.225, allocations: 0 / 0.8045 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/1.225, allocations: 180.1 kB / 0.8047 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.674e-05/1.225, allocations: 80.95 kB / 0.8048 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/1.225, allocations: 5.641 kB / 0.8048 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/1.225, allocations: 15.78 kB / 0.8048 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/1.225, allocations: 10.53 kB / 0.8048 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/1.225, allocations: 1.453 kB / 0.8048 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.251e-05/1.225, allocations: 86.78 kB / 0.8049 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/1.226, allocations: 0 / 0.8049 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003454/1.226, allocations: 16.7 kB / 0.8049 GB, free: 9.754 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: 5 (booPul.y,$whenCondition2,$whenCondition1,triggeredMax.y,booPul.pulseStart) * Number of discrete states: 1 (triggeredMax.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008447/1.227, allocations: 0.7148 MB / 0.8056 GB, free: 25.09 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001667/1.227, allocations: 35.8 kB / 0.8056 GB, free: 25.09 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.227, allocations: 3.938 kB / 0.8056 GB, free: 25.09 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.66e-05/1.227, allocations: 30.56 kB / 0.8057 GB, free: 25.08 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/1.227, allocations: 18.72 kB / 0.8057 GB, free: 25.08 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005243/1.228, allocations: 128.1 kB / 0.8058 GB, free: 24.96 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/1.228, allocations: 0.6875 MB / 0.8065 GB, free: 24.26 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.267e-05/1.228, allocations: 9.141 kB / 0.8065 GB, free: 24.26 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.632e-05/1.228, allocations: 23.69 kB / 0.8065 GB, free: 24.25 MB / 0.6511 GB Notification: Performance of SimCode: time 8.01e-07/1.228, allocations: 0 / 0.8065 GB, free: 24.25 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02342/1.252, allocations: 1.596 MB / 0.8081 GB, free: 24 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/1.252, allocations: 162.7 kB / 0.8082 GB, free: 23.78 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.262/3.515, allocations: 0 / 0.8082 GB, free: 23.78 MB / 0.6511 GB