Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Discrete_Examples_TriggeredMax",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.211/4.211, allocations: 464.6 MB / 476.8 MB, free: 2.211 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.205e-05/4.215e-05, allocations: 5.406 kB / 0.5732 GB, free: 5.625 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2315, allocations: 107.2 MB / 0.6778 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8436/1.075, allocations: 132.1 MB / 0.8069 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/1.075, allocations: 78.33 kB / 0.8069 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006096/1.082, allocations: 1.527 MB / 0.8084 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.723e-06/1.082, allocations: 0 / 0.8084 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.925e-06/1.082, allocations: 3.844 kB / 0.8084 GB, free: 11.73 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.0005946/1.082, allocations: 383.7 kB / 0.8088 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/1.082, allocations: 11.69 kB / 0.8088 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.944e-05/1.082, allocations: 34.47 kB / 0.8088 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/1.082, allocations: 7.719 kB / 0.8088 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/1.083, allocations: 172.8 kB / 0.809 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.556e-05/1.083, allocations: 33.45 kB / 0.809 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/1.083, allocations: 3.906 kB / 0.809 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/1.083, allocations: 57.89 kB / 0.8091 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/1.083, allocations: 0 / 0.8091 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/1.083, allocations: 0 / 0.8091 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/1.083, allocations: 11.73 kB / 0.8091 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.614e-05/1.083, allocations: 21.27 kB / 0.8091 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/1.083, allocations: 295.9 kB / 0.8094 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/1.084, allocations: 43.41 kB / 0.8095 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.062e-05/1.084, allocations: 19.64 kB / 0.8095 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/1.084, allocations: 4 kB / 0.8095 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001421/1.084, allocations: 63.64 kB / 0.8095 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.903e-06/1.084, allocations: 3.938 kB / 0.8095 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002383/1.084, allocations: 71.95 kB / 0.8096 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/1.084, allocations: 66.89 kB / 0.8097 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.581e-05/1.084, allocations: 110.8 kB / 0.8098 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/1.084, allocations: 29.58 kB / 0.8098 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.731e-05/1.084, allocations: 90.75 kB / 0.8099 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/1.084, allocations: 18.47 kB / 0.8099 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/1.084, allocations: 0 / 0.8099 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.973e-05/1.084, allocations: 316.7 kB / 0.8102 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.532e-05/1.084, allocations: 17.62 kB / 0.8102 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.031e-05/1.084, allocations: 32.58 kB / 0.8103 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.991e-05/1.085, allocations: 25.66 kB / 0.8103 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.085, allocations: 4 kB / 0.8103 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001836/1.085, allocations: 80.02 kB / 0.8104 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/1.085, allocations: 10.09 kB / 0.8104 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/1.085, allocations: 3.844 kB / 0.8104 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/1.085, allocations: 0 / 0.8104 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/1.085, allocations: 22.08 kB / 0.8104 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/1.085, allocations: 3.938 kB / 0.8104 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/1.085, allocations: 28.75 kB / 0.8104 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/1.085, allocations: 0 / 0.8104 GB, free: 9.973 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.078e-05/1.085, allocations: 110.3 kB / 0.8105 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/1.085, allocations: 7.688 kB / 0.8105 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001995/1.086, allocations: 79.78 kB / 0.8106 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/1.086, allocations: 3.781 kB / 0.8106 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.086, allocations: 0 / 0.8106 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.086, allocations: 4 kB / 0.8106 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004375/1.086, allocations: 354.7 kB / 0.811 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/1.086, allocations: 0 / 0.811 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/1.086, allocations: 14.72 kB / 0.811 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/1.086, allocations: 0 / 0.811 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/1.086, allocations: 0 / 0.811 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/1.086, allocations: 4 kB / 0.811 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/1.086, allocations: 3.953 kB / 0.811 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/1.086, allocations: 190.1 kB / 0.8112 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.588e-05/1.086, allocations: 77.11 kB / 0.8112 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/1.087, allocations: 0 / 0.8112 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/1.087, allocations: 16.64 kB / 0.8113 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/1.087, allocations: 20.52 kB / 0.8113 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/1.087, allocations: 7.781 kB / 0.8113 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.933e-05/1.087, allocations: 86.03 kB / 0.8114 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/1.087, allocations: 0 / 0.8114 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003194/1.087, allocations: 15.66 kB / 0.8114 GB, free: 9.188 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.0008063/1.088, allocations: 0.721 MB / 0.8121 GB, free: 24.52 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001675/1.088, allocations: 38.94 kB / 0.8121 GB, free: 24.52 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.088, allocations: 0 / 0.8121 GB, free: 24.52 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.633e-05/1.088, allocations: 31.78 kB / 0.8122 GB, free: 24.52 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/1.089, allocations: 11.84 kB / 0.8122 GB, free: 24.51 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005368/1.089, allocations: 128.4 kB / 0.8123 GB, free: 24.39 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/1.089, allocations: 0.6936 MB / 0.813 GB, free: 23.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.057e-05/1.089, allocations: 3.812 kB / 0.813 GB, free: 23.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.651e-05/1.09, allocations: 21.86 kB / 0.813 GB, free: 23.69 MB / 0.6511 GB Notification: Performance of SimCode: time 8.72e-07/1.09, allocations: 0 / 0.813 GB, free: 23.69 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/1.112, allocations: 1.622 MB / 0.8146 GB, free: 23.45 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002541/1.112, allocations: 161.6 kB / 0.8147 GB, free: 23.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.289/3.401, allocations: 3.938 kB / 0.8147 GB, free: 23.22 MB / 0.6511 GB