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.484/3.484, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.052e-05/3.066e-05, allocations: 7.938 kB / 0.499 GB, free: 13.48 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5255/0.5256, allocations: 92.69 MB / 0.5896 GB, free: 14.54 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2127/0.7383, allocations: 126.9 MB / 0.7135 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004/0.7388, allocations: 83.94 kB / 0.7136 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.05995/0.7988, allocations: 12.56 MB / 0.7258 GB, free: 2.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.15e-06/0.7988, allocations: 4 kB / 0.7259 GB, free: 2.766 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.563e-05/0.7989, allocations: 12.19 kB / 0.7259 GB, free: 2.754 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.001918/0.8008, allocations: 0.8683 MB / 0.7267 GB, free: 1.828 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.8009, allocations: 15.97 kB / 0.7267 GB, free: 1.812 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002455/0.8011, allocations: 82.97 kB / 0.7268 GB, free: 1.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.8023, allocations: 0.5251 MB / 0.7273 GB, free: 1.164 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.234e-05/0.8023, allocations: 45.31 kB / 0.7274 GB, free: 1.121 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.8025, allocations: 63.88 kB / 0.7274 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.804, allocations: 0.6029 MB / 0.728 GB, free: 436 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/0.804, allocations: 3.938 kB / 0.728 GB, free: 432 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-05/0.8041, allocations: 24 kB / 0.728 GB, free: 408 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/0.8041, allocations: 16 kB / 0.7281 GB, free: 392 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.8053, allocations: 418.7 kB / 0.7285 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004499/0.8098, allocations: 2.11 MB / 0.7305 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.8109, allocations: 431.3 kB / 0.7309 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005029/0.8114, allocations: 222.5 kB / 0.7311 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.059e-05/0.8115, allocations: 4.438 kB / 0.7311 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006062/0.8121, allocations: 252.5 kB / 0.7314 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=50): time 4.474e-06/0.8121, allocations: 0 / 0.7314 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=50): time 0.001116/0.8132, allocations: 435.4 kB / 0.7318 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.8134, allocations: 162.7 kB / 0.732 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000699/0.8141, allocations: 395.9 kB / 0.7323 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.734e-05/0.8142, allocations: 37.7 kB / 0.7324 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003479/0.8145, allocations: 321.1 kB / 0.7327 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.8148, allocations: 165.6 kB / 0.7328 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.8148, allocations: 8 kB / 0.7328 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002267/0.815, allocations: 370.7 kB / 0.7332 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004229/0.8155, allocations: 157.1 kB / 0.7333 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005339/0.816, allocations: 254.5 kB / 0.7336 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004884/0.8165, allocations: 209.5 kB / 0.7338 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.793e-06/0.8166, allocations: 4 kB / 0.7338 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00126/0.8178, allocations: 0.5195 MB / 0.7343 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003653/0.8182, allocations: 0.6475 MB / 0.7349 GB, free: 9.082 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.8182, allocations: 0 / 0.7349 GB, free: 9.082 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.8183, allocations: 4 kB / 0.7349 GB, free: 9.078 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006939/0.819, allocations: 127.8 kB / 0.7351 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.819, allocations: 4 kB / 0.7351 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005893/0.8196, allocations: 87.5 kB / 0.7351 GB, free: 8.863 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.92e-05/0.8197, allocations: 16 kB / 0.7352 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.8197, allocations: 4 kB / 0.7352 GB, free: 8.844 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00107/0.8208, allocations: 459 kB / 0.7356 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.8208, allocations: 4 kB / 0.7356 GB, free: 8.383 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.8208, allocations: 4 kB / 0.7356 GB, free: 8.379 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005689/0.8214, allocations: 107.8 kB / 0.7357 GB, free: 8.273 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.8214, allocations: 4 kB / 0.7357 GB, free: 8.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005316/0.822, allocations: 71.78 kB / 0.7358 GB, free: 8.199 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.248e-05/0.822, allocations: 23.94 kB / 0.7358 GB, free: 8.176 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.0002049/0.8223, allocations: 141.9 kB / 0.7359 GB, free: 8.031 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.8224, allocations: 59.3 kB / 0.736 GB, free: 7.973 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.8226, allocations: 73.41 kB / 0.7361 GB, free: 7.898 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.8226, allocations: 8 kB / 0.7361 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.788e-06/0.8226, allocations: 0 / 0.7361 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.8227, allocations: 3.984 kB / 0.7361 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/0.8251, allocations: 1.228 MB / 0.7373 GB, free: 6.598 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.8252, allocations: 0 / 0.7373 GB, free: 6.598 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007064/0.8259, allocations: 107.9 kB / 0.7374 GB, free: 6.492 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.46e-06/0.8259, allocations: 4 kB / 0.7374 GB, free: 6.488 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.001e-05/0.826, allocations: 12 kB / 0.7374 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.095e-06/0.826, allocations: 0 / 0.7374 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.193e-06/0.826, allocations: 0 / 0.7374 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.8276, allocations: 0.7486 MB / 0.7381 GB, free: 5.719 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003322/0.8279, allocations: 184.3 kB / 0.7383 GB, free: 5.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.8281, allocations: 8 kB / 0.7383 GB, free: 5.512 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005074/0.8286, allocations: 59.86 kB / 0.7384 GB, free: 5.453 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.8287, allocations: 32.39 kB / 0.7384 GB, free: 5.422 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.449e-05/0.8288, allocations: 16 kB / 0.7384 GB, free: 5.406 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005271/0.8293, allocations: 317.5 kB / 0.7387 GB, free: 5.098 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.66e-07/0.8293, allocations: 0 / 0.7387 GB, free: 5.098 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009818/0.8303, allocations: 267.1 kB / 0.739 GB, free: 4.836 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.0002125/0.8306, allocations: 123.2 kB / 0.7391 GB, free: 4.707 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001617/0.8322, allocations: 0.7385 MB / 0.7398 GB, free: 3.945 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.81e-06/0.8322, allocations: 4 kB / 0.7398 GB, free: 3.941 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004799/0.8327, allocations: 209.7 kB / 0.74 GB, free: 3.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008744/0.8336, allocations: 138.3 kB / 0.7401 GB, free: 3.598 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003516/0.8371, allocations: 1.283 MB / 0.7414 GB, free: 2.281 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006583/0.8378, allocations: 0.9073 MB / 0.7423 GB, free: 1.348 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006996/0.8385, allocations: 92.5 kB / 0.7424 GB, free: 1.254 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.8387, allocations: 39.42 kB / 0.7424 GB, free: 1.215 MB / 0.6198 GB Notification: Performance of SimCode: time 1.738e-06/0.8387, allocations: 0 / 0.7424 GB, free: 1.215 MB / 0.6198 GB Notification: Performance of Templates: time 0.02079/0.8595, allocations: 7.543 MB / 0.7498 GB, free: 9.738 MB / 0.6355 GB