Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadModel(Buildings): time 5.024/5.024, allocations: 458.9 MB / 473.5 MB, free: 11.87 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.209e-05/4.206e-05, allocations: 8.172 kB / 0.5697 GB, free: 9.809 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2724, allocations: 106.2 MB / 0.6734 GB, free: 2.629 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresis): time 0.004368/0.2768, allocations: 2.473 MB / 0.6758 GB, free: 144 kB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.002177/0.279, allocations: 0.8232 MB / 0.6766 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002652/0.2793, allocations: 20 kB / 0.6767 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 9.076e-05/0.2794, allocations: 31.64 kB / 0.6767 GB, free: 15.26 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0004527/0.2799, allocations: 99.62 kB / 0.6768 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000565/0.2805, allocations: 159.7 kB / 0.6769 GB, free: 15 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.000538/0.281, allocations: 248.1 kB / 0.6772 GB, free: 14.76 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002928/0.2813, allocations: 107.9 kB / 0.6773 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000266/0.2816, allocations: 119.5 kB / 0.6774 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002303/0.2819, allocations: 115.5 kB / 0.6775 GB, free: 14.42 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 5.313e-05/0.2819, allocations: 8 kB / 0.6775 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.842e-05/0.282, allocations: 12 kB / 0.6775 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.26e-05/0.2821, allocations: 51.69 kB / 0.6776 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.763e-05/0.2821, allocations: 24 kB / 0.6776 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0005296/0.2827, allocations: 367.3 kB / 0.6779 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2827, allocations: 0 / 0.6779 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.975e-06/0.2827, allocations: 0 / 0.6779 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.418e-05/0.2827, allocations: 0 / 0.6779 GB, free: 13.97 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.00135/0.2841, allocations: 0.6003 MB / 0.6785 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.2842, allocations: 12.03 kB / 0.6785 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.2843, allocations: 51.39 kB / 0.6786 GB, free: 13.26 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008912/0.2852, allocations: 379.4 kB / 0.679 GB, free: 12.84 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.752e-05/0.2853, allocations: 20.66 kB / 0.679 GB, free: 12.82 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.089e-05/0.2854, allocations: 32 kB / 0.679 GB, free: 12.79 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008885/0.2863, allocations: 341.1 kB / 0.6793 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.2863, allocations: 0 / 0.6793 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.77e-05/0.2864, allocations: 12 kB / 0.6793 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.2864, allocations: 8 kB / 0.6793 GB, free: 12.41 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007778/0.2872, allocations: 214.1 kB / 0.6796 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002366/0.2896, allocations: 1.194 MB / 0.6807 GB, free: 10.93 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008893/0.2905, allocations: 239.2 kB / 0.6809 GB, free: 10.69 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.984e-05/0.2905, allocations: 4.188 kB / 0.6809 GB, free: 10.69 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.2906, allocations: 34.75 kB / 0.681 GB, free: 10.64 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=22): time 2.605e-06/0.2906, allocations: 0 / 0.681 GB, free: 10.64 MB / 0.5573 GB Notification: Performance of matching and sorting (n=22): time 0.001062/0.2917, allocations: 305.8 kB / 0.6813 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.794e-05/0.2918, allocations: 106.8 kB / 0.6814 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004795/0.2922, allocations: 296.8 kB / 0.6817 GB, free: 9.918 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.059e-05/0.2923, allocations: 37.69 kB / 0.6817 GB, free: 9.875 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.2925, allocations: 224.2 kB / 0.6819 GB, free: 9.652 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 9.156e-05/0.2926, allocations: 74.86 kB / 0.682 GB, free: 9.578 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.194e-05/0.2927, allocations: 12 kB / 0.682 GB, free: 9.566 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.2929, allocations: 342.8 kB / 0.6823 GB, free: 9.223 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003128/0.2932, allocations: 83.94 kB / 0.6824 GB, free: 9.141 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003641/0.2936, allocations: 151.6 kB / 0.6825 GB, free: 8.965 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.2939, allocations: 81.73 kB / 0.6826 GB, free: 8.887 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.2939, allocations: 0 / 0.6826 GB, free: 8.887 MB / 0.5573 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008577/0.2948, allocations: 284.2 kB / 0.6829 GB, free: 8.605 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.2948, allocations: 4 kB / 0.6829 GB, free: 8.602 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.2949, allocations: 0 / 0.6829 GB, free: 8.602 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.2949, allocations: 4 kB / 0.6829 GB, free: 8.598 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004331/0.2953, allocations: 68.05 kB / 0.683 GB, free: 8.531 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.2954, allocations: 3.938 kB / 0.683 GB, free: 8.527 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003301/0.2957, allocations: 39.73 kB / 0.683 GB, free: 8.488 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/0.2957, allocations: 8 kB / 0.683 GB, free: 8.48 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0002576/0.296, allocations: 166.2 kB / 0.6832 GB, free: 8.309 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.681e-05/0.2961, allocations: 35.62 kB / 0.6832 GB, free: 8.273 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.2962, allocations: 43.36 kB / 0.6832 GB, free: 8.234 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.2963, allocations: 7.984 kB / 0.6833 GB, free: 8.227 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.2963, allocations: 3.953 kB / 0.6833 GB, free: 8.223 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2963, allocations: 0 / 0.6833 GB, free: 8.223 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006361/0.2969, allocations: 385.3 kB / 0.6836 GB, free: 7.797 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2969, allocations: 0 / 0.6836 GB, free: 7.797 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004278/0.2974, allocations: 43.97 kB / 0.6837 GB, free: 7.754 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.2974, allocations: 0 / 0.6837 GB, free: 7.754 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.008e-05/0.2974, allocations: 4 kB / 0.6837 GB, free: 7.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.2975, allocations: 11.94 kB / 0.6837 GB, free: 7.738 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2975, allocations: 0 / 0.6837 GB, free: 7.738 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.2986, allocations: 432.9 kB / 0.6841 GB, free: 7.301 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/0.2988, allocations: 128.7 kB / 0.6842 GB, free: 7.156 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.21e-05/0.2989, allocations: 12.06 kB / 0.6842 GB, free: 7.145 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003166/0.2992, allocations: 19.98 kB / 0.6842 GB, free: 7.125 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.705e-05/0.2993, allocations: 15.97 kB / 0.6843 GB, free: 7.109 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.2993, allocations: 8 kB / 0.6843 GB, free: 7.102 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003768/0.2997, allocations: 235.2 kB / 0.6845 GB, free: 6.871 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2997, allocations: 0 / 0.6845 GB, free: 6.871 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004574/0.3002, allocations: 79.64 kB / 0.6846 GB, free: 6.793 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0001622/0.3004, allocations: 113.3 kB / 0.6847 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0008066/0.3012, allocations: 195.8 kB / 0.6849 GB, free: 6.484 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.3012, allocations: 384 / 0.6849 GB, free: 6.484 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003373/0.3016, allocations: 117.8 kB / 0.685 GB, free: 6.371 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006308/0.3022, allocations: 65.22 kB / 0.685 GB, free: 6.312 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.3041, allocations: 0.8295 MB / 0.6859 GB, free: 5.453 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004159/0.3046, allocations: 0.8031 MB / 0.6866 GB, free: 4.625 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000289/0.3049, allocations: 42.94 kB / 0.6867 GB, free: 4.582 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.305, allocations: 23.44 kB / 0.6867 GB, free: 4.559 MB / 0.5573 GB Notification: Performance of SimCode: time 1.102e-06/0.305, allocations: 0 / 0.6867 GB, free: 4.559 MB / 0.5573 GB Notification: Performance of Templates: time 0.01046/0.3155, allocations: 2.85 MB / 0.6895 GB, free: 1.719 MB / 0.5573 GB