Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadModel(Buildings): time 3.688/3.688, allocations: 403.9 MB / 411 MB, free: 340 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.207e-05/3.216e-05, allocations: 11.92 kB / 0.4942 GB, free: 1.371 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5746/0.5747, allocations: 92.69 MB / 0.5847 GB, free: 2.363 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1868/0.7615, allocations: 126.5 MB / 0.7082 GB, free: 3.738 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.7618, allocations: 75.95 kB / 0.7082 GB, free: 3.664 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.07486/0.8367, allocations: 16.2 MB / 0.7241 GB, free: 3.418 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.202e-06/0.8367, allocations: 0 / 0.7241 GB, free: 3.418 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.539e-05/0.8368, allocations: 16 kB / 0.7241 GB, free: 3.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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002588/0.8394, allocations: 0.9157 MB / 0.725 GB, free: 2.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.8395, allocations: 8.031 kB / 0.725 GB, free: 2.422 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000326/0.8398, allocations: 86.97 kB / 0.7251 GB, free: 2.336 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001818/0.8417, allocations: 0.5628 MB / 0.7256 GB, free: 1.734 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001895/0.8419, allocations: 84.7 kB / 0.7257 GB, free: 1.641 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.8421, allocations: 39.89 kB / 0.7257 GB, free: 1.602 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0014/0.8435, allocations: 330.6 kB / 0.726 GB, free: 1.277 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.8452, allocations: 496.8 kB / 0.7265 GB, free: 0.7461 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/0.8452, allocations: 3.938 kB / 0.7265 GB, free: 0.7422 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.873e-05/0.8453, allocations: 0 / 0.7265 GB, free: 0.7422 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.8454, allocations: 12 kB / 0.7265 GB, free: 0.7305 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00528/0.8507, allocations: 1.896 MB / 0.7284 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001792/0.8525, allocations: 431.4 kB / 0.7288 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005842/0.8531, allocations: 161.6 kB / 0.7289 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.652e-05/0.8532, allocations: 4 kB / 0.7289 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008409/0.854, allocations: 231.9 kB / 0.7292 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 4.891e-06/0.854, allocations: 0 / 0.7292 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.001501/0.8556, allocations: 384.7 kB / 0.7295 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/0.8557, allocations: 187.9 kB / 0.7297 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.8569, allocations: 451.5 kB / 0.7301 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.532e-05/0.857, allocations: 29.7 kB / 0.7302 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004988/0.8575, allocations: 352.8 kB / 0.7305 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002368/0.8578, allocations: 141.8 kB / 0.7306 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.844e-05/0.8578, allocations: 7.875 kB / 0.7307 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002743/0.8581, allocations: 374.8 kB / 0.731 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005725/0.8587, allocations: 141.1 kB / 0.7311 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00077/0.8595, allocations: 252.9 kB / 0.7314 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00062/0.8601, allocations: 157.1 kB / 0.7315 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.8602, allocations: 0 / 0.7315 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001771/0.8619, allocations: 471.2 kB / 0.732 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005237/0.8625, allocations: 0.813 MB / 0.7328 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.8625, allocations: 8 kB / 0.7328 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.92e-05/0.8626, allocations: 7.953 kB / 0.7328 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.8636, allocations: 115.9 kB / 0.7329 GB, free: 9.914 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/0.8637, allocations: 8 kB / 0.7329 GB, free: 9.906 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009897/0.8647, allocations: 67.64 kB / 0.733 GB, free: 9.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.034e-05/0.8648, allocations: 16 kB / 0.733 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.8648, allocations: 4 kB / 0.733 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001346/0.8662, allocations: 362.4 kB / 0.7333 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.073e-06/0.8662, allocations: 0 / 0.7333 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.8662, allocations: 11.98 kB / 0.7334 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007603/0.867, allocations: 91.89 kB / 0.7334 GB, free: 9.363 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/0.867, allocations: 7.938 kB / 0.7334 GB, free: 9.355 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009288/0.868, allocations: 43.67 kB / 0.7335 GB, free: 9.312 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.129e-05/0.8681, allocations: 19.98 kB / 0.7335 GB, free: 9.293 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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.0003124/0.8684, allocations: 124 kB / 0.7336 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003034/0.8688, allocations: 67.16 kB / 0.7337 GB, free: 9.102 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002902/0.8691, allocations: 70.61 kB / 0.7338 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.8691, allocations: 4 kB / 0.7338 GB, free: 9.027 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.649e-06/0.8691, allocations: 0 / 0.7338 GB, free: 9.027 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/0.8692, allocations: 3.984 kB / 0.7338 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/0.8706, allocations: 0.5638 MB / 0.7343 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.667e-06/0.8707, allocations: 0 / 0.7343 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/0.8718, allocations: 99.88 kB / 0.7344 GB, free: 8.324 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.318e-05/0.8718, allocations: 7.875 kB / 0.7344 GB, free: 8.316 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.498e-05/0.8719, allocations: 4 kB / 0.7344 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.537e-06/0.8719, allocations: 0 / 0.7344 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.872, allocations: 0 / 0.7344 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/0.8743, allocations: 0.6076 MB / 0.735 GB, free: 7.688 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005958/0.8749, allocations: 200.2 kB / 0.7352 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/0.8751, allocations: 0 / 0.7352 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/0.8762, allocations: 55.95 kB / 0.7353 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.8764, allocations: 31.94 kB / 0.7353 GB, free: 7.387 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.464e-05/0.8765, allocations: 19.98 kB / 0.7353 GB, free: 7.367 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0009623/0.8775, allocations: 351.2 kB / 0.7356 GB, free: 7.027 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.197e-06/0.8775, allocations: 3.938 kB / 0.7356 GB, free: 7.023 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001385/0.8789, allocations: 203.1 kB / 0.7358 GB, free: 6.824 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * 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.0002386/0.8792, allocations: 119 kB / 0.736 GB, free: 6.699 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001487/0.8807, allocations: 0.6775 MB / 0.7366 GB, free: 5.996 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.981e-06/0.8807, allocations: 0 / 0.7366 GB, free: 5.996 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004336/0.8812, allocations: 179.9 kB / 0.7368 GB, free: 5.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.8822, allocations: 152.4 kB / 0.7369 GB, free: 5.68 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/0.8845, allocations: 0.8337 MB / 0.7377 GB, free: 4.82 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006215/0.8851, allocations: 0.9267 MB / 0.7387 GB, free: 3.867 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0008511/0.886, allocations: 119 kB / 0.7388 GB, free: 3.746 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.8862, allocations: 51.36 kB / 0.7388 GB, free: 3.699 MB / 0.6198 GB Notification: Performance of SimCode: time 1.322e-06/0.8862, allocations: 0 / 0.7388 GB, free: 3.699 MB / 0.6198 GB Notification: Performance of Templates: time 0.02137/0.9076, allocations: 8.004 MB / 0.7466 GB, free: 11.77 MB / 0.6355 GB