Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Discrete_Examples_TriggeredMax",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.826/3.826, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.206e-05/4.213e-05, allocations: 11.92 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6799/0.6799, allocations: 92.68 MB / 0.5896 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2273/0.9073, allocations: 121.6 MB / 0.7084 GB, free: 4.703 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003389/0.9077, allocations: 83.94 kB / 0.7085 GB, free: 4.621 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.006622/0.9143, allocations: 1.495 MB / 0.71 GB, free: 3.125 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9143, allocations: 4 kB / 0.71 GB, free: 3.121 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.9144, allocations: 0 / 0.71 GB, free: 3.121 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006467/0.915, allocations: 366.4 kB / 0.7103 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.9151, allocations: 12.03 kB / 0.7103 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.196e-05/0.9152, allocations: 34.56 kB / 0.7104 GB, free: 2.664 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.343e-05/0.9152, allocations: 19.8 kB / 0.7104 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.9154, allocations: 171 kB / 0.7105 GB, free: 2.438 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.9154, allocations: 0 / 0.7105 GB, free: 2.438 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.9154, allocations: 8 kB / 0.7105 GB, free: 2.43 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.9156, allocations: 53.67 kB / 0.7106 GB, free: 2.371 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.9156, allocations: 0 / 0.7106 GB, free: 2.371 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.9157, allocations: 3.984 kB / 0.7106 GB, free: 2.367 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.9157, allocations: 4 kB / 0.7106 GB, free: 2.363 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.9158, allocations: 27.89 kB / 0.7106 GB, free: 2.336 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005504/0.9164, allocations: 288.8 kB / 0.7109 GB, free: 2.004 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.9165, allocations: 38.58 kB / 0.7109 GB, free: 1.957 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.73e-05/0.9166, allocations: 20.98 kB / 0.711 GB, free: 1.934 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.9166, allocations: 4 kB / 0.711 GB, free: 1.93 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.9168, allocations: 83.33 kB / 0.711 GB, free: 1.836 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 2.335e-06/0.9168, allocations: 0 / 0.711 GB, free: 1.836 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.000261/0.9171, allocations: 77.58 kB / 0.7111 GB, free: 1.754 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.9172, allocations: 59.34 kB / 0.7112 GB, free: 1.684 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.9173, allocations: 101 kB / 0.7113 GB, free: 1.578 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.9173, allocations: 25.7 kB / 0.7113 GB, free: 1.547 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.632e-05/0.9174, allocations: 92.12 kB / 0.7114 GB, free: 1.453 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.9174, allocations: 11.81 kB / 0.7114 GB, free: 1.441 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-06/0.9175, allocations: 8 kB / 0.7114 GB, free: 1.434 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.9176, allocations: 314.8 kB / 0.7117 GB, free: 1.117 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.766e-05/0.9177, allocations: 15.94 kB / 0.7117 GB, free: 1.102 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.363e-05/0.9178, allocations: 38.56 kB / 0.7118 GB, free: 1.055 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.872e-05/0.9179, allocations: 12 kB / 0.7118 GB, free: 1.043 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.9179, allocations: 4 kB / 0.7118 GB, free: 1.039 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002124/0.9181, allocations: 81.52 kB / 0.7118 GB, free: 0.9531 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.9182, allocations: 15.98 kB / 0.7119 GB, free: 0.9375 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.9182, allocations: 0 / 0.7119 GB, free: 0.9375 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.9182, allocations: 0 / 0.7119 GB, free: 0.9375 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.9184, allocations: 19.98 kB / 0.7119 GB, free: 0.918 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.9184, allocations: 7.938 kB / 0.7119 GB, free: 0.9102 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.9186, allocations: 15.92 kB / 0.7119 GB, free: 0.8945 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.9186, allocations: 4 kB / 0.7119 GB, free: 0.8906 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: 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 9.715e-05/0.9187, allocations: 114.8 kB / 0.712 GB, free: 0.7734 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.9188, allocations: 7.844 kB / 0.712 GB, free: 0.7656 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.9191, allocations: 98.22 kB / 0.7121 GB, free: 0.6641 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.9191, allocations: 0 / 0.7121 GB, free: 0.6641 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.9191, allocations: 0 / 0.7121 GB, free: 0.6641 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.9191, allocations: 0 / 0.7121 GB, free: 0.6641 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006017/0.9197, allocations: 354.5 kB / 0.7125 GB, free: 268 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.9197, allocations: 0 / 0.7125 GB, free: 268 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.9199, allocations: 19.94 kB / 0.7125 GB, free: 248 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.9199, allocations: 0 / 0.7125 GB, free: 248 kB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.9199, allocations: 0 / 0.7125 GB, free: 248 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.9199, allocations: 0 / 0.7125 GB, free: 248 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.9199, allocations: 96 / 0.7125 GB, free: 248 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.9202, allocations: 183.4 kB / 0.7126 GB, free: 48 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.876e-05/0.9203, allocations: 81.11 kB / 0.7127 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.052e-05/0.9203, allocations: 7.953 kB / 0.7127 GB, free: 15.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.9205, allocations: 15.98 kB / 0.7127 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/0.9206, allocations: 8.172 kB / 0.7128 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.9206, allocations: 0 / 0.7128 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.966e-05/0.9207, allocations: 99.81 kB / 0.7129 GB, free: 15.82 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.21e-07/0.9207, allocations: 4 kB / 0.7129 GB, free: 15.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003066/0.9211, allocations: 19.91 kB / 0.7129 GB, free: 15.8 MB / 0.6042 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.0006079/0.9217, allocations: 0.7122 MB / 0.7136 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002179/0.9219, allocations: 36 kB / 0.7136 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.9219, allocations: 4.062 kB / 0.7136 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.986e-05/0.922, allocations: 27.94 kB / 0.7136 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.9223, allocations: 17.14 kB / 0.7137 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005577/0.9229, allocations: 130.6 kB / 0.7138 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.9232, allocations: 0.6908 MB / 0.7145 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.518e-05/0.9233, allocations: 8 kB / 0.7145 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.413e-05/0.9234, allocations: 19.42 kB / 0.7145 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of SimCode: time 8.92e-07/0.9234, allocations: 4 kB / 0.7145 GB, free: 14.06 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.9467, allocations: 1.595 MB / 0.716 GB, free: 12.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000316/0.9471, allocations: 157.8 kB / 0.7162 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.213/3.16, allocations: 4 kB / 0.7162 GB, free: 12.32 MB / 0.6042 GB