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.848/3.848, allocations: 403.9 MB / 411 MB, free: 388 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.69e-05/1.703e-05, allocations: 4 kB / 0.4941 GB, free: 1.414 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5406/0.5406, allocations: 92.68 MB / 0.5847 GB, free: 2.418 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2149/0.7556, allocations: 126.3 MB / 0.708 GB, free: 3.984 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.7559, allocations: 75.95 kB / 0.708 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.04636/0.8022, allocations: 12.46 MB / 0.7202 GB, free: 7.418 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.728e-06/0.8023, allocations: 0 / 0.7202 GB, free: 7.418 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.016e-05/0.8024, allocations: 16 kB / 0.7202 GB, free: 7.402 MB / 0.6042 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.00178/0.8042, allocations: 0.8761 MB / 0.7211 GB, free: 6.473 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.996e-05/0.8042, allocations: 8.031 kB / 0.7211 GB, free: 6.465 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002342/0.8045, allocations: 90.91 kB / 0.7212 GB, free: 6.375 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.8056, allocations: 0.5233 MB / 0.7217 GB, free: 5.812 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.812e-05/0.8056, allocations: 20 kB / 0.7217 GB, free: 5.793 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.8057, allocations: 32 kB / 0.7217 GB, free: 5.762 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001079/0.8068, allocations: 402.5 kB / 0.7221 GB, free: 5.367 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.8081, allocations: 0.5208 MB / 0.7226 GB, free: 4.816 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/0.8081, allocations: 0 / 0.7226 GB, free: 4.816 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-05/0.8082, allocations: 0 / 0.7226 GB, free: 4.816 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.8082, allocations: 16 kB / 0.7226 GB, free: 4.801 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004165/0.8124, allocations: 1.999 MB / 0.7246 GB, free: 2.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009566/0.8134, allocations: 431.3 kB / 0.725 GB, free: 2.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004466/0.8138, allocations: 205.2 kB / 0.7252 GB, free: 2.117 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.506e-05/0.8139, allocations: 8.438 kB / 0.7252 GB, free: 2.109 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005497/0.8145, allocations: 240.5 kB / 0.7254 GB, free: 1.863 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=50): time 6.567e-06/0.8145, allocations: 0 / 0.7254 GB, free: 1.863 MB / 0.6042 GB Notification: Performance of matching and sorting (n=50): time 0.001002/0.8155, allocations: 403.4 kB / 0.7258 GB, free: 1.461 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.904e-05/0.8156, allocations: 162.7 kB / 0.726 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005593/0.8162, allocations: 349.2 kB / 0.7263 GB, free: 0.918 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.046e-05/0.8163, allocations: 25.7 kB / 0.7263 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003172/0.8166, allocations: 325 kB / 0.7266 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/0.8168, allocations: 161.6 kB / 0.7268 GB, free: 416 kB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.8168, allocations: 0 / 0.7268 GB, free: 416 kB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.817, allocations: 366.8 kB / 0.7272 GB, free: 40 kB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003888/0.8174, allocations: 145.2 kB / 0.7273 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000469/0.8179, allocations: 246.4 kB / 0.7275 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004173/0.8183, allocations: 178.1 kB / 0.7277 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.28e-06/0.8184, allocations: 0 / 0.7277 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001123/0.8195, allocations: 474.2 kB / 0.7281 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000344/0.8199, allocations: 0.6436 MB / 0.7288 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.8199, allocations: 4 kB / 0.7288 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.8199, allocations: 4 kB / 0.7288 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006651/0.8206, allocations: 119.8 kB / 0.7289 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.8206, allocations: 8 kB / 0.7289 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005498/0.8212, allocations: 67.64 kB / 0.729 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.507e-05/0.8213, allocations: 20 kB / 0.729 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.8213, allocations: 7.953 kB / 0.729 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009399/0.8222, allocations: 381.3 kB / 0.7294 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.268e-06/0.8223, allocations: 0 / 0.7294 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.8223, allocations: 4 kB / 0.7294 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005457/0.8228, allocations: 115.8 kB / 0.7295 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.8229, allocations: 4 kB / 0.7295 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004774/0.8234, allocations: 55.84 kB / 0.7295 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.284e-05/0.8234, allocations: 23.94 kB / 0.7296 GB, free: 13.48 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,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 (64): * Single equations (assignments): 63 * 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.0001818/0.8236, allocations: 117.4 kB / 0.7297 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.8238, allocations: 67.3 kB / 0.7297 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.8239, allocations: 53.2 kB / 0.7298 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.44e-06/0.824, allocations: 4 kB / 0.7298 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.965e-06/0.824, allocations: 0 / 0.7298 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.824, allocations: 3.984 kB / 0.7298 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002152/0.8262, allocations: 1.108 MB / 0.7309 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.385e-06/0.8262, allocations: 0 / 0.7309 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006713/0.8269, allocations: 111.8 kB / 0.731 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/0.8269, allocations: 4 kB / 0.731 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.385e-05/0.8269, allocations: 4 kB / 0.731 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.85e-06/0.827, allocations: 4 kB / 0.731 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.712e-06/0.827, allocations: 0 / 0.731 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.8284, allocations: 0.7095 MB / 0.7317 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003014/0.8287, allocations: 176.3 kB / 0.7318 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.879e-05/0.8288, allocations: 19.94 kB / 0.7319 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004782/0.8293, allocations: 35.97 kB / 0.7319 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.8295, allocations: 40.31 kB / 0.7319 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.745e-05/0.8295, allocations: 20 kB / 0.732 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004218/0.83, allocations: 271 kB / 0.7322 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.06e-07/0.83, allocations: 0 / 0.7322 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000951/0.8309, allocations: 239 kB / 0.7324 GB, free: 10.44 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.conPID.trigger,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001923/0.8312, allocations: 115.2 kB / 0.7326 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001452/0.8326, allocations: 0.711 MB / 0.7333 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.153e-06/0.8326, allocations: 8.062 kB / 0.7333 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004256/0.8331, allocations: 197.6 kB / 0.7334 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008023/0.8339, allocations: 125.9 kB / 0.7336 GB, free: 9.258 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003341/0.8373, allocations: 1.251 MB / 0.7348 GB, free: 7.973 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006395/0.8379, allocations: 0.9068 MB / 0.7357 GB, free: 7.035 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006859/0.8386, allocations: 96.3 kB / 0.7358 GB, free: 6.938 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.8388, allocations: 35.42 kB / 0.7358 GB, free: 6.902 MB / 0.6198 GB Notification: Performance of SimCode: time 1.266e-06/0.8388, allocations: 0 / 0.7358 GB, free: 6.902 MB / 0.6198 GB Notification: Performance of Templates: time 0.01812/0.8569, allocations: 6.728 MB / 0.7424 GB, free: 252 kB / 0.6198 GB