Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadModel(Buildings): time 4.649/4.649, allocations: 458.9 MB / 473.4 MB, free: 11.83 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.88e-05/3.881e-05, allocations: 5.344 kB / 0.5697 GB, free: 9.832 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2445, allocations: 106.2 MB / 0.6734 GB, free: 2.66 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.006226/0.2508, allocations: 2.609 MB / 0.676 GB, free: 36 kB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.002583/0.2534, allocations: 0.858 MB / 0.6768 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004592/0.2539, allocations: 27.94 kB / 0.6768 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001395/0.2541, allocations: 31.64 kB / 0.6769 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0006158/0.2547, allocations: 107.6 kB / 0.677 GB, free: 15 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006798/0.2554, allocations: 167.6 kB / 0.6771 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0007207/0.2562, allocations: 288.6 kB / 0.6774 GB, free: 14.56 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003793/0.2566, allocations: 137.9 kB / 0.6775 GB, free: 14.42 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003106/0.2569, allocations: 131.5 kB / 0.6777 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002576/0.2572, allocations: 123.4 kB / 0.6778 GB, free: 14.17 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 6.086e-05/0.2572, allocations: 15.94 kB / 0.6778 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.088e-05/0.2573, allocations: 12 kB / 0.6778 GB, free: 14.14 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.403e-05/0.2574, allocations: 59.69 kB / 0.6779 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 7.553e-05/0.2575, allocations: 24 kB / 0.6779 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0006184/0.2581, allocations: 431.1 kB / 0.6783 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2581, allocations: 0 / 0.6783 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.856e-06/0.2581, allocations: 4 kB / 0.6783 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.33e-05/0.2582, allocations: 0 / 0.6783 GB, free: 13.64 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001443/0.2596, allocations: 0.6342 MB / 0.6789 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.2597, allocations: 15.95 kB / 0.6789 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.2598, allocations: 59.3 kB / 0.679 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008671/0.2607, allocations: 403.6 kB / 0.6794 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.721e-05/0.2608, allocations: 29 kB / 0.6794 GB, free: 12.41 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.566e-05/0.2609, allocations: 36 kB / 0.6794 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.2619, allocations: 397.6 kB / 0.6798 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.262, allocations: 0 / 0.6798 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.038e-05/0.2621, allocations: 16 kB / 0.6798 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.2621, allocations: 8 kB / 0.6798 GB, free: 11.94 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009098/0.263, allocations: 271.8 kB / 0.6801 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002657/0.2657, allocations: 1.324 MB / 0.6814 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.2668, allocations: 306.6 kB / 0.6817 GB, free: 9.965 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.711e-05/0.2669, allocations: 4 kB / 0.6817 GB, free: 9.961 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000516/0.2674, allocations: 177.4 kB / 0.6819 GB, free: 9.777 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=33): time 3.437e-06/0.2674, allocations: 7.938 kB / 0.6819 GB, free: 9.77 MB / 0.5573 GB Notification: Performance of matching and sorting (n=33): time 0.001291/0.2687, allocations: 381.9 kB / 0.6822 GB, free: 9.391 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.96e-05/0.2688, allocations: 81.11 kB / 0.6823 GB, free: 9.293 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005131/0.2693, allocations: 304.8 kB / 0.6826 GB, free: 8.992 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.131e-05/0.2694, allocations: 41.69 kB / 0.6826 GB, free: 8.945 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.2696, allocations: 236.8 kB / 0.6829 GB, free: 8.707 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.2698, allocations: 102.5 kB / 0.683 GB, free: 8.605 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/0.2698, allocations: 8 kB / 0.683 GB, free: 8.598 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001922/0.27, allocations: 358.7 kB / 0.6833 GB, free: 8.238 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003836/0.2704, allocations: 100.7 kB / 0.6834 GB, free: 8.137 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004365/0.2709, allocations: 168.3 kB / 0.6836 GB, free: 7.945 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004109/0.2713, allocations: 117.7 kB / 0.6837 GB, free: 7.832 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.2713, allocations: 0 / 0.6837 GB, free: 7.832 MB / 0.5573 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001055/0.2724, allocations: 346.9 kB / 0.684 GB, free: 7.488 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.2724, allocations: 4 kB / 0.684 GB, free: 7.484 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.2724, allocations: 7.938 kB / 0.684 GB, free: 7.477 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.2725, allocations: 4.188 kB / 0.684 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005148/0.273, allocations: 67.91 kB / 0.6841 GB, free: 7.406 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.273, allocations: 4 kB / 0.6841 GB, free: 7.402 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003658/0.2734, allocations: 39.67 kB / 0.6841 GB, free: 7.363 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/0.2735, allocations: 16 kB / 0.6841 GB, free: 7.348 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: 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.greaterEqualThreshold.y,con.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0002945/0.2738, allocations: 181.7 kB / 0.6843 GB, free: 7.16 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.749e-05/0.2738, allocations: 35.53 kB / 0.6844 GB, free: 7.125 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.274, allocations: 52.19 kB / 0.6844 GB, free: 7.07 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.274, allocations: 0 / 0.6844 GB, free: 7.07 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.274, allocations: 4 kB / 0.6844 GB, free: 7.066 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.2741, allocations: 3.984 kB / 0.6844 GB, free: 7.062 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.2758, allocations: 0.8064 MB / 0.6852 GB, free: 6.199 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.2758, allocations: 0 / 0.6852 GB, free: 6.199 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004656/0.2763, allocations: 51.91 kB / 0.6852 GB, free: 6.148 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.2763, allocations: 0 / 0.6852 GB, free: 6.148 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.322e-05/0.2763, allocations: 8 kB / 0.6853 GB, free: 6.141 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.2764, allocations: 0 / 0.6853 GB, free: 6.141 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.2764, allocations: 0 / 0.6853 GB, free: 6.141 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.2777, allocations: 0.5274 MB / 0.6858 GB, free: 5.598 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000221/0.278, allocations: 136.6 kB / 0.6859 GB, free: 5.445 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.822e-05/0.2781, allocations: 11.94 kB / 0.6859 GB, free: 5.434 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003313/0.2784, allocations: 24.05 kB / 0.6859 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.2786, allocations: 27.95 kB / 0.686 GB, free: 5.383 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.303e-05/0.2786, allocations: 8 kB / 0.686 GB, free: 5.375 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003851/0.279, allocations: 243.2 kB / 0.6862 GB, free: 5.141 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.91e-07/0.279, allocations: 0 / 0.6862 GB, free: 5.141 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005016/0.2795, allocations: 83.69 kB / 0.6863 GB, free: 5.059 MB / 0.5573 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.greaterEqualThreshold.y) * 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.0001676/0.2797, allocations: 116.4 kB / 0.6864 GB, free: 4.941 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0009056/0.2806, allocations: 271.6 kB / 0.6866 GB, free: 4.676 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.2807, allocations: 0 / 0.6866 GB, free: 4.676 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004198/0.2811, allocations: 131.9 kB / 0.6868 GB, free: 4.547 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006682/0.2818, allocations: 80.66 kB / 0.6869 GB, free: 4.469 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002289/0.2841, allocations: 0.9621 MB / 0.6878 GB, free: 3.477 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004634/0.2846, allocations: 0.8191 MB / 0.6886 GB, free: 2.633 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003172/0.2849, allocations: 47.25 kB / 0.6886 GB, free: 2.586 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.285, allocations: 27.44 kB / 0.6887 GB, free: 2.559 MB / 0.5573 GB Notification: Performance of SimCode: time 1.102e-06/0.285, allocations: 0 / 0.6887 GB, free: 2.559 MB / 0.5573 GB Notification: Performance of Templates: time 0.01189/0.297, allocations: 3.254 MB / 0.6918 GB, free: 15.31 MB / 0.573 GB