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.551/3.551, allocations: 403.3 MB / 415.4 MB, free: 12.9 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.681e-05/3.698e-05, allocations: 4 kB / 0.499 GB, free: 13.39 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4799/0.4799, allocations: 92.68 MB / 0.5895 GB, free: 14.51 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1902/0.6702, allocations: 127.1 MB / 0.7137 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.6705, allocations: 75.97 kB / 0.7137 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.06828/0.7388, allocations: 16.31 MB / 0.7297 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.102e-06/0.7388, allocations: 0 / 0.7297 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.78e-05/0.7389, allocations: 16 kB / 0.7297 GB, free: 14.77 MB / 0.6198 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.001867/0.7408, allocations: 0.9123 MB / 0.7306 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.7408, allocations: 8.031 kB / 0.7306 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002423/0.7411, allocations: 94.95 kB / 0.7307 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.7423, allocations: 0.5626 MB / 0.7312 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/0.7425, allocations: 96.39 kB / 0.7313 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.7427, allocations: 59.91 kB / 0.7314 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.7439, allocations: 0.5533 MB / 0.7319 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.417e-05/0.7439, allocations: 7.938 kB / 0.7319 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.857e-05/0.744, allocations: 20 kB / 0.7319 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.7441, allocations: 12 kB / 0.732 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00092/0.745, allocations: 355.9 kB / 0.7323 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004091/0.7491, allocations: 1.994 MB / 0.7342 GB, free: 9.879 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.7504, allocations: 455.8 kB / 0.7347 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004141/0.7508, allocations: 165.6 kB / 0.7348 GB, free: 9.258 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.241e-05/0.7509, allocations: 11.94 kB / 0.7348 GB, free: 9.246 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006315/0.7515, allocations: 251.7 kB / 0.7351 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 3.988e-06/0.7516, allocations: 0 / 0.7351 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.0011/0.7527, allocations: 400.8 kB / 0.7355 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.7528, allocations: 187.9 kB / 0.7356 GB, free: 8.363 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009186/0.7537, allocations: 0.5115 MB / 0.7361 GB, free: 7.848 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.385e-05/0.7538, allocations: 33.7 kB / 0.7362 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003596/0.7542, allocations: 340.2 kB / 0.7365 GB, free: 7.469 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/0.7544, allocations: 157.7 kB / 0.7366 GB, free: 7.312 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.7545, allocations: 8 kB / 0.7367 GB, free: 7.305 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002321/0.7547, allocations: 390.7 kB / 0.737 GB, free: 6.914 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003951/0.7551, allocations: 141.1 kB / 0.7372 GB, free: 6.777 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005295/0.7556, allocations: 266 kB / 0.7374 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004574/0.7561, allocations: 195.4 kB / 0.7376 GB, free: 6.277 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.929e-06/0.7561, allocations: 4 kB / 0.7376 GB, free: 6.273 MB / 0.6198 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001305/0.7575, allocations: 0.5203 MB / 0.7381 GB, free: 5.742 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000488/0.758, allocations: 0.817 MB / 0.7389 GB, free: 4.859 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.758, allocations: 4 kB / 0.7389 GB, free: 4.855 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.758, allocations: 4 kB / 0.7389 GB, free: 4.852 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007166/0.7587, allocations: 115.8 kB / 0.739 GB, free: 4.738 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.7588, allocations: 8 kB / 0.739 GB, free: 4.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007097/0.7595, allocations: 83.48 kB / 0.7391 GB, free: 4.648 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.638e-05/0.7596, allocations: 16 kB / 0.7391 GB, free: 4.633 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.7596, allocations: 4 kB / 0.7391 GB, free: 4.629 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001046/0.7607, allocations: 435.9 kB / 0.7396 GB, free: 4.195 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.846e-06/0.7607, allocations: 4.062 kB / 0.7396 GB, free: 4.191 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.7607, allocations: 8 kB / 0.7396 GB, free: 4.184 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005442/0.7613, allocations: 99.83 kB / 0.7397 GB, free: 4.086 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.7613, allocations: 4 kB / 0.7397 GB, free: 4.082 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006354/0.7619, allocations: 63.81 kB / 0.7397 GB, free: 4.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.261e-05/0.762, allocations: 19.94 kB / 0.7397 GB, free: 4 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.0002287/0.7622, allocations: 140.8 kB / 0.7399 GB, free: 3.855 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.7624, allocations: 67.16 kB / 0.7399 GB, free: 3.789 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002069/0.7626, allocations: 70.75 kB / 0.74 GB, free: 3.719 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.477e-06/0.7626, allocations: 8 kB / 0.74 GB, free: 3.711 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.741e-06/0.7627, allocations: 0 / 0.74 GB, free: 3.711 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.7627, allocations: 11.97 kB / 0.74 GB, free: 3.699 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.7637, allocations: 0.6413 MB / 0.7407 GB, free: 3.008 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.511e-06/0.7637, allocations: 0 / 0.7407 GB, free: 3.008 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006865/0.7644, allocations: 91.88 kB / 0.7407 GB, free: 2.918 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/0.7645, allocations: 0 / 0.7407 GB, free: 2.918 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.352e-05/0.7645, allocations: 15.94 kB / 0.7408 GB, free: 2.902 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.375e-06/0.7645, allocations: 4 kB / 0.7408 GB, free: 2.898 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.101e-06/0.7646, allocations: 4 kB / 0.7408 GB, free: 2.895 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/0.7662, allocations: 0.6345 MB / 0.7414 GB, free: 2.242 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003889/0.7666, allocations: 200.1 kB / 0.7416 GB, free: 2.027 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.7667, allocations: 12 kB / 0.7416 GB, free: 2.016 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006502/0.7674, allocations: 59.95 kB / 0.7416 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.7675, allocations: 31.95 kB / 0.7417 GB, free: 1.926 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.656e-05/0.7676, allocations: 15.98 kB / 0.7417 GB, free: 1.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007363/0.7683, allocations: 411.2 kB / 0.7421 GB, free: 1.512 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.48e-07/0.7683, allocations: 0 / 0.7421 GB, free: 1.512 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009294/0.7693, allocations: 223.4 kB / 0.7423 GB, free: 1.293 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.0002264/0.7695, allocations: 136.9 kB / 0.7424 GB, free: 1.152 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001595/0.7711, allocations: 0.7114 MB / 0.7431 GB, free: 420 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.918e-06/0.7711, allocations: 1 kB / 0.7431 GB, free: 420 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000446/0.7716, allocations: 191.8 kB / 0.7433 GB, free: 228 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.7727, allocations: 176.1 kB / 0.7435 GB, free: 52 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.775, allocations: 0.8569 MB / 0.7443 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006527/0.7757, allocations: 0.9194 MB / 0.7452 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008827/0.7766, allocations: 131.2 kB / 0.7453 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/0.7768, allocations: 39.42 kB / 0.7454 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of SimCode: time 1.861e-06/0.7768, allocations: 0 / 0.7454 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of Templates: time 0.02315/0.7999, allocations: 8.833 MB / 0.754 GB, free: 5.285 MB / 0.6355 GB