Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.145/4.145, allocations: 432.7 MB / 444.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.886e-05/3.896e-05, allocations: 3.547 kB / 0.5338 GB, free: 12.19 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2309, allocations: 98.72 MB / 0.6302 GB, free: 6.176 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2426/0.4735, allocations: 131.3 MB / 0.7584 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003141/0.4739, allocations: 71.97 kB / 0.7585 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05773/0.5317, allocations: 12.59 MB / 0.7707 GB, free: 6.039 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5317, allocations: 0 / 0.7707 GB, free: 6.039 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.005e-05/0.5318, allocations: 24 kB / 0.7708 GB, free: 6.016 MB / 0.6511 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.002422/0.5342, allocations: 0.8647 MB / 0.7716 GB, free: 5.094 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.86e-05/0.5343, allocations: 8.25 kB / 0.7716 GB, free: 5.086 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002431/0.5346, allocations: 102.5 kB / 0.7717 GB, free: 4.977 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002664/0.5348, allocations: 86.91 kB / 0.7718 GB, free: 4.891 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.5362, allocations: 0.5289 MB / 0.7723 GB, free: 4.32 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.739e-05/0.5362, allocations: 41.31 kB / 0.7724 GB, free: 4.281 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.5364, allocations: 63.98 kB / 0.7724 GB, free: 4.219 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.5381, allocations: 0.599 MB / 0.773 GB, free: 3.59 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.49e-05/0.5381, allocations: 3.953 kB / 0.773 GB, free: 3.586 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.5382, allocations: 27.98 kB / 0.773 GB, free: 3.559 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.357e-05/0.5383, allocations: 19.94 kB / 0.7731 GB, free: 3.539 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.5396, allocations: 414.6 kB / 0.7735 GB, free: 3.133 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006166/0.5458, allocations: 2.107 MB / 0.7755 GB, free: 0.957 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/0.5474, allocations: 427.5 kB / 0.7759 GB, free: 0.5312 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007304/0.5482, allocations: 216.6 kB / 0.7761 GB, free: 324 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.099e-05/0.5483, allocations: 8.422 kB / 0.7761 GB, free: 316 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009079/0.5492, allocations: 248.6 kB / 0.7764 GB, free: 56 kB / 0.6511 GB Notification: Performance of pre-optimization done (n=50): time 4.829e-06/0.5493, allocations: 0 / 0.7764 GB, free: 56 kB / 0.6511 GB Notification: Performance of matching and sorting (n=50): time 0.5567/1.106, allocations: 426.7 kB / 0.7768 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.914e-05/1.106, allocations: 164.5 kB / 0.7769 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008285/1.107, allocations: 393.7 kB / 0.7773 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001111/1.107, allocations: 37.5 kB / 0.7773 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003261/1.107, allocations: 321 kB / 0.7776 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/1.108, allocations: 166.9 kB / 0.7778 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/1.108, allocations: 12.33 kB / 0.7778 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001389/1.108, allocations: 365.1 kB / 0.7782 GB, free: 135 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004491/1.108, allocations: 155.8 kB / 0.7783 GB, free: 135 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005829/1.109, allocations: 256.8 kB / 0.7786 GB, free: 135 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005201/1.109, allocations: 216.4 kB / 0.7788 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/1.109, allocations: 0 / 0.7788 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001414/1.111, allocations: 0.5276 MB / 0.7793 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001988/1.111, allocations: 0.6457 MB / 0.7799 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/1.111, allocations: 2.5 kB / 0.7799 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.478e-05/1.111, allocations: 6.656 kB / 0.7799 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/1.112, allocations: 123.5 kB / 0.78 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.175e-05/1.112, allocations: 4.906 kB / 0.78 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009403/1.113, allocations: 87.89 kB / 0.7801 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.959e-05/1.113, allocations: 17.03 kB / 0.7801 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/1.113, allocations: 3.844 kB / 0.7801 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001351/1.115, allocations: 453.7 kB / 0.7806 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/1.115, allocations: 3.328 kB / 0.7806 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/1.115, allocations: 4.344 kB / 0.7806 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009069/1.116, allocations: 112.9 kB / 0.7807 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/1.116, allocations: 8.688 kB / 0.7807 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007557/1.117, allocations: 66.7 kB / 0.7808 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.178e-05/1.117, allocations: 17.34 kB / 0.7808 GB, free: 134.1 MB / 0.6511 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.0002258/1.117, allocations: 142.1 kB / 0.7809 GB, free: 134 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/1.117, allocations: 58.5 kB / 0.781 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002114/1.117, allocations: 67.02 kB / 0.781 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/1.117, allocations: 5.5 kB / 0.781 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.656e-05/1.117, allocations: 0.75 kB / 0.781 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/1.117, allocations: 7.984 kB / 0.7811 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002616/1.12, allocations: 1.22 MB / 0.7822 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/1.12, allocations: 1.062 kB / 0.7822 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/1.121, allocations: 109.2 kB / 0.7824 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.108e-05/1.121, allocations: 1.594 kB / 0.7824 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-05/1.121, allocations: 12.12 kB / 0.7824 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.385e-06/1.121, allocations: 6.172 kB / 0.7824 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/1.121, allocations: 3.078 kB / 0.7824 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/1.123, allocations: 0.7489 MB / 0.7831 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003482/1.123, allocations: 182.5 kB / 0.7833 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/1.123, allocations: 10.19 kB / 0.7833 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007269/1.124, allocations: 57.55 kB / 0.7833 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/1.124, allocations: 39.19 kB / 0.7834 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.691e-05/1.124, allocations: 14.27 kB / 0.7834 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005772/1.125, allocations: 315 kB / 0.7837 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.91e-07/1.125, allocations: 1.312 kB / 0.7837 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001242/1.126, allocations: 266.9 kB / 0.784 GB, free: 133.2 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.002104/1.128, allocations: 1.313 MB / 0.7852 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002029/1.13, allocations: 0.7426 MB / 0.786 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/1.131, allocations: 1.031 kB / 0.786 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005765/1.131, allocations: 210.8 kB / 0.7862 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/1.132, allocations: 144.3 kB / 0.7863 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005512/1.138, allocations: 1.394 MB / 0.7877 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005156/1.139, allocations: 0.9039 MB / 0.7885 GB, free: 131.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008862/1.139, allocations: 96.58 kB / 0.7886 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004569/1.14, allocations: 218.2 kB / 0.7888 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of SimCode: time 1.332e-06/1.14, allocations: 0 / 0.7888 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06053/1.2, allocations: 12.74 MB / 0.8013 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002872/1.201, allocations: 157.2 kB / 0.8014 GB, free: 130 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.908/4.109, allocations: 0 / 0.8014 GB, free: 130 MB / 0.6511 GB