Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.44/4.44, allocations: 464.6 MB / 476.8 MB, free: 2.184 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.167e-05/4.184e-05, allocations: 4 kB / 0.5732 GB, free: 5.617 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2481, allocations: 107.2 MB / 0.6778 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9538/1.202, allocations: 139.6 MB / 0.8141 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003685/1.202, allocations: 90.88 kB / 0.8142 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03407/1.237, allocations: 7.481 MB / 0.8215 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.496e-06/1.237, allocations: 3.844 kB / 0.8215 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.802e-05/1.237, allocations: 7.688 kB / 0.8215 GB, free: 11.67 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001631/1.238, allocations: 0.6439 MB / 0.8221 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/1.238, allocations: 11.56 kB / 0.8222 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001276/1.239, allocations: 73.84 kB / 0.8222 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/1.239, allocations: 54.28 kB / 0.8223 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007096/1.239, allocations: 406.8 kB / 0.8227 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/1.24, allocations: 27.47 kB / 0.8227 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.027e-05/1.24, allocations: 38.98 kB / 0.8227 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000828/1.24, allocations: 383.1 kB / 0.8231 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/1.24, allocations: 7.938 kB / 0.8231 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.605e-05/1.241, allocations: 14 kB / 0.8231 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/1.241, allocations: 7.5 kB / 0.8231 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006348/1.241, allocations: 245.4 kB / 0.8234 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002679/1.244, allocations: 1.381 MB / 0.8247 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007986/1.245, allocations: 306.3 kB / 0.825 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002751/1.245, allocations: 126 kB / 0.8251 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.495e-05/1.245, allocations: 7.734 kB / 0.8251 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003758/1.246, allocations: 172 kB / 0.8253 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=33): time 3.296e-06/1.246, allocations: 0 / 0.8253 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33): time 0.0007104/1.246, allocations: 278.7 kB / 0.8256 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/1.246, allocations: 136 kB / 0.8257 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005008/1.247, allocations: 308.5 kB / 0.826 GB, free: 9.242 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.268e-05/1.247, allocations: 39.95 kB / 0.826 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/1.247, allocations: 228.6 kB / 0.8262 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/1.247, allocations: 106.6 kB / 0.8263 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/1.247, allocations: 9.188 kB / 0.8263 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.602e-05/1.247, allocations: 351.4 kB / 0.8267 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/1.248, allocations: 93.5 kB / 0.8268 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003012/1.248, allocations: 160.5 kB / 0.8269 GB, free: 8.59 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/1.248, allocations: 104.3 kB / 0.827 GB, free: 8.574 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/1.248, allocations: 7.734 kB / 0.827 GB, free: 8.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007213/1.249, allocations: 323.7 kB / 0.8273 GB, free: 8.488 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/1.249, allocations: 3.719 kB / 0.8273 GB, free: 8.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/1.249, allocations: 0 / 0.8273 GB, free: 8.488 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/1.249, allocations: 3.781 kB / 0.8273 GB, free: 8.488 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005326/1.25, allocations: 69.5 kB / 0.8274 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/1.25, allocations: 3.719 kB / 0.8274 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004368/1.25, allocations: 50.53 kB / 0.8275 GB, free: 8.449 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/1.25, allocations: 14.81 kB / 0.8275 GB, free: 8.449 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.and3.u1,con.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * 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.0001344/1.25, allocations: 126.8 kB / 0.8276 GB, free: 8.336 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.598e-05/1.25, allocations: 42.77 kB / 0.8276 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/1.25, allocations: 48.97 kB / 0.8277 GB, free: 8.297 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/1.251, allocations: 3.781 kB / 0.8277 GB, free: 8.297 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/1.251, allocations: 3.984 kB / 0.8277 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/1.251, allocations: 0 / 0.8277 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/1.252, allocations: 0.8296 MB / 0.8285 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/1.252, allocations: 4 kB / 0.8285 GB, free: 7.852 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004785/1.252, allocations: 61.55 kB / 0.8286 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.929e-06/1.252, allocations: 3.984 kB / 0.8286 GB, free: 7.832 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/1.252, allocations: 7.594 kB / 0.8286 GB, free: 7.832 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.259e-06/1.253, allocations: 0 / 0.8286 GB, free: 7.832 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.253, allocations: 0 / 0.8286 GB, free: 7.832 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009194/1.253, allocations: 0.509 MB / 0.8291 GB, free: 7.645 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/1.254, allocations: 152.3 kB / 0.8292 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.571e-05/1.254, allocations: 7.094 kB / 0.8292 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003944/1.254, allocations: 34.5 kB / 0.8293 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/1.254, allocations: 26.06 kB / 0.8293 GB, free: 7.492 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/1.254, allocations: 7.891 kB / 0.8293 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003459/1.255, allocations: 245 kB / 0.8295 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.91e-07/1.255, allocations: 4 kB / 0.8295 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005052/1.255, allocations: 83.62 kB / 0.8296 GB, free: 7.383 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.and3.u1) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001532/1.257, allocations: 1.054 MB / 0.8306 GB, free: 22.68 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006157/1.257, allocations: 248.1 kB / 0.8309 GB, free: 22.66 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/1.257, allocations: 0 / 0.8309 GB, free: 22.66 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002864/1.258, allocations: 134.3 kB / 0.831 GB, free: 22.64 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007008/1.258, allocations: 71.81 kB / 0.8311 GB, free: 22.62 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/1.26, allocations: 0.6633 MB / 0.8317 GB, free: 22.26 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/1.261, allocations: 0.8226 MB / 0.8325 GB, free: 21.49 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002723/1.261, allocations: 49.92 kB / 0.8326 GB, free: 21.47 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/1.261, allocations: 148.8 kB / 0.8327 GB, free: 21.45 MB / 0.6511 GB Notification: Performance of SimCode: time 2.395e-06/1.261, allocations: 0 / 0.8327 GB, free: 21.45 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03197/1.293, allocations: 7.354 MB / 0.8399 GB, free: 17.96 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002471/1.294, allocations: 161.4 kB / 0.84 GB, free: 17.74 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.737/4.031, allocations: 0 / 0.84 GB, free: 17.74 MB / 0.6511 GB