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.868/3.868, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.149e-05/4.17e-05, allocations: 11.88 kB / 0.4991 GB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.591/0.591, allocations: 92.68 MB / 0.5896 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2557/0.8468, allocations: 126.9 MB / 0.7136 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/0.8471, allocations: 75.97 kB / 0.7137 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.07418/0.9213, allocations: 12.57 MB / 0.7259 GB, free: 2.625 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9214, allocations: 0 / 0.7259 GB, free: 2.625 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.676e-05/0.9215, allocations: 12 kB / 0.7259 GB, free: 2.613 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.00252/0.924, allocations: 0.8878 MB / 0.7268 GB, free: 1.668 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.9241, allocations: 8.031 kB / 0.7268 GB, free: 1.66 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003133/0.9244, allocations: 98.52 kB / 0.7269 GB, free: 1.555 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002792/0.9247, allocations: 83 kB / 0.727 GB, free: 1.473 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.926, allocations: 0.5329 MB / 0.7275 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.898e-05/0.9261, allocations: 41.31 kB / 0.7276 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.9262, allocations: 63.98 kB / 0.7276 GB, free: 0.7969 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.9279, allocations: 0.6067 MB / 0.7282 GB, free: 164 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/0.9279, allocations: 0 / 0.7282 GB, free: 164 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.916e-05/0.928, allocations: 27.98 kB / 0.7282 GB, free: 136 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.9281, allocations: 16 kB / 0.7283 GB, free: 120 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.9294, allocations: 414.5 kB / 0.7286 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005182/0.9346, allocations: 2.111 MB / 0.7307 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.9358, allocations: 435.4 kB / 0.7311 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000587/0.9364, allocations: 224.3 kB / 0.7313 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.928e-05/0.9365, allocations: 8.422 kB / 0.7313 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006635/0.9372, allocations: 244.6 kB / 0.7316 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=50): time 3.787e-06/0.9372, allocations: 0 / 0.7316 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=50): time 0.001221/0.9384, allocations: 427.5 kB / 0.732 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.9385, allocations: 166.6 kB / 0.7321 GB, free: 12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00074/0.9393, allocations: 395.9 kB / 0.7325 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.384e-05/0.9394, allocations: 37.7 kB / 0.7326 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003507/0.9398, allocations: 321.1 kB / 0.7329 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/0.94, allocations: 165.6 kB / 0.733 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.582e-05/0.94, allocations: 8 kB / 0.733 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002419/0.9403, allocations: 374.7 kB / 0.7334 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005078/0.9408, allocations: 157.1 kB / 0.7335 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006174/0.9414, allocations: 258.5 kB / 0.7338 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005507/0.942, allocations: 205 kB / 0.734 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.942, allocations: 4 kB / 0.734 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001425/0.9435, allocations: 0.5234 MB / 0.7345 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003445/0.9438, allocations: 0.6514 MB / 0.7351 GB, free: 8.812 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.9438, allocations: 0 / 0.7351 GB, free: 8.812 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.9439, allocations: 4 kB / 0.7351 GB, free: 8.809 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.9449, allocations: 119.9 kB / 0.7352 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-05/0.9449, allocations: 4 kB / 0.7353 GB, free: 8.688 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008144/0.9458, allocations: 83.5 kB / 0.7353 GB, free: 8.605 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.717e-05/0.9458, allocations: 23.94 kB / 0.7354 GB, free: 8.582 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.9459, allocations: 4.625 kB / 0.7354 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001172/0.947, allocations: 459 kB / 0.7358 GB, free: 8.121 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.9471, allocations: 4 kB / 0.7358 GB, free: 8.117 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.9471, allocations: 4 kB / 0.7358 GB, free: 8.113 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008226/0.9479, allocations: 107.8 kB / 0.7359 GB, free: 8.008 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.9479, allocations: 7.938 kB / 0.7359 GB, free: 8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006807/0.9486, allocations: 75.77 kB / 0.736 GB, free: 7.926 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.876e-05/0.9487, allocations: 16 kB / 0.736 GB, free: 7.91 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.000211/0.9489, allocations: 132.9 kB / 0.7361 GB, free: 7.773 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.9491, allocations: 63.2 kB / 0.7362 GB, free: 7.711 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.9493, allocations: 65.36 kB / 0.7363 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.9493, allocations: 8 kB / 0.7363 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.9493, allocations: 4 kB / 0.7363 GB, free: 7.633 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.9493, allocations: 0 / 0.7363 GB, free: 7.633 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002562/0.9519, allocations: 1.224 MB / 0.7375 GB, free: 6.348 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.952, allocations: 3.984 kB / 0.7375 GB, free: 6.344 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.953, allocations: 103.9 kB / 0.7376 GB, free: 6.242 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.139e-05/0.953, allocations: 8 kB / 0.7376 GB, free: 6.234 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-05/0.9531, allocations: 12 kB / 0.7376 GB, free: 6.223 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.9531, allocations: 0 / 0.7376 GB, free: 6.223 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.9531, allocations: 0 / 0.7376 GB, free: 6.223 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.9549, allocations: 0.7529 MB / 0.7383 GB, free: 5.461 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000345/0.9552, allocations: 188.2 kB / 0.7385 GB, free: 5.258 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.9554, allocations: 12 kB / 0.7385 GB, free: 5.246 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007105/0.9561, allocations: 51.95 kB / 0.7386 GB, free: 5.195 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/0.9563, allocations: 40.38 kB / 0.7386 GB, free: 5.156 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.736e-05/0.9563, allocations: 12 kB / 0.7386 GB, free: 5.145 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005756/0.9569, allocations: 313.6 kB / 0.7389 GB, free: 4.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.21e-07/0.9569, allocations: 0 / 0.7389 GB, free: 4.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001081/0.958, allocations: 263.1 kB / 0.7392 GB, free: 4.582 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.00217/0.9602, allocations: 1.317 MB / 0.7404 GB, free: 3.238 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001844/0.9621, allocations: 0.7465 MB / 0.7412 GB, free: 2.465 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.9621, allocations: 4 kB / 0.7412 GB, free: 2.461 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005311/0.9626, allocations: 209.5 kB / 0.7414 GB, free: 2.258 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.9638, allocations: 133.4 kB / 0.7415 GB, free: 2.129 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005274/0.9691, allocations: 1.394 MB / 0.7429 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006114/0.9698, allocations: 0.9034 MB / 0.7437 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008061/0.9706, allocations: 96.5 kB / 0.7438 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004999/0.9711, allocations: 223.3 kB / 0.7441 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of SimCode: time 1.173e-06/0.9711, allocations: 0 / 0.7441 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04583/1.017, allocations: 12.72 MB / 0.7565 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/1.017, allocations: 163.6 kB / 0.7566 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.125/4.142, allocations: 0 / 0.7566 GB, free: 2.637 MB / 0.6355 GB