Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadModel(BuildSysPro): time 3.004/3.004, allocations: 325.3 MB / 337.5 MB, free: 10.11 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.364e-05/3.376e-05, allocations: 7.984 kB / 414.8 MB, free: 6.152 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1346, allocations: 74.41 MB / 489.2 MB, free: 11.6 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6/0.7346, allocations: 109.2 MB / 0.5844 GB, free: 6.684 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.7349, allocations: 87.2 kB / 0.5845 GB, free: 6.637 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02679/0.7618, allocations: 7.198 MB / 0.5915 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.233e-06/0.7618, allocations: 0 / 0.5915 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.195e-05/0.7619, allocations: 9.422 kB / 0.5915 GB, free: 0.5586 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001075/0.7629, allocations: 0.5988 MB / 0.5921 GB, free: 15.94 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.763, allocations: 11.97 kB / 0.5921 GB, free: 15.93 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.7631, allocations: 47.44 kB / 0.5922 GB, free: 15.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007192/0.7639, allocations: 392.6 kB / 0.5926 GB, free: 15.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.328e-05/0.7639, allocations: 26.72 kB / 0.5926 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.929e-05/0.764, allocations: 29.62 kB / 0.5926 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007049/0.7647, allocations: 340.7 kB / 0.5929 GB, free: 15.22 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/0.7647, allocations: 0 / 0.5929 GB, free: 15.22 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.55e-05/0.7648, allocations: 17.62 kB / 0.5929 GB, free: 15.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.7648, allocations: 4 kB / 0.593 GB, free: 15.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005179/0.7654, allocations: 202.9 kB / 0.5931 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002173/0.7675, allocations: 1.259 MB / 0.5944 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006305/0.7682, allocations: 229.7 kB / 0.5946 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002306/0.7685, allocations: 100.6 kB / 0.5947 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.608e-05/0.7685, allocations: 8.188 kB / 0.5947 GB, free: 13.76 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.7685, allocations: 34.69 kB / 0.5947 GB, free: 13.72 MB / 490.7 MB Notification: Performance of pre-optimization done (n=22): time 2.735e-06/0.7686, allocations: 4 kB / 0.5947 GB, free: 13.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005529/0.7691, allocations: 215 kB / 0.5949 GB, free: 13.56 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.7693, allocations: 162.2 kB / 0.5951 GB, free: 13.36 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004692/0.7697, allocations: 304.9 kB / 0.5954 GB, free: 13.12 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.547e-05/0.7698, allocations: 36.89 kB / 0.5954 GB, free: 13.08 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.77, allocations: 218.7 kB / 0.5956 GB, free: 12.92 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.941e-05/0.7701, allocations: 77.88 kB / 0.5957 GB, free: 12.86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.28e-05/0.7701, allocations: 3.438 kB / 0.5957 GB, free: 12.86 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.7703, allocations: 349 kB / 0.596 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.7705, allocations: 71.56 kB / 0.5961 GB, free: 12.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.7708, allocations: 131.7 kB / 0.5962 GB, free: 12.36 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.771, allocations: 93.25 kB / 0.5963 GB, free: 12.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.99e-06/0.771, allocations: 0 / 0.5963 GB, free: 12.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005758/0.7716, allocations: 252.2 kB / 0.5966 GB, free: 12.11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000256/0.7719, allocations: 450.1 kB / 0.597 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.7e-06/0.7719, allocations: 4 kB / 0.597 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.772, allocations: 4 kB / 0.597 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003439/0.7723, allocations: 59.53 kB / 0.5971 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.7723, allocations: 4 kB / 0.5971 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003089/0.7727, allocations: 51.16 kB / 0.5971 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.7727, allocations: 7.953 kB / 0.5971 GB, free: 11.53 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.7727, allocations: 5.562 kB / 0.5971 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004477/0.7732, allocations: 193 kB / 0.5973 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.683e-06/0.7732, allocations: 0 / 0.5973 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.371e-06/0.7732, allocations: 4 kB / 0.5973 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.7735, allocations: 47.42 kB / 0.5974 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.7735, allocations: 4 kB / 0.5974 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002622/0.7738, allocations: 43.44 kB / 0.5974 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.7738, allocations: 12 kB / 0.5974 GB, free: 11.3 MB / 490.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: 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 (29): * Single equations (assignments): 29 * 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.0001351/0.774, allocations: 116.2 kB / 0.5975 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.7741, allocations: 43.48 kB / 0.5976 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.7742, allocations: 39.56 kB / 0.5976 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.277e-06/0.7742, allocations: 4 kB / 0.5976 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.7743, allocations: 4 kB / 0.5976 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.511e-06/0.7743, allocations: 3.984 kB / 0.5976 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006235/0.7749, allocations: 413.5 kB / 0.598 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.7749, allocations: 0 / 0.598 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003219/0.7753, allocations: 43.97 kB / 0.598 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.442e-06/0.7753, allocations: 0 / 0.598 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.7753, allocations: 6.766 kB / 0.5981 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.332e-06/0.7753, allocations: 4 kB / 0.5981 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.125e-06/0.7754, allocations: 0 / 0.5981 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007754/0.7761, allocations: 430.2 kB / 0.5985 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/0.7764, allocations: 145.8 kB / 0.5986 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.931e-05/0.7764, allocations: 3.938 kB / 0.5986 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003079/0.7767, allocations: 35.86 kB / 0.5986 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.338e-05/0.7768, allocations: 23.28 kB / 0.5987 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.7769, allocations: 4 kB / 0.5987 GB, free: 10.17 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000357/0.7772, allocations: 240.7 kB / 0.5989 GB, free: 9.988 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.7773, allocations: 0 / 0.5989 GB, free: 9.988 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006528/0.7779, allocations: 130.2 kB / 0.599 GB, free: 9.871 MB / 490.7 MB 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.0002072/0.7781, allocations: 114.4 kB / 0.5991 GB, free: 9.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006946/0.7788, allocations: 298.5 kB / 0.5994 GB, free: 9.559 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.123e-06/0.7789, allocations: 4 kB / 0.5994 GB, free: 9.555 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.7791, allocations: 95.67 kB / 0.5995 GB, free: 9.492 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005467/0.7796, allocations: 75.97 kB / 0.5996 GB, free: 9.438 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.781, allocations: 0.5313 MB / 0.6001 GB, free: 8.949 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005244/0.7816, allocations: 0.8038 MB / 0.6009 GB, free: 8.117 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003592/0.782, allocations: 60.25 kB / 0.6009 GB, free: 8.062 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.7821, allocations: 23.44 kB / 0.601 GB, free: 8.039 MB / 490.7 MB Notification: Performance of SimCode: time 1.674e-06/0.7821, allocations: 0 / 0.601 GB, free: 8.039 MB / 490.7 MB Notification: Performance of Templates: time 0.01204/0.7941, allocations: 4.129 MB / 0.605 GB, free: 3.949 MB / 490.7 MB