Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadModel(Buildings): time 3.779/3.779, allocations: 402 MB / 416.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.771e-05/2.789e-05, allocations: 7.984 kB / 0.5009 GB, free: 8.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1931, allocations: 92.69 MB / 0.5915 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.005606/0.1987, allocations: 3.334 MB / 0.5947 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003051/0.2018, allocations: 1.154 MB / 0.5958 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005688/0.2024, allocations: 39.94 kB / 0.5959 GB, free: 6.824 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.2026, allocations: 59.36 kB / 0.5959 GB, free: 6.766 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007487/0.2034, allocations: 203.3 kB / 0.5961 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.2045, allocations: 307.4 kB / 0.5964 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00102/0.2055, allocations: 0.4924 MB / 0.5969 GB, free: 5.773 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004817/0.206, allocations: 221.7 kB / 0.5971 GB, free: 5.559 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003741/0.2064, allocations: 203.3 kB / 0.5973 GB, free: 5.359 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003708/0.2068, allocations: 223 kB / 0.5975 GB, free: 5.141 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.2069, allocations: 20 kB / 0.5975 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 8.949e-05/0.207, allocations: 16 kB / 0.5976 GB, free: 5.105 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.2072, allocations: 91.53 kB / 0.5976 GB, free: 5.016 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.2073, allocations: 48 kB / 0.5977 GB, free: 4.969 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.2084, allocations: 0.7908 MB / 0.5985 GB, free: 4.176 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.2084, allocations: 4 kB / 0.5985 GB, free: 4.172 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.315e-06/0.2084, allocations: 0 / 0.5985 GB, free: 4.172 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.722e-05/0.2084, allocations: 0 / 0.5985 GB, free: 4.172 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002278/0.2107, allocations: 0.8907 MB / 0.5993 GB, free: 3.227 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.2108, allocations: 8.031 kB / 0.5993 GB, free: 3.219 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002096/0.211, allocations: 94.92 kB / 0.5994 GB, free: 3.125 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.2123, allocations: 0.5291 MB / 0.6 GB, free: 2.551 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.771e-05/0.2123, allocations: 41.31 kB / 0.6 GB, free: 2.512 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.2125, allocations: 56 kB / 0.6 GB, free: 2.457 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/0.2142, allocations: 0.6075 MB / 0.6006 GB, free: 1.824 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/0.2142, allocations: 0 / 0.6006 GB, free: 1.824 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.2143, allocations: 28 kB / 0.6007 GB, free: 1.797 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.2144, allocations: 15.95 kB / 0.6007 GB, free: 1.781 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.216, allocations: 469 kB / 0.6011 GB, free: 1.324 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4717/0.6877, allocations: 2.016 MB / 0.6031 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/0.6894, allocations: 462.9 kB / 0.6035 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.754e-05/0.6895, allocations: 6.328 kB / 0.6035 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009292/0.6904, allocations: 268.6 kB / 0.6038 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=49): time 4.729e-06/0.6905, allocations: 3.188 kB / 0.6038 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49): time 0.002155/0.6926, allocations: 0.5982 MB / 0.6044 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.6927, allocations: 58.11 kB / 0.6044 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006653/0.6934, allocations: 393.8 kB / 0.6048 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.564e-05/0.6934, allocations: 36.08 kB / 0.6049 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002696/0.6937, allocations: 323.1 kB / 0.6052 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.6939, allocations: 163.8 kB / 0.6053 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.6939, allocations: 10.88 kB / 0.6053 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.6941, allocations: 364.7 kB / 0.6057 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006693/0.6947, allocations: 173.5 kB / 0.6058 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006974/0.6955, allocations: 253.4 kB / 0.6061 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007014/0.6962, allocations: 226.8 kB / 0.6063 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.6962, allocations: 1.062 kB / 0.6063 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001758/0.698, allocations: 0.5731 MB / 0.6069 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001963/0.6982, allocations: 0.825 MB / 0.6077 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.6982, allocations: 3.344 kB / 0.6077 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.864e-05/0.6982, allocations: 5.984 kB / 0.6077 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009376/0.6992, allocations: 116.4 kB / 0.6078 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.6992, allocations: 5.094 kB / 0.6078 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006664/0.6999, allocations: 71.05 kB / 0.6079 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.622e-05/0.7, allocations: 19.02 kB / 0.6079 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.7, allocations: 3.062 kB / 0.6079 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001401/0.7014, allocations: 499.9 kB / 0.6084 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.7014, allocations: 5.656 kB / 0.6084 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.7015, allocations: 9.875 kB / 0.6084 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008078/0.7023, allocations: 110 kB / 0.6085 GB, free: 8.504 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.7023, allocations: 14.53 kB / 0.6085 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005922/0.7029, allocations: 65.44 kB / 0.6085 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-05/0.703, allocations: 22.27 kB / 0.6086 GB, free: 8.457 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.trigger.y,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.000433/0.7034, allocations: 208.5 kB / 0.6088 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.7035, allocations: 58.84 kB / 0.6088 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.7037, allocations: 61.11 kB / 0.6089 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.7038, allocations: 5.969 kB / 0.6089 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.7038, allocations: 0.75 kB / 0.6089 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002403/0.704, allocations: 167.8 kB / 0.6091 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.707e-05/0.7041, allocations: 16.86 kB / 0.6091 GB, free: 8.043 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005173/0.7047, allocations: 36.69 kB / 0.6091 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.7048, allocations: 38.69 kB / 0.6091 GB, free: 8.023 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002219/0.707, allocations: 0.5694 MB / 0.6097 GB, free: 7.762 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002241/0.7093, allocations: 0.8601 MB / 0.6105 GB, free: 7.289 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006655/0.71, allocations: 212.1 kB / 0.6107 GB, free: 7.203 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005438/0.7106, allocations: 305.4 kB / 0.611 GB, free: 7.051 MB / 0.4948 GB Notification: Performance of Backend: time 5.21e-07/0.7106, allocations: 4 kB / 0.611 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001274/0.7119, allocations: 404.2 kB / 0.6114 GB, free: 6.828 MB / 0.4948 GB Notification: Performance of SimCode: time 0.003416/0.7153, allocations: 1.968 MB / 0.6133 GB, free: 5.395 MB / 0.4948 GB Notification: Performance of Templates: time 0.02158/0.7369, allocations: 6.261 MB / 0.6195 GB, free: 4.965 MB / 0.4948 GB