Running command: translateModel(BuildingSystems.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadModel(BuildingSystems): time 2.914/2.914, allocations: 343.8 MB / 355.9 MB, free: 9.402 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.958e-05/3.001e-05, allocations: 4 kB / 436.6 MB, free: 2.504 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1378, allocations: 77.73 MB / 0.5022 GB, free: 4.617 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5171/0.655, allocations: 113.3 MB / 0.6129 GB, free: 7.824 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.6553, allocations: 75.95 kB / 0.613 GB, free: 7.75 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02886/0.6842, allocations: 7.5 MB / 0.6203 GB, free: 232 kB / 0.4948 GB Notification: Performance of FrontEnd: time 2.06e-06/0.6842, allocations: 0 / 0.6203 GB, free: 232 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.718e-05/0.6843, allocations: 15.94 kB / 0.6203 GB, free: 216 kB / 0.4948 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.001201/0.6855, allocations: 0.6406 MB / 0.621 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.6855, allocations: 11.97 kB / 0.621 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.6857, allocations: 59.12 kB / 0.621 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007694/0.6865, allocations: 400.2 kB / 0.6214 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.13e-05/0.6865, allocations: 28.78 kB / 0.6214 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.761e-05/0.6866, allocations: 36 kB / 0.6215 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008559/0.6875, allocations: 385.7 kB / 0.6218 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.6876, allocations: 4 kB / 0.6218 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.836e-05/0.6876, allocations: 19.98 kB / 0.6219 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.6877, allocations: 11.98 kB / 0.6219 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006587/0.6883, allocations: 245.4 kB / 0.6221 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002624/0.691, allocations: 1.37 MB / 0.6234 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008002/0.6918, allocations: 304.3 kB / 0.6237 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002948/0.6921, allocations: 128.8 kB / 0.6238 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.6922, allocations: 224 / 0.6238 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004061/0.6926, allocations: 173.2 kB / 0.624 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 3.521e-06/0.6926, allocations: 7.938 kB / 0.624 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.0007217/0.6933, allocations: 279 kB / 0.6243 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.6935, allocations: 133.1 kB / 0.6244 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005072/0.694, allocations: 307.6 kB / 0.6247 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.082e-05/0.6941, allocations: 37.7 kB / 0.6247 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/0.6943, allocations: 236.1 kB / 0.625 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.6945, allocations: 102.5 kB / 0.6251 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/0.6945, allocations: 12 kB / 0.6251 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002235/0.6947, allocations: 350.8 kB / 0.6254 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/0.695, allocations: 92 kB / 0.6255 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003324/0.6953, allocations: 163.1 kB / 0.6257 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002808/0.6956, allocations: 109.9 kB / 0.6258 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.348e-06/0.6957, allocations: 0 / 0.6258 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007669/0.6964, allocations: 322.3 kB / 0.6261 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.6965, allocations: 4 kB / 0.6261 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.095e-06/0.6965, allocations: 4 kB / 0.6261 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.6965, allocations: 128 / 0.6261 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003955/0.6969, allocations: 67.91 kB / 0.6261 GB, free: 9.953 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.637e-05/0.697, allocations: 7.984 kB / 0.6261 GB, free: 9.945 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000325/0.6973, allocations: 51.67 kB / 0.6262 GB, free: 9.895 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/0.6974, allocations: 12 kB / 0.6262 GB, free: 9.883 MB / 0.5105 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.0001694/0.6975, allocations: 137.1 kB / 0.6263 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.537e-05/0.6976, allocations: 43.52 kB / 0.6264 GB, free: 9.699 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.6978, allocations: 44.38 kB / 0.6264 GB, free: 9.656 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.327e-06/0.6978, allocations: 4 kB / 0.6264 GB, free: 9.652 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.267e-06/0.6978, allocations: 3.938 kB / 0.6264 GB, free: 9.648 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.736e-06/0.6978, allocations: 0 / 0.6264 GB, free: 9.648 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.6994, allocations: 0.8259 MB / 0.6272 GB, free: 8.766 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.77e-06/0.6994, allocations: 4 kB / 0.6272 GB, free: 8.762 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003701/0.6998, allocations: 55.91 kB / 0.6273 GB, free: 8.707 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.219e-05/0.6998, allocations: 4 kB / 0.6273 GB, free: 8.703 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-05/0.6999, allocations: 7.984 kB / 0.6273 GB, free: 8.695 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.878e-06/0.6999, allocations: 8 kB / 0.6273 GB, free: 8.688 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.939e-06/0.6999, allocations: 0 / 0.6273 GB, free: 8.688 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.7009, allocations: 0.5105 MB / 0.6278 GB, free: 8.16 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/0.7012, allocations: 140.6 kB / 0.6279 GB, free: 8.004 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.932e-05/0.7013, allocations: 11.94 kB / 0.628 GB, free: 7.992 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003169/0.7016, allocations: 31.97 kB / 0.628 GB, free: 7.961 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.82e-05/0.7017, allocations: 27.95 kB / 0.628 GB, free: 7.934 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.7018, allocations: 4 kB / 0.628 GB, free: 7.93 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003862/0.7022, allocations: 246.2 kB / 0.6283 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.07e-07/0.7022, allocations: 0 / 0.6283 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005036/0.7027, allocations: 83.84 kB / 0.6283 GB, free: 7.605 MB / 0.5105 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.0001894/0.7029, allocations: 124.4 kB / 0.6285 GB, free: 7.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006199/0.7035, allocations: 240.4 kB / 0.6287 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.517e-06/0.7035, allocations: 7.938 kB / 0.6287 GB, free: 7.238 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002975/0.7038, allocations: 123.9 kB / 0.6288 GB, free: 7.117 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005388/0.7044, allocations: 77.48 kB / 0.6289 GB, free: 7.043 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.706, allocations: 0.5758 MB / 0.6294 GB, free: 6.441 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005727/0.7066, allocations: 0.823 MB / 0.6302 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002456/0.7069, allocations: 47.25 kB / 0.6303 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.707, allocations: 31.42 kB / 0.6303 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of SimCode: time 1.765e-06/0.707, allocations: 0 / 0.6303 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of Templates: time 0.0123/0.7193, allocations: 3.708 MB / 0.6339 GB, free: 1.828 MB / 0.5105 GB