Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.683/4.683, allocations: 464.6 MB / 476.8 MB, free: 2.188 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.398e-05/5.413e-05, allocations: 8 kB / 0.5732 GB, free: 5.633 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2491, allocations: 107.2 MB / 0.6778 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8909/1.14, allocations: 138.6 MB / 0.8132 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/1.14, allocations: 78.61 kB / 0.8133 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05137/1.192, allocations: 12.47 MB / 0.8255 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.154e-06/1.192, allocations: 0 / 0.8255 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.781e-05/1.192, allocations: 15.44 kB / 0.8255 GB, free: 9.473 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.002628/1.195, allocations: 0.8747 MB / 0.8263 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/1.195, allocations: 11.56 kB / 0.8263 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002136/1.195, allocations: 96.23 kB / 0.8264 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002842/1.195, allocations: 89.45 kB / 0.8265 GB, free: 8.715 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/1.197, allocations: 0.5275 MB / 0.827 GB, free: 8.367 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.88e-05/1.197, allocations: 49.06 kB / 0.8271 GB, free: 8.367 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/1.197, allocations: 59.31 kB / 0.8271 GB, free: 8.363 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/1.199, allocations: 0.6013 MB / 0.8277 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.817e-05/1.199, allocations: 0 / 0.8277 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/1.199, allocations: 33.16 kB / 0.8278 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/1.199, allocations: 19.5 kB / 0.8278 GB, free: 8.168 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002582/1.202, allocations: 419 kB / 0.8282 GB, free: 8.152 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005531/1.207, allocations: 2.091 MB / 0.8302 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008236/1.215, allocations: 435.8 kB / 0.8306 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006565/1.216, allocations: 216.8 kB / 0.8308 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.932e-05/1.216, allocations: 16.05 kB / 0.8309 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007319/1.217, allocations: 243.8 kB / 0.8311 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=50): time 4.779e-06/1.217, allocations: 0 / 0.8311 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of matching and sorting (n=50): time 0.001404/1.218, allocations: 431.3 kB / 0.8315 GB, free: 6.863 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.795e-05/1.218, allocations: 162.4 kB / 0.8317 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008133/1.219, allocations: 397.7 kB / 0.832 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.773e-05/1.219, allocations: 35.86 kB / 0.8321 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.005653/1.225, allocations: 324.2 kB / 0.8324 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002269/1.225, allocations: 163.6 kB / 0.8325 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.576e-05/1.225, allocations: 11.09 kB / 0.8325 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001536/1.226, allocations: 366.5 kB / 0.8329 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000557/1.226, allocations: 153.2 kB / 0.833 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006636/1.227, allocations: 259.6 kB / 0.8333 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006172/1.227, allocations: 203.7 kB / 0.8335 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/1.227, allocations: 0 / 0.8335 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001593/1.229, allocations: 0.5392 MB / 0.834 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.433e-05/1.229, allocations: 33.27 kB / 0.834 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/1.229, allocations: 3.938 kB / 0.834 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.833e-05/1.229, allocations: 3.906 kB / 0.8341 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/1.23, allocations: 124.1 kB / 0.8342 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.762e-05/1.23, allocations: 7.906 kB / 0.8342 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009506/1.231, allocations: 81.67 kB / 0.8343 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.738e-05/1.231, allocations: 22.27 kB / 0.8343 GB, free: 5.457 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.0002078/1.232, allocations: 134.2 kB / 0.8344 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002207/1.239, allocations: 62.17 kB / 0.8345 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002526/1.239, allocations: 71.08 kB / 0.8345 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/1.239, allocations: 7.938 kB / 0.8345 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/1.239, allocations: 3.906 kB / 0.8345 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/1.239, allocations: 0 / 0.8345 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004297/1.243, allocations: 1.223 MB / 0.8357 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/1.243, allocations: 0 / 0.8357 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/1.245, allocations: 103.9 kB / 0.8358 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.321e-05/1.245, allocations: 7.812 kB / 0.8358 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.937e-05/1.245, allocations: 10.12 kB / 0.8359 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/1.245, allocations: 3.781 kB / 0.8359 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.245, allocations: 0 / 0.8359 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002146/1.247, allocations: 0.7512 MB / 0.8366 GB, free: 20.54 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004056/1.247, allocations: 185.3 kB / 0.8368 GB, free: 20.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/1.247, allocations: 11.03 kB / 0.8368 GB, free: 20.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009137/1.248, allocations: 53.73 kB / 0.8368 GB, free: 20.38 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/1.249, allocations: 38.45 kB / 0.8369 GB, free: 20.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.554e-05/1.249, allocations: 14.86 kB / 0.8369 GB, free: 20.36 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006747/1.249, allocations: 309.4 kB / 0.8372 GB, free: 20.26 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.11e-07/1.249, allocations: 0 / 0.8372 GB, free: 20.26 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009677/1.25, allocations: 151.5 kB / 0.8373 GB, free: 20.23 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.008433/1.259, allocations: 1.318 MB / 0.8386 GB, free: 19.48 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001695/1.261, allocations: 450.3 kB / 0.839 GB, free: 19.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/1.261, allocations: 0 / 0.839 GB, free: 19.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006928/1.261, allocations: 211.2 kB / 0.8392 GB, free: 19.38 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/1.263, allocations: 136.8 kB / 0.8394 GB, free: 19.35 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006442/1.269, allocations: 1.38 MB / 0.8407 GB, free: 18.66 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007428/1.27, allocations: 0.9086 MB / 0.8416 GB, free: 17.86 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006314/1.271, allocations: 62.78 kB / 0.8417 GB, free: 17.82 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000577/1.271, allocations: 219.9 kB / 0.8419 GB, free: 17.8 MB / 0.6511 GB Notification: Performance of SimCode: time 1.513e-06/1.271, allocations: 0 / 0.8419 GB, free: 17.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04643/1.318, allocations: 11.46 MB / 0.8531 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000323/1.318, allocations: 158.2 kB / 0.8532 GB, free: 7.684 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.857/4.176, allocations: 0 / 0.8532 GB, free: 7.684 MB / 0.6511 GB