Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.063/4.063, allocations: 432.7 MB / 444.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.615e-05/4.64e-05, allocations: 5.219 kB / 0.5338 GB, free: 12.19 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2345, allocations: 98.73 MB / 0.6302 GB, free: 6.156 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2633/0.4979, allocations: 132.2 MB / 0.7593 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003045/0.4982, allocations: 75.95 kB / 0.7594 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03294/0.5312, allocations: 7.518 MB / 0.7667 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.475e-06/0.5313, allocations: 0 / 0.7667 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.228e-05/0.5313, allocations: 16.16 kB / 0.7668 GB, free: 10.11 MB / 0.6511 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.001619/0.533, allocations: 0.6484 MB / 0.7674 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.533, allocations: 15.97 kB / 0.7674 GB, free: 9.402 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001631/0.5332, allocations: 74.53 kB / 0.7675 GB, free: 9.32 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.5334, allocations: 59.3 kB / 0.7675 GB, free: 9.262 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009164/0.5343, allocations: 400.2 kB / 0.7679 GB, free: 8.828 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.195e-05/0.5344, allocations: 28.78 kB / 0.7679 GB, free: 8.801 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.837e-05/0.5345, allocations: 39.98 kB / 0.768 GB, free: 8.762 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.5356, allocations: 385.7 kB / 0.7683 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/0.5356, allocations: 3.938 kB / 0.7683 GB, free: 8.355 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.59e-05/0.5357, allocations: 16 kB / 0.7684 GB, free: 8.34 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.5357, allocations: 11.98 kB / 0.7684 GB, free: 8.328 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007501/0.5365, allocations: 245.5 kB / 0.7686 GB, free: 8.086 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003239/0.5398, allocations: 1.378 MB / 0.77 GB, free: 6.629 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009449/0.5408, allocations: 306.7 kB / 0.7702 GB, free: 6.32 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003303/0.5411, allocations: 116.9 kB / 0.7704 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.913e-05/0.5412, allocations: 8 kB / 0.7704 GB, free: 6.195 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004774/0.5417, allocations: 169.3 kB / 0.7705 GB, free: 6.016 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 4.038e-06/0.5417, allocations: 0 / 0.7705 GB, free: 6.016 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.0008578/0.5426, allocations: 278.9 kB / 0.7708 GB, free: 5.738 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.5427, allocations: 144.5 kB / 0.7709 GB, free: 5.566 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006413/0.5433, allocations: 307.6 kB / 0.7712 GB, free: 5.266 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.908e-05/0.5434, allocations: 37.69 kB / 0.7713 GB, free: 5.223 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000249/0.5437, allocations: 232.7 kB / 0.7715 GB, free: 4.992 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.5439, allocations: 102.5 kB / 0.7716 GB, free: 4.891 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/0.5439, allocations: 4 kB / 0.7716 GB, free: 4.887 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.5441, allocations: 358.7 kB / 0.7719 GB, free: 4.527 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002989/0.5444, allocations: 92 kB / 0.772 GB, free: 4.438 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003735/0.5448, allocations: 167.1 kB / 0.7722 GB, free: 4.25 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/0.5451, allocations: 105.5 kB / 0.7723 GB, free: 4.148 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.5451, allocations: 0 / 0.7723 GB, free: 4.148 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000881/0.546, allocations: 322.2 kB / 0.7726 GB, free: 3.828 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000233/0.5463, allocations: 461.3 kB / 0.773 GB, free: 3.344 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.669e-06/0.5463, allocations: 0 / 0.773 GB, free: 3.344 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/0.5463, allocations: 4 kB / 0.773 GB, free: 3.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005888/0.5469, allocations: 67.91 kB / 0.7731 GB, free: 3.273 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-05/0.547, allocations: 4 kB / 0.7731 GB, free: 3.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005322/0.5475, allocations: 55.66 kB / 0.7731 GB, free: 3.215 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.277e-05/0.5476, allocations: 12 kB / 0.7732 GB, free: 3.203 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.5476, allocations: 4 kB / 0.7732 GB, free: 3.199 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001188/0.5488, allocations: 252 kB / 0.7734 GB, free: 2.953 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.5488, allocations: 0 / 0.7734 GB, free: 2.953 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.5489, allocations: 15.88 kB / 0.7734 GB, free: 2.938 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005788/0.5495, allocations: 59.92 kB / 0.7735 GB, free: 2.879 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.5495, allocations: 0 / 0.7735 GB, free: 2.879 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004478/0.55, allocations: 43.94 kB / 0.7735 GB, free: 2.836 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/0.55, allocations: 12 kB / 0.7735 GB, free: 2.824 MB / 0.6511 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.0001968/0.5502, allocations: 120.9 kB / 0.7736 GB, free: 2.699 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.5503, allocations: 47.44 kB / 0.7737 GB, free: 2.652 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.5505, allocations: 40.38 kB / 0.7737 GB, free: 2.609 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.5505, allocations: 7.953 kB / 0.7737 GB, free: 2.602 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.5506, allocations: 4 kB / 0.7737 GB, free: 2.598 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.5506, allocations: 3.984 kB / 0.7737 GB, free: 2.594 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/0.5524, allocations: 0.8301 MB / 0.7746 GB, free: 1.707 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.5525, allocations: 0 / 0.7746 GB, free: 1.707 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005483/0.5531, allocations: 55.91 kB / 0.7746 GB, free: 1.652 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.554e-05/0.5531, allocations: 3.953 kB / 0.7746 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.789e-05/0.5532, allocations: 12 kB / 0.7746 GB, free: 1.637 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.5532, allocations: 0 / 0.7746 GB, free: 1.637 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5532, allocations: 0 / 0.7746 GB, free: 1.637 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.5544, allocations: 0.4951 MB / 0.7751 GB, free: 1.125 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002712/0.5547, allocations: 152.5 kB / 0.7753 GB, free: 0.957 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.534e-05/0.5548, allocations: 7.953 kB / 0.7753 GB, free: 0.9492 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004858/0.5553, allocations: 32.05 kB / 0.7753 GB, free: 0.918 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.5554, allocations: 27.95 kB / 0.7753 GB, free: 0.8906 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.5555, allocations: 4 kB / 0.7753 GB, free: 0.8867 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004698/0.556, allocations: 250.2 kB / 0.7756 GB, free: 0.6406 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.314e-06/0.556, allocations: 0 / 0.7756 GB, free: 0.6406 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008163/0.5568, allocations: 155.5 kB / 0.7757 GB, free: 500 kB / 0.6511 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.5437/1.101, allocations: 1.061 MB / 0.7767 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001223/1.102, allocations: 399.5 kB / 0.7771 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/1.102, allocations: 0.9375 kB / 0.7771 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003783/1.102, allocations: 129.2 kB / 0.7772 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008668/1.103, allocations: 81.58 kB / 0.7773 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/1.106, allocations: 0.6644 MB / 0.778 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/1.106, allocations: 0.8253 MB / 0.7788 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005383/1.107, allocations: 69.42 kB / 0.7788 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003035/1.107, allocations: 140.1 kB / 0.779 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of SimCode: time 1.343e-06/1.107, allocations: 0.875 kB / 0.779 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04001/1.147, allocations: 8.052 MB / 0.7868 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002865/1.147, allocations: 173.2 kB / 0.787 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.742/3.889, allocations: 0 / 0.787 GB, free: 136.6 MB / 0.6511 GB