Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.012/4.012, allocations: 432.7 MB / 444.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.118e-05/4.135e-05, allocations: 5.266 kB / 0.5338 GB, free: 12.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2217, allocations: 98.73 MB / 0.6302 GB, free: 6.098 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2349/0.4567, allocations: 124.9 MB / 0.7522 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/0.457, allocations: 67.97 kB / 0.7522 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01082/0.4678, allocations: 2.13 MB / 0.7543 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4679, allocations: 7.938 kB / 0.7543 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.4679, allocations: 0 / 0.7543 GB, free: 6.844 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001366/0.4693, allocations: 482 kB / 0.7548 GB, free: 6.328 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/0.4694, allocations: 12.03 kB / 0.7548 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.489e-05/0.4694, allocations: 38.55 kB / 0.7548 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.77e-05/0.4695, allocations: 19.86 kB / 0.7549 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.4697, allocations: 187 kB / 0.755 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.4697, allocations: 12 kB / 0.7551 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.537e-05/0.4698, allocations: 12 kB / 0.7551 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003551/0.4702, allocations: 120.2 kB / 0.7552 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.4702, allocations: 0 / 0.7552 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.424e-05/0.4702, allocations: 19.92 kB / 0.7552 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.4703, allocations: 0 / 0.7552 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002417/0.4705, allocations: 59.94 kB / 0.7553 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001509/0.472, allocations: 0.6063 MB / 0.7558 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/0.4724, allocations: 119.9 kB / 0.756 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.4726, allocations: 58.58 kB / 0.756 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-05/0.4726, allocations: 3.938 kB / 0.756 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003623/0.473, allocations: 138 kB / 0.7562 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 2.434e-06/0.473, allocations: 0 / 0.7562 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0004655/0.4735, allocations: 129.5 kB / 0.7563 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.443e-05/0.4736, allocations: 106.8 kB / 0.7564 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.4738, allocations: 153.5 kB / 0.7565 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.206e-05/0.4738, allocations: 37.7 kB / 0.7566 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.474, allocations: 112.3 kB / 0.7567 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.87e-05/0.474, allocations: 47.52 kB / 0.7567 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/0.4741, allocations: 7.938 kB / 0.7567 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.4742, allocations: 326.8 kB / 0.757 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.4744, allocations: 48 kB / 0.7571 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.4747, allocations: 97.02 kB / 0.7572 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.4748, allocations: 51.86 kB / 0.7572 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.4748, allocations: 0 / 0.7572 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005067/0.4754, allocations: 165.4 kB / 0.7574 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.4754, allocations: 4 kB / 0.7574 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.4754, allocations: 4 kB / 0.7574 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.4754, allocations: 4 kB / 0.7574 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004743/0.4759, allocations: 55.89 kB / 0.7574 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.476, allocations: 0 / 0.7574 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005444/0.4765, allocations: 59.94 kB / 0.7575 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/0.4766, allocations: 8 kB / 0.7575 GB, free: 3.281 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.hysteresis.y,hysteresis.y,$whenCondition2,$PRE.hysteresis1.y,hysteresis1.y,$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$whenCondition1,$PRE.hysteresis2.y,hysteresis2.y,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.000135/0.4767, allocations: 120.9 kB / 0.7576 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.355e-05/0.4767, allocations: 15.81 kB / 0.7576 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002151/0.477, allocations: 78.67 kB / 0.7577 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.477, allocations: 4 kB / 0.7577 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.477, allocations: 0 / 0.7577 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.477, allocations: 3.984 kB / 0.7577 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002995/0.4773, allocations: 225.8 kB / 0.7579 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.4774, allocations: 7.953 kB / 0.7579 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003098/0.4777, allocations: 35.97 kB / 0.758 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.138e-06/0.4777, allocations: 7.938 kB / 0.758 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.4777, allocations: 7.922 kB / 0.758 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.4778, allocations: 4 kB / 0.758 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.4778, allocations: 3.984 kB / 0.758 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004088/0.4782, allocations: 190 kB / 0.7582 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.584e-05/0.4783, allocations: 97 kB / 0.7583 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.055e-05/0.4783, allocations: 4.188 kB / 0.7583 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000465/0.4788, allocations: 51.94 kB / 0.7583 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.479, allocations: 55.84 kB / 0.7584 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.784e-05/0.479, allocations: 8 kB / 0.7584 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001331/0.4792, allocations: 123.4 kB / 0.7585 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.8e-07/0.4792, allocations: 0 / 0.7585 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003614/0.4796, allocations: 35.98 kB / 0.7585 GB, free: 2.109 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,hysteresis1.y,pul.T_start,pul.count,$whenCondition1,hysteresis2.y,pul1.T_start,pul1.count,hysteresis.y) * Number of discrete states: 5 (hysteresis.y,pul1.count,hysteresis2.y,pul.count,hysteresis1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008861/0.4805, allocations: 0.8867 MB / 0.7594 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000426/0.4809, allocations: 119.9 kB / 0.7595 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4809, allocations: 0 / 0.7595 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000264/0.4812, allocations: 63.94 kB / 0.7596 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.4815, allocations: 27.94 kB / 0.7596 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008635/0.4824, allocations: 225.4 kB / 0.7598 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.4828, allocations: 0.7205 MB / 0.7605 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001529/0.483, allocations: 13.33 kB / 0.7605 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.4831, allocations: 51.36 kB / 0.7606 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of SimCode: time 8.22e-07/0.4831, allocations: 4 kB / 0.7606 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02631/0.5095, allocations: 3.547 MB / 0.7641 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003435/0.5099, allocations: 175.9 kB / 0.7642 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.462/2.972, allocations: 0 / 0.7642 GB, free: 12.2 MB / 0.6511 GB