Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.306/4.306, allocations: 460.5 MB / 472.6 MB, free: 5.367 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.249e-05/3.262e-05, allocations: 0 / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2264, allocations: 106.2 MB / 0.6719 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8823/1.109, allocations: 138.3 MB / 0.8069 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003424/1.109, allocations: 81.73 kB / 0.807 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05917/1.168, allocations: 12.54 MB / 0.8193 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.653e-06/1.168, allocations: 0 / 0.8193 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.319e-05/1.168, allocations: 15.38 kB / 0.8193 GB, free: 10.93 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002029/1.171, allocations: 0.8699 MB / 0.8201 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/1.171, allocations: 7.75 kB / 0.8201 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001437/1.171, allocations: 100.1 kB / 0.8202 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/1.171, allocations: 89.75 kB / 0.8203 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009673/1.172, allocations: 0.5243 MB / 0.8208 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.131e-05/1.172, allocations: 41.81 kB / 0.8209 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/1.172, allocations: 63.72 kB / 0.8209 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/1.173, allocations: 0.6046 MB / 0.8215 GB, free: 9.641 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/1.173, allocations: 3.969 kB / 0.8215 GB, free: 9.641 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.547e-05/1.174, allocations: 21.53 kB / 0.8215 GB, free: 9.641 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/1.174, allocations: 15.22 kB / 0.8216 GB, free: 9.641 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/1.175, allocations: 421.4 kB / 0.822 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003918/1.179, allocations: 2.093 MB / 0.824 GB, free: 8.586 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009497/1.18, allocations: 435.6 kB / 0.8244 GB, free: 8.531 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004412/1.18, allocations: 211.1 kB / 0.8246 GB, free: 8.516 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.653e-05/1.18, allocations: 16.05 kB / 0.8246 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005366/1.181, allocations: 245.6 kB / 0.8249 GB, free: 8.426 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=50): time 3.276e-06/1.181, allocations: 0 / 0.8249 GB, free: 8.426 MB / 0.6355 GB Notification: Performance of matching and sorting (n=50): time 0.0009997/1.182, allocations: 428.4 kB / 0.8253 GB, free: 8.332 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/1.182, allocations: 170 kB / 0.8254 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005635/1.182, allocations: 394.9 kB / 0.8258 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.923e-05/1.182, allocations: 39.2 kB / 0.8259 GB, free: 7.965 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/1.183, allocations: 306.8 kB / 0.8261 GB, free: 7.785 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/1.183, allocations: 177.3 kB / 0.8263 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/1.183, allocations: 7.938 kB / 0.8263 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001052/1.183, allocations: 369.9 kB / 0.8267 GB, free: 7.328 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003776/1.183, allocations: 161.8 kB / 0.8268 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004661/1.184, allocations: 257.2 kB / 0.8271 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004296/1.184, allocations: 203.2 kB / 0.8273 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/1.184, allocations: 0 / 0.8273 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001126/1.185, allocations: 0.5317 MB / 0.8278 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/1.185, allocations: 29.52 kB / 0.8278 GB, free: 6.996 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/1.185, allocations: 3.875 kB / 0.8278 GB, free: 6.996 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/1.185, allocations: 4.094 kB / 0.8278 GB, free: 6.996 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009358/1.186, allocations: 123.8 kB / 0.8279 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/1.186, allocations: 3.781 kB / 0.8279 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007632/1.187, allocations: 85.48 kB / 0.828 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.216e-05/1.187, allocations: 15.62 kB / 0.828 GB, free: 6.934 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * 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.0001751/1.187, allocations: 147.6 kB / 0.8282 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/1.188, allocations: 58.25 kB / 0.8282 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001926/1.188, allocations: 62.91 kB / 0.8283 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/1.188, allocations: 11.67 kB / 0.8283 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/1.188, allocations: 4 kB / 0.8283 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/1.188, allocations: 0 / 0.8283 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/1.19, allocations: 1.229 MB / 0.8295 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.19, allocations: 0 / 0.8295 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009781/1.191, allocations: 107.8 kB / 0.8296 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/1.191, allocations: 4 kB / 0.8296 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.493e-05/1.191, allocations: 9.875 kB / 0.8296 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/1.191, allocations: 3.812 kB / 0.8296 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.191, allocations: 0 / 0.8296 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/1.193, allocations: 0.7516 MB / 0.8304 GB, free: 22 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/1.193, allocations: 187.4 kB / 0.8305 GB, free: 21.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/1.193, allocations: 11.62 kB / 0.8306 GB, free: 21.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006858/1.194, allocations: 53.08 kB / 0.8306 GB, free: 21.84 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/1.194, allocations: 35.11 kB / 0.8306 GB, free: 21.83 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.179e-05/1.194, allocations: 15.55 kB / 0.8307 GB, free: 21.82 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004826/1.195, allocations: 306.4 kB / 0.8309 GB, free: 21.72 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.01e-07/1.195, allocations: 0 / 0.8309 GB, free: 21.72 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006653/1.195, allocations: 154.1 kB / 0.8311 GB, free: 21.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.conPID.trigger,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 48 * 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.001799/1.197, allocations: 1.312 MB / 0.8324 GB, free: 20.96 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009513/1.198, allocations: 458.1 kB / 0.8328 GB, free: 20.87 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.198, allocations: 4.125 kB / 0.8328 GB, free: 20.87 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004348/1.199, allocations: 207.5 kB / 0.833 GB, free: 20.86 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/1.2, allocations: 131.3 kB / 0.8331 GB, free: 20.82 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004308/1.204, allocations: 1.382 MB / 0.8345 GB, free: 20.12 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004992/1.204, allocations: 0.9045 MB / 0.8354 GB, free: 19.32 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004345/1.205, allocations: 63.72 kB / 0.8354 GB, free: 19.29 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004058/1.205, allocations: 222 kB / 0.8356 GB, free: 19.26 MB / 0.6511 GB Notification: Performance of SimCode: time 1.092e-06/1.205, allocations: 0 / 0.8356 GB, free: 19.26 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03599/1.241, allocations: 11.46 MB / 0.8468 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/1.242, allocations: 168 kB / 0.847 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.685/3.927, allocations: 0 / 0.847 GB, free: 13.61 MB / 0.6511 GB