Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") Notification: Performance of loadModel(Buildings): time 4.216/4.216, allocations: 464.6 MB / 476.8 MB, free: 2.199 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.077e-05/5.125e-05, allocations: 8 kB / 0.5731 GB, free: 5.715 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2123, allocations: 107.2 MB / 0.6778 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7978/1.01, allocations: 134.1 MB / 0.8087 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/1.01, allocations: 81.77 kB / 0.8088 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1018/1.112, allocations: 19.19 MB / 0.8275 GB, free: 8.164 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.928e-06/1.112, allocations: 3.938 kB / 0.8276 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.049e-05/1.112, allocations: 30.84 kB / 0.8276 GB, free: 8.156 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 271 * Number of variables: 271 Notification: Performance of Generate backend data structure: time 0.002558/1.115, allocations: 1.293 MB / 0.8288 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/1.115, allocations: 7.688 kB / 0.8289 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004264/1.115, allocations: 154.3 kB / 0.829 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/1.117, allocations: 0.7344 MB / 0.8297 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.571e-05/1.117, allocations: 92.72 kB / 0.8298 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/1.117, allocations: 111.1 kB / 0.8299 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002125/1.12, allocations: 0.9689 MB / 0.8309 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/1.12, allocations: 3.844 kB / 0.8309 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/1.12, allocations: 41.69 kB / 0.8309 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.175e-05/1.12, allocations: 30.91 kB / 0.8309 GB, free: 6.516 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/1.121, allocations: 0.687 MB / 0.8316 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009681/1.131, allocations: 3.368 MB / 0.8349 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00306/1.134, allocations: 0.8696 MB / 0.8357 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007507/1.135, allocations: 380.6 kB / 0.8361 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.819e-05/1.135, allocations: 12.28 kB / 0.8361 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008116/1.136, allocations: 389.9 kB / 0.8365 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=92): time 4.427e-06/1.136, allocations: 0 / 0.8365 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of matching and sorting (n=92): time 0.001593/1.138, allocations: 0.6775 MB / 0.8371 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.844e-05/1.138, allocations: 221.4 kB / 0.8374 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/1.139, allocations: 0.7452 MB / 0.8381 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001139/1.139, allocations: 48.42 kB / 0.8381 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004042/1.14, allocations: 0.5294 MB / 0.8386 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002297/1.14, allocations: 307.9 kB / 0.8389 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.795e-05/1.14, allocations: 17.22 kB / 0.839 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.51e-05/1.14, allocations: 335 kB / 0.8393 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006084/1.141, allocations: 245.8 kB / 0.8395 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000753/1.141, allocations: 411.2 kB / 0.8399 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006709/1.142, allocations: 291.7 kB / 0.8402 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.235e-06/1.142, allocations: 0 / 0.8402 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001683/1.144, allocations: 0.7858 MB / 0.841 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/1.144, allocations: 461.4 kB / 0.8414 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/1.144, allocations: 0 / 0.8414 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/1.144, allocations: 3.875 kB / 0.8414 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/1.145, allocations: 222.5 kB / 0.8416 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.343e-05/1.145, allocations: 3.906 kB / 0.8416 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009351/1.146, allocations: 161.8 kB / 0.8418 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.585e-05/1.146, allocations: 34.83 kB / 0.8418 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/1.146, allocations: 3.844 kB / 0.8418 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001365/1.147, allocations: 0.6304 MB / 0.8424 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.272e-06/1.147, allocations: 3.688 kB / 0.8424 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/1.147, allocations: 7.672 kB / 0.8424 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008824/1.148, allocations: 167.9 kB / 0.8426 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/1.148, allocations: 7.781 kB / 0.8426 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007621/1.149, allocations: 122.2 kB / 0.8427 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.922e-05/1.149, allocations: 22.72 kB / 0.8427 GB, free: 1.984 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * 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.0002301/1.149, allocations: 162.2 kB / 0.8429 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/1.15, allocations: 111.8 kB / 0.843 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002834/1.15, allocations: 120.9 kB / 0.8431 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/1.15, allocations: 11.41 kB / 0.8431 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/1.15, allocations: 4 kB / 0.8431 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/1.15, allocations: 7.969 kB / 0.8431 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002914/1.153, allocations: 1.742 MB / 0.8448 GB, free: 17.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.102e-06/1.153, allocations: 0 / 0.8448 GB, free: 17.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/1.154, allocations: 191.1 kB / 0.845 GB, free: 17.06 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/1.154, allocations: 3.688 kB / 0.845 GB, free: 17.06 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.681e-05/1.154, allocations: 25 kB / 0.845 GB, free: 17.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.476e-06/1.154, allocations: 7.844 kB / 0.8451 GB, free: 17.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.154, allocations: 3.938 kB / 0.8451 GB, free: 17.05 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/1.156, allocations: 1.149 MB / 0.8462 GB, free: 16.43 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002849/1.157, allocations: 202 kB / 0.8464 GB, free: 16.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/1.157, allocations: 17.94 kB / 0.8464 GB, free: 16.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006853/1.158, allocations: 86.17 kB / 0.8465 GB, free: 16.15 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/1.158, allocations: 55.95 kB / 0.8465 GB, free: 16.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-05/1.158, allocations: 27.17 kB / 0.8465 GB, free: 16.08 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009747/1.159, allocations: 0.5854 MB / 0.8471 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.6e-07/1.159, allocations: 0 / 0.8471 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00124/1.16, allocations: 381.4 kB / 0.8475 GB, free: 15.3 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 7 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 90 * 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.0002741/1.16, allocations: 144.4 kB / 0.8476 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002347/1.163, allocations: 1.018 MB / 0.8486 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.71e-06/1.163, allocations: 4.5 kB / 0.8486 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007363/1.164, allocations: 338.4 kB / 0.8489 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/1.165, allocations: 184.1 kB / 0.8491 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003457/1.168, allocations: 1.409 MB / 0.8505 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000964/1.169, allocations: 1.104 MB / 0.8516 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001223/1.171, allocations: 180.2 kB / 0.8517 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000271/1.171, allocations: 66.73 kB / 0.8518 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of SimCode: time 1.951e-06/1.171, allocations: 0 / 0.8518 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of Templates: time 0.03291/1.204, allocations: 11.33 MB / 0.8629 GB, free: 212 kB / 0.6511 GB