Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.659/4.659, allocations: 404.1 MB / 411.3 MB, free: 348 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.892e-05/2.902e-05, allocations: 0 / 0.4945 GB, free: 1.289 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6601/0.6602, allocations: 92.69 MB / 0.585 GB, free: 2.285 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2558/0.9161, allocations: 126.3 MB / 0.7083 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/0.9164, allocations: 91.88 kB / 0.7084 GB, free: 3.773 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.05696/0.9734, allocations: 12.45 MB / 0.7206 GB, free: 7.289 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9735, allocations: 4 kB / 0.7206 GB, free: 7.285 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.796e-05/0.9736, allocations: 16.12 kB / 0.7206 GB, free: 7.27 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.002964/0.9766, allocations: 0.8799 MB / 0.7215 GB, free: 6.336 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/0.9766, allocations: 12.03 kB / 0.7215 GB, free: 6.324 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003154/0.977, allocations: 79.06 kB / 0.7216 GB, free: 6.246 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/0.9786, allocations: 0.5272 MB / 0.7221 GB, free: 5.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.735e-05/0.9787, allocations: 20 kB / 0.7221 GB, free: 5.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.9789, allocations: 36 kB / 0.7221 GB, free: 5.625 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001779/0.9807, allocations: 402.5 kB / 0.7225 GB, free: 5.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/0.9827, allocations: 0.5215 MB / 0.723 GB, free: 4.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.032e-05/0.9828, allocations: 4 kB / 0.723 GB, free: 4.676 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.9829, allocations: 224 / 0.723 GB, free: 4.676 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.092e-05/0.9829, allocations: 16 kB / 0.723 GB, free: 4.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006574/0.9895, allocations: 1.995 MB / 0.725 GB, free: 2.613 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.9911, allocations: 423.3 kB / 0.7254 GB, free: 2.191 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007481/0.9919, allocations: 208.2 kB / 0.7256 GB, free: 1.984 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.891e-05/0.992, allocations: 4.438 kB / 0.7256 GB, free: 1.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008756/0.9929, allocations: 240.5 kB / 0.7258 GB, free: 1.734 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=50): time 4.519e-06/0.9929, allocations: 0 / 0.7258 GB, free: 1.734 MB / 0.6042 GB Notification: Performance of matching and sorting (n=50): time 0.001601/0.9945, allocations: 403.5 kB / 0.7262 GB, free: 1.332 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.9947, allocations: 170.5 kB / 0.7264 GB, free: 1.129 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000897/0.9956, allocations: 349.2 kB / 0.7267 GB, free: 0.7812 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.111e-05/0.9957, allocations: 29.7 kB / 0.7267 GB, free: 0.7461 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004636/0.9962, allocations: 321 kB / 0.727 GB, free: 440 kB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002609/0.9965, allocations: 157.7 kB / 0.7272 GB, free: 280 kB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-05/0.9965, allocations: 0 / 0.7272 GB, free: 280 kB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002804/0.9968, allocations: 366.8 kB / 0.7275 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006398/0.9975, allocations: 145.1 kB / 0.7277 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008092/0.9983, allocations: 250.5 kB / 0.7279 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007102/0.999, allocations: 178 kB / 0.7281 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.9991, allocations: 0 / 0.7281 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00189/1.001, allocations: 478.3 kB / 0.7285 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004126/1.001, allocations: 0.6397 MB / 0.7292 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/1.001, allocations: 0 / 0.7292 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.162e-05/1.001, allocations: 7.984 kB / 0.7292 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/1.003, allocations: 123.9 kB / 0.7293 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.258e-05/1.003, allocations: 7.938 kB / 0.7293 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/1.004, allocations: 71.58 kB / 0.7294 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.146e-05/1.004, allocations: 16 kB / 0.7294 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/1.004, allocations: 7.953 kB / 0.7294 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001599/1.006, allocations: 381.3 kB / 0.7297 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/1.006, allocations: 4 kB / 0.7298 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/1.006, allocations: 4 kB / 0.7298 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/1.007, allocations: 112.1 kB / 0.7299 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.837e-05/1.007, allocations: 7.938 kB / 0.7299 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009302/1.008, allocations: 51.66 kB / 0.7299 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.62e-05/1.008, allocations: 16 kB / 0.7299 GB, free: 13.35 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.0002658/1.009, allocations: 112.9 kB / 0.73 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001566/1.01, allocations: 407.4 kB / 0.7304 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/1.01, allocations: 59.33 kB / 0.7305 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002881/1.011, allocations: 53.2 kB / 0.7305 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/1.011, allocations: 8.031 kB / 0.7305 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.011, allocations: 0 / 0.7305 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/1.011, allocations: 7.984 kB / 0.7306 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003633/1.014, allocations: 1.112 MB / 0.7316 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/1.014, allocations: 0 / 0.7316 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/1.016, allocations: 103.9 kB / 0.7317 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/1.016, allocations: 0 / 0.7317 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.267e-05/1.016, allocations: 11.98 kB / 0.7318 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/1.016, allocations: 0 / 0.7318 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.016, allocations: 0 / 0.7318 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002494/1.019, allocations: 0.7173 MB / 0.7325 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004822/1.019, allocations: 184.3 kB / 0.7326 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/1.019, allocations: 4 kB / 0.7326 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/1.02, allocations: 47.95 kB / 0.7327 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/1.021, allocations: 36.38 kB / 0.7327 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.616e-05/1.021, allocations: 15.94 kB / 0.7327 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007104/1.021, allocations: 270.9 kB / 0.733 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.92e-07/1.022, allocations: 0 / 0.733 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001827/1.023, allocations: 243 kB / 0.7332 GB, free: 9.898 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.003095/1.026, allocations: 1.274 MB / 0.7345 GB, free: 8.598 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002614/1.029, allocations: 0.7182 MB / 0.7352 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.029, allocations: 0 / 0.7352 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007806/1.03, allocations: 193.6 kB / 0.7353 GB, free: 7.668 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/1.032, allocations: 114.7 kB / 0.7355 GB, free: 7.559 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007575/1.039, allocations: 1.357 MB / 0.7368 GB, free: 6.152 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009512/1.04, allocations: 0.9068 MB / 0.7377 GB, free: 5.215 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001278/1.042, allocations: 96.3 kB / 0.7378 GB, free: 5.117 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007827/1.042, allocations: 219.4 kB / 0.738 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of SimCode: time 1.553e-06/1.042, allocations: 0 / 0.738 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2596/1.302, allocations: 11.5 MB / 0.7492 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0006724/1.303, allocations: 160.8 kB / 0.7494 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.87/5.172, allocations: 0 / 0.7494 GB, free: 9.297 MB / 0.6355 GB