Running command: "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.929/2.929, allocations: 288.1 MB / 300.7 MB, free: 15.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.186e-05/4.201e-05, allocations: 2.469 kB / 370.6 MB, free: 7.863 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1765, allocations: 67.01 MB / 437.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6083/0.7849, allocations: 105.3 MB / 0.5303 GB, free: 16.96 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003375/0.7853, allocations: 78.67 kB / 0.5303 GB, free: 16.96 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03176/0.8171, allocations: 7.479 MB / 0.5376 GB, free: 32.17 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.8171, allocations: 4 kB / 0.5377 GB, free: 32.17 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.562e-05/0.8172, allocations: 11.09 kB / 0.5377 GB, free: 32.17 MB / 458.7 MB 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.001495/0.8187, allocations: 0.639 MB / 0.5383 GB, free: 31.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.8188, allocations: 7.75 kB / 0.5383 GB, free: 31.7 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001438/0.8189, allocations: 75.84 kB / 0.5384 GB, free: 31.66 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.8191, allocations: 58.38 kB / 0.5384 GB, free: 31.63 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007236/0.8198, allocations: 399.4 kB / 0.5388 GB, free: 31.38 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.687e-05/0.8199, allocations: 26.91 kB / 0.5388 GB, free: 31.38 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.655e-05/0.82, allocations: 43.78 kB / 0.5389 GB, free: 31.38 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008427/0.8209, allocations: 393.6 kB / 0.5392 GB, free: 31.27 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.8209, allocations: 0 / 0.5392 GB, free: 31.27 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.766e-05/0.821, allocations: 14.66 kB / 0.5393 GB, free: 31.27 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.821, allocations: 18.55 kB / 0.5393 GB, free: 31.26 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006298/0.8216, allocations: 245.2 kB / 0.5395 GB, free: 31.26 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002726/0.8244, allocations: 1.369 MB / 0.5408 GB, free: 30.59 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007915/0.8252, allocations: 301.8 kB / 0.5411 GB, free: 30.56 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/0.8255, allocations: 122.6 kB / 0.5413 GB, free: 30.55 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.453e-05/0.8256, allocations: 7.953 kB / 0.5413 GB, free: 30.55 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000367/0.8259, allocations: 168.7 kB / 0.5414 GB, free: 30.5 MB / 458.7 MB Notification: Performance of pre-optimization done (n=33): time 3.727e-06/0.826, allocations: 0 / 0.5414 GB, free: 30.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=33): time 0.0007096/0.8267, allocations: 284 kB / 0.5417 GB, free: 30.43 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.8268, allocations: 142.2 kB / 0.5418 GB, free: 30.27 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000479/0.8273, allocations: 312.9 kB / 0.5421 GB, free: 30.17 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.155e-05/0.8273, allocations: 33.08 kB / 0.5422 GB, free: 30.14 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.8275, allocations: 227.9 kB / 0.5424 GB, free: 30.02 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.497e-05/0.8276, allocations: 106.9 kB / 0.5425 GB, free: 29.95 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/0.8277, allocations: 7.5 kB / 0.5425 GB, free: 29.95 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.8278, allocations: 344 kB / 0.5428 GB, free: 29.64 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.8281, allocations: 94.31 kB / 0.5429 GB, free: 29.64 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/0.8284, allocations: 173.4 kB / 0.5431 GB, free: 29.57 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002585/0.8287, allocations: 108.7 kB / 0.5432 GB, free: 29.56 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.8287, allocations: 0 / 0.5432 GB, free: 29.56 MB / 458.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006821/0.8294, allocations: 332 kB / 0.5435 GB, free: 29.48 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.8294, allocations: 7.781 kB / 0.5435 GB, free: 29.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.8294, allocations: 0 / 0.5435 GB, free: 29.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.8295, allocations: 7.844 kB / 0.5435 GB, free: 29.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005286/0.83, allocations: 71.3 kB / 0.5436 GB, free: 29.47 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/0.83, allocations: 0 / 0.5436 GB, free: 29.47 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000406/0.8305, allocations: 59.73 kB / 0.5436 GB, free: 29.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.8305, allocations: 19.39 kB / 0.5436 GB, free: 29.45 MB / 458.7 MB 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.0001435/0.8307, allocations: 123.5 kB / 0.5438 GB, free: 29.34 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.124e-05/0.8307, allocations: 42.84 kB / 0.5438 GB, free: 29.31 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.8309, allocations: 44.48 kB / 0.5438 GB, free: 29.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.8309, allocations: 7.906 kB / 0.5439 GB, free: 29.3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.8309, allocations: 3.953 kB / 0.5439 GB, free: 29.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.8309, allocations: 0 / 0.5439 GB, free: 29.3 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.8323, allocations: 0.8233 MB / 0.5447 GB, free: 28.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.8324, allocations: 0 / 0.5447 GB, free: 28.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004826/0.8329, allocations: 53.34 kB / 0.5447 GB, free: 28.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.8329, allocations: 0 / 0.5447 GB, free: 28.98 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/0.8329, allocations: 18.05 kB / 0.5447 GB, free: 28.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.833, allocations: 0 / 0.5447 GB, free: 28.98 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.833, allocations: 0 / 0.5447 GB, free: 28.98 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009548/0.8339, allocations: 0.5054 MB / 0.5452 GB, free: 28.82 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002052/0.8342, allocations: 146.9 kB / 0.5454 GB, free: 28.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.504e-05/0.8342, allocations: 7.781 kB / 0.5454 GB, free: 28.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004022/0.8347, allocations: 34.03 kB / 0.5454 GB, free: 28.69 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.74e-05/0.8348, allocations: 24.41 kB / 0.5454 GB, free: 28.69 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.942e-05/0.8348, allocations: 14.45 kB / 0.5454 GB, free: 28.69 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003722/0.8352, allocations: 241.5 kB / 0.5457 GB, free: 28.61 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.8352, allocations: 0 / 0.5457 GB, free: 28.61 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005168/0.8357, allocations: 91.41 kB / 0.5458 GB, free: 28.6 MB / 458.7 MB 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.00133/0.8371, allocations: 1.052 MB / 0.5468 GB, free: 27.91 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006196/0.8377, allocations: 248.5 kB / 0.547 GB, free: 27.89 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.8377, allocations: 3.688 kB / 0.547 GB, free: 27.89 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002839/0.838, allocations: 127.3 kB / 0.5471 GB, free: 27.88 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007152/0.8388, allocations: 79.47 kB / 0.5472 GB, free: 27.87 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.8409, allocations: 0.6656 MB / 0.5479 GB, free: 27.57 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.8413, allocations: 0.8217 MB / 0.5487 GB, free: 26.87 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003083/0.8417, allocations: 43.91 kB / 0.5487 GB, free: 26.86 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002771/0.8419, allocations: 141.8 kB / 0.5489 GB, free: 26.86 MB / 458.7 MB Notification: Performance of SimCode: time 1.623e-06/0.842, allocations: 0 / 0.5489 GB, free: 26.86 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03456/0.8765, allocations: 7.337 MB / 0.556 GB, free: 26.24 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/0.8768, allocations: 159.8 kB / 0.5562 GB, free: 26.02 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.89/3.767, allocations: 3.938 kB / 0.5562 GB, free: 26.01 MB / 458.7 MB