Running command: "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.522/3.522, allocations: 343.8 MB / 355.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.195e-05/4.207e-05, allocations: 4 kB / 436.6 MB, free: 2.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1968, allocations: 77.73 MB / 0.5023 GB, free: 4.496 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6619/0.8588, allocations: 113.3 MB / 0.613 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003222/0.8592, allocations: 79.94 kB / 0.6131 GB, free: 7.598 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.03271/0.8919, allocations: 7.494 MB / 0.6204 GB, free: 80 kB / 0.4948 GB Notification: Performance of FrontEnd: time 1.803e-06/0.892, allocations: 0 / 0.6204 GB, free: 80 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.864e-05/0.8921, allocations: 8 kB / 0.6204 GB, free: 72 kB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.00153/0.8936, allocations: 0.6484 MB / 0.621 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.8937, allocations: 12.03 kB / 0.621 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001791/0.8939, allocations: 74.53 kB / 0.6211 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/0.8941, allocations: 55.3 kB / 0.6212 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008685/0.8949, allocations: 400.3 kB / 0.6215 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.663e-05/0.895, allocations: 32.78 kB / 0.6216 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.332e-05/0.8951, allocations: 39.91 kB / 0.6216 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009555/0.8961, allocations: 385.7 kB / 0.622 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.8961, allocations: 0 / 0.622 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.304e-05/0.8962, allocations: 16 kB / 0.622 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.8962, allocations: 16 kB / 0.622 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000738/0.897, allocations: 245.4 kB / 0.6222 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00323/0.9002, allocations: 1.37 MB / 0.6236 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.9013, allocations: 309.1 kB / 0.6239 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003416/0.9016, allocations: 121.1 kB / 0.624 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.252e-05/0.9017, allocations: 4 kB / 0.624 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005106/0.9022, allocations: 177.1 kB / 0.6242 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 3.697e-06/0.9023, allocations: 4 kB / 0.6242 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.0008701/0.9031, allocations: 275.1 kB / 0.6244 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.9033, allocations: 136.5 kB / 0.6246 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005972/0.9039, allocations: 311.5 kB / 0.6249 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.793e-05/0.904, allocations: 41.69 kB / 0.6249 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002455/0.9042, allocations: 224.8 kB / 0.6251 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.9044, allocations: 102.5 kB / 0.6252 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.9044, allocations: 8 kB / 0.6252 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.9046, allocations: 358.7 kB / 0.6256 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/0.9049, allocations: 99.98 kB / 0.6257 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/0.9053, allocations: 163.1 kB / 0.6258 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003303/0.9057, allocations: 105.5 kB / 0.6259 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.9057, allocations: 0 / 0.6259 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009114/0.9066, allocations: 318.3 kB / 0.6262 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.9067, allocations: 4.781 kB / 0.6262 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.9067, allocations: 0 / 0.6262 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.9067, allocations: 4 kB / 0.6262 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005778/0.9073, allocations: 75.95 kB / 0.6263 GB, free: 9.715 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/0.9073, allocations: 8 kB / 0.6263 GB, free: 9.707 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004826/0.9078, allocations: 47.67 kB / 0.6264 GB, free: 9.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/0.9079, allocations: 12 kB / 0.6264 GB, free: 9.648 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.and3.u1,con.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001797/0.9081, allocations: 137.1 kB / 0.6265 GB, free: 9.508 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.9082, allocations: 43.52 kB / 0.6265 GB, free: 9.465 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001678/0.9084, allocations: 48.38 kB / 0.6266 GB, free: 9.418 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.9084, allocations: 4 kB / 0.6266 GB, free: 9.414 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.9084, allocations: 0 / 0.6266 GB, free: 9.414 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.9084, allocations: 0 / 0.6266 GB, free: 9.414 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/0.9103, allocations: 0.8298 MB / 0.6274 GB, free: 8.527 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.9104, allocations: 0 / 0.6274 GB, free: 8.527 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005604/0.9109, allocations: 59.91 kB / 0.6275 GB, free: 8.469 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.331e-05/0.911, allocations: 4.031 kB / 0.6275 GB, free: 8.465 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.403e-05/0.911, allocations: 11.98 kB / 0.6275 GB, free: 8.453 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.911, allocations: 0 / 0.6275 GB, free: 8.453 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.9111, allocations: 0 / 0.6275 GB, free: 8.453 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.9123, allocations: 0.5031 MB / 0.628 GB, free: 7.934 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000254/0.9126, allocations: 140.5 kB / 0.6281 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.726e-05/0.9127, allocations: 12 kB / 0.6281 GB, free: 7.766 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000429/0.9131, allocations: 32.03 kB / 0.6281 GB, free: 7.734 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.9133, allocations: 23.95 kB / 0.6282 GB, free: 7.711 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.263e-05/0.9133, allocations: 12 kB / 0.6282 GB, free: 7.699 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004568/0.9138, allocations: 242.2 kB / 0.6284 GB, free: 7.461 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.41e-07/0.9138, allocations: 0 / 0.6284 GB, free: 7.461 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000548/0.9143, allocations: 79.84 kB / 0.6285 GB, free: 7.383 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.and3.u1) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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.001488/0.9158, allocations: 1.077 MB / 0.6295 GB, free: 6.281 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007223/0.9166, allocations: 239.9 kB / 0.6298 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.9166, allocations: 4 kB / 0.6298 GB, free: 6.043 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003347/0.9169, allocations: 132.2 kB / 0.6299 GB, free: 5.914 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000725/0.9177, allocations: 73.22 kB / 0.63 GB, free: 5.844 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.9199, allocations: 0.6523 MB / 0.6306 GB, free: 5.152 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004992/0.9205, allocations: 0.8191 MB / 0.6314 GB, free: 4.301 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000315/0.9208, allocations: 47.27 kB / 0.6314 GB, free: 4.254 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000331/0.9212, allocations: 143.4 kB / 0.6316 GB, free: 4.117 MB / 0.5105 GB Notification: Performance of SimCode: time 1.313e-06/0.9212, allocations: 0 / 0.6316 GB, free: 4.117 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04293/0.9641, allocations: 7.371 MB / 0.6388 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000339/0.9645, allocations: 174.6 kB / 0.6389 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.716/3.68, allocations: 0 / 0.6389 GB, free: 12.62 MB / 0.5261 GB