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.526/3.526, allocations: 402 MB / 415.9 MB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.085e-05/3.103e-05, allocations: 4 kB / 0.5003 GB, free: 8.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1678, allocations: 92.69 MB / 0.5908 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.596/0.7639, allocations: 127.1 MB / 0.715 GB, free: 15.31 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.7642, allocations: 83.89 kB / 0.7151 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.06862/0.8328, allocations: 16.39 MB / 0.7311 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.642e-06/0.8329, allocations: 0 / 0.7311 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.519e-05/0.833, allocations: 20 kB / 0.7311 GB, free: 14.79 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.001937/0.8349, allocations: 0.9201 MB / 0.732 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.835, allocations: 8.031 kB / 0.732 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002436/0.8352, allocations: 90.97 kB / 0.7321 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.8365, allocations: 0.5703 MB / 0.7327 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/0.8367, allocations: 96.41 kB / 0.7328 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.8368, allocations: 51.91 kB / 0.7328 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.8385, allocations: 0.6274 MB / 0.7334 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.8385, allocations: 0 / 0.7334 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.92e-05/0.8386, allocations: 20 kB / 0.7334 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.8386, allocations: 12 kB / 0.7334 GB, free: 12.24 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/0.8401, allocations: 487.6 kB / 0.7339 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004143/0.8443, allocations: 1.99 MB / 0.7359 GB, free: 9.699 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001968/0.8463, allocations: 0.6125 MB / 0.7365 GB, free: 9.078 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.716e-05/0.8464, allocations: 4.719 kB / 0.7365 GB, free: 9.074 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009887/0.8474, allocations: 327.1 kB / 0.7368 GB, free: 8.742 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=44): time 4.457e-06/0.8474, allocations: 0 / 0.7368 GB, free: 8.742 MB / 0.6042 GB Notification: Performance of matching and sorting (n=44): time 0.002288/0.8497, allocations: 0.7009 MB / 0.7375 GB, free: 8.035 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/0.8499, allocations: 187.9 kB / 0.7376 GB, free: 7.809 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009753/0.8509, allocations: 0.5114 MB / 0.7381 GB, free: 7.293 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.851, allocations: 41.7 kB / 0.7382 GB, free: 7.246 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003777/0.8514, allocations: 344.1 kB / 0.7385 GB, free: 6.906 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/0.8516, allocations: 149.8 kB / 0.7386 GB, free: 6.758 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.8516, allocations: 12 kB / 0.7387 GB, free: 6.746 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000252/0.8519, allocations: 386.7 kB / 0.739 GB, free: 6.359 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000698/0.8526, allocations: 201 kB / 0.7392 GB, free: 6.164 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008253/0.8534, allocations: 330 kB / 0.7395 GB, free: 5.801 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007712/0.8542, allocations: 254.5 kB / 0.7398 GB, free: 5.547 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.8543, allocations: 0 / 0.7398 GB, free: 5.547 MB / 0.6042 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001912/0.8562, allocations: 0.6413 MB / 0.7404 GB, free: 4.891 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005025/0.8567, allocations: 0.8234 MB / 0.7412 GB, free: 4.004 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.8567, allocations: 0 / 0.7412 GB, free: 4.004 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.8568, allocations: 7.938 kB / 0.7412 GB, free: 3.996 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006664/0.8574, allocations: 119.9 kB / 0.7413 GB, free: 3.879 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.8575, allocations: 4 kB / 0.7413 GB, free: 3.875 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000704/0.8582, allocations: 87.48 kB / 0.7414 GB, free: 3.789 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-05/0.8583, allocations: 16 kB / 0.7414 GB, free: 3.773 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.8583, allocations: 4 kB / 0.7414 GB, free: 3.77 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001302/0.8596, allocations: 479.9 kB / 0.7419 GB, free: 3.293 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.8596, allocations: 7.984 kB / 0.7419 GB, free: 3.285 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.8596, allocations: 7.984 kB / 0.7419 GB, free: 3.277 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005165/0.8602, allocations: 91.91 kB / 0.742 GB, free: 3.188 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.8602, allocations: 11.92 kB / 0.742 GB, free: 3.176 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006157/0.8608, allocations: 63.7 kB / 0.7421 GB, free: 3.113 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-05/0.8609, allocations: 16 kB / 0.7421 GB, free: 3.098 MB / 0.6042 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.0005111/0.8614, allocations: 191.9 kB / 0.7423 GB, free: 2.902 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/0.8616, allocations: 75.14 kB / 0.7423 GB, free: 2.828 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001747/0.8618, allocations: 74.97 kB / 0.7424 GB, free: 2.754 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.8618, allocations: 4 kB / 0.7424 GB, free: 2.75 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.922e-06/0.8618, allocations: 4 kB / 0.7424 GB, free: 2.746 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.8618, allocations: 3.984 kB / 0.7424 GB, free: 2.742 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.8629, allocations: 0.6335 MB / 0.743 GB, free: 2.059 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.482e-06/0.8629, allocations: 7.938 kB / 0.743 GB, free: 2.051 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006765/0.8636, allocations: 95.88 kB / 0.7431 GB, free: 1.957 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.875e-06/0.8636, allocations: 0 / 0.7431 GB, free: 1.957 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.882e-05/0.8637, allocations: 12 kB / 0.7431 GB, free: 1.945 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.286e-06/0.8637, allocations: 3.984 kB / 0.7431 GB, free: 1.941 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.809e-06/0.8637, allocations: 7.938 kB / 0.7432 GB, free: 1.934 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002368/0.8661, allocations: 0.8063 MB / 0.7439 GB, free: 1.109 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003992/0.8665, allocations: 196.1 kB / 0.7441 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.8666, allocations: 15.98 kB / 0.7441 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006393/0.8673, allocations: 59.95 kB / 0.7442 GB, free: 0.8242 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.8674, allocations: 36.09 kB / 0.7442 GB, free: 0.7891 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-05/0.8675, allocations: 19.98 kB / 0.7443 GB, free: 0.7695 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007559/0.8683, allocations: 415.1 kB / 0.7447 GB, free: 376 kB / 0.6042 GB Notification: Performance of sort global known variables: time 9.5e-07/0.8683, allocations: 4 kB / 0.7447 GB, free: 372 kB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009189/0.8692, allocations: 223.4 kB / 0.7449 GB, free: 148 kB / 0.6042 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.0002313/0.8695, allocations: 134.8 kB / 0.745 GB, free: 0 / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002342/0.8718, allocations: 0.86 MB / 0.7458 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.8719, allocations: 0.625 kB / 0.7458 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007167/0.8726, allocations: 247.7 kB / 0.7461 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.8736, allocations: 168.5 kB / 0.7462 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.8767, allocations: 1.359 MB / 0.7476 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006796/0.8774, allocations: 0.9194 MB / 0.7485 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0008774/0.8783, allocations: 127.2 kB / 0.7486 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.8785, allocations: 39.44 kB / 0.7486 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of SimCode: time 1.845e-06/0.8785, allocations: 0 / 0.7486 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of Templates: time 0.02363/0.9021, allocations: 8.839 MB / 0.7572 GB, free: 3.441 MB / 0.6198 GB