Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.96/3.96, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.866e-05/3.876e-05, allocations: 8 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6188/0.6189, allocations: 92.68 MB / 0.5896 GB, free: 14.36 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2355/0.8545, allocations: 126.9 MB / 0.7136 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/0.8548, allocations: 75.95 kB / 0.7136 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.05199/0.9068, allocations: 12.56 MB / 0.7259 GB, free: 2.605 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.869e-06/0.9069, allocations: 7.938 kB / 0.7259 GB, free: 2.598 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.723e-05/0.907, allocations: 12 kB / 0.7259 GB, free: 2.586 MB / 0.6042 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.002253/0.9092, allocations: 0.8801 MB / 0.7268 GB, free: 1.648 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.9093, allocations: 12.03 kB / 0.7268 GB, free: 1.637 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001867/0.9095, allocations: 94.52 kB / 0.7269 GB, free: 1.535 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002347/0.9097, allocations: 87.05 kB / 0.727 GB, free: 1.449 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.911, allocations: 0.5251 MB / 0.7275 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.05e-05/0.911, allocations: 45.31 kB / 0.7275 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.9112, allocations: 59.98 kB / 0.7276 GB, free: 0.7812 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.9127, allocations: 0.6054 MB / 0.7282 GB, free: 148 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.365e-05/0.9128, allocations: 7.922 kB / 0.7282 GB, free: 140 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.186e-05/0.9129, allocations: 31.94 kB / 0.7282 GB, free: 108 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.127e-05/0.9129, allocations: 16 kB / 0.7282 GB, free: 92 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.9142, allocations: 425.3 kB / 0.7286 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004905/0.9191, allocations: 2.11 MB / 0.7307 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.9203, allocations: 436.2 kB / 0.7311 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005453/0.9209, allocations: 223.8 kB / 0.7313 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.205e-05/0.921, allocations: 8.438 kB / 0.7313 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006577/0.9217, allocations: 253.3 kB / 0.7316 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=50): time 3.196e-06/0.9217, allocations: 0 / 0.7316 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=50): time 0.001271/0.923, allocations: 427.5 kB / 0.732 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.9231, allocations: 166.6 kB / 0.7321 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007453/0.9239, allocations: 391.9 kB / 0.7325 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.109e-05/0.9239, allocations: 37.7 kB / 0.7325 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003513/0.9243, allocations: 329.1 kB / 0.7329 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/0.9245, allocations: 161.7 kB / 0.733 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.862e-05/0.9246, allocations: 12 kB / 0.733 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.9248, allocations: 374.7 kB / 0.7334 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004509/0.9252, allocations: 153.1 kB / 0.7335 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005742/0.9258, allocations: 255.6 kB / 0.7338 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005301/0.9264, allocations: 209 kB / 0.734 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.9264, allocations: 7.938 kB / 0.734 GB, free: 10 MB / 0.6198 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001364/0.9278, allocations: 0.5273 MB / 0.7345 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003004/0.9281, allocations: 0.6453 MB / 0.7351 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.9281, allocations: 0 / 0.7351 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.9281, allocations: 8 kB / 0.7351 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009921/0.9291, allocations: 123.8 kB / 0.7352 GB, free: 8.637 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/0.9292, allocations: 8 kB / 0.7353 GB, free: 8.629 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008059/0.93, allocations: 83.5 kB / 0.7353 GB, free: 8.547 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.964e-05/0.9301, allocations: 20 kB / 0.7354 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.9301, allocations: 4 kB / 0.7354 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001195/0.9313, allocations: 462.9 kB / 0.7358 GB, free: 8.062 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.9313, allocations: 192 / 0.7358 GB, free: 8.062 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.9313, allocations: 8 kB / 0.7358 GB, free: 8.055 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008265/0.9322, allocations: 103.9 kB / 0.7359 GB, free: 7.953 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.806e-05/0.9322, allocations: 11.92 kB / 0.7359 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006933/0.9329, allocations: 71.59 kB / 0.736 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.117e-05/0.933, allocations: 16 kB / 0.736 GB, free: 7.855 MB / 0.6198 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.0002172/0.9332, allocations: 132.9 kB / 0.7361 GB, free: 7.719 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.9334, allocations: 63.2 kB / 0.7362 GB, free: 7.656 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.9336, allocations: 77.3 kB / 0.7363 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.9336, allocations: 4 kB / 0.7363 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.9336, allocations: 0 / 0.7363 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.9337, allocations: 3.984 kB / 0.7363 GB, free: 7.574 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002599/0.9363, allocations: 1.224 MB / 0.7375 GB, free: 6.289 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.9363, allocations: 48 / 0.7375 GB, free: 6.289 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.9373, allocations: 111.9 kB / 0.7376 GB, free: 6.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/0.9374, allocations: 0 / 0.7376 GB, free: 6.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-05/0.9374, allocations: 15.98 kB / 0.7376 GB, free: 6.164 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.9374, allocations: 0 / 0.7376 GB, free: 6.164 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.9375, allocations: 8 kB / 0.7376 GB, free: 6.156 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.9392, allocations: 0.749 MB / 0.7383 GB, free: 5.395 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003385/0.9396, allocations: 184.2 kB / 0.7385 GB, free: 5.195 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.9397, allocations: 12 kB / 0.7385 GB, free: 5.184 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006998/0.9404, allocations: 51.95 kB / 0.7386 GB, free: 5.133 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.9406, allocations: 36.38 kB / 0.7386 GB, free: 5.098 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.712e-05/0.9406, allocations: 16 kB / 0.7386 GB, free: 5.082 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005695/0.9412, allocations: 309.6 kB / 0.7389 GB, free: 4.785 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.31e-07/0.9412, allocations: 0 / 0.7389 GB, free: 4.785 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001059/0.9423, allocations: 267.1 kB / 0.7392 GB, free: 4.523 MB / 0.6198 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.002128/0.9445, allocations: 1.321 MB / 0.7405 GB, free: 3.168 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001853/0.9463, allocations: 0.7534 MB / 0.7412 GB, free: 2.395 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.9464, allocations: 0 / 0.7412 GB, free: 2.395 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005408/0.9469, allocations: 214.5 kB / 0.7414 GB, free: 2.184 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.9481, allocations: 133.8 kB / 0.7415 GB, free: 2.055 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005036/0.9532, allocations: 1.399 MB / 0.7429 GB, free: 0.6133 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005905/0.9538, allocations: 0.9034 MB / 0.7438 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000808/0.9546, allocations: 96.48 kB / 0.7439 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004741/0.9551, allocations: 219.4 kB / 0.7441 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of SimCode: time 9.72e-07/0.9551, allocations: 0 / 0.7441 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04547/1.001, allocations: 12.79 MB / 0.7566 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003121/1.001, allocations: 166.4 kB / 0.7567 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.814/3.815, allocations: 0 / 0.7567 GB, free: 2.5 MB / 0.6355 GB