Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadModel(Buildings): time 4.329/4.329, allocations: 464.7 MB / 476.8 MB, free: 2.211 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.603e-05/3.618e-05, allocations: 4 kB / 0.5731 GB, free: 5.742 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2256, allocations: 107.2 MB / 0.6778 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7197/0.9454, allocations: 134.2 MB / 0.8089 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/0.9456, allocations: 80.05 kB / 0.8089 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05482/1, allocations: 14.92 MB / 0.8235 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.489e-06/1.001, allocations: 3.938 kB / 0.8235 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.37e-05/1.001, allocations: 23.22 kB / 0.8235 GB, free: 9.789 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.001802/1.002, allocations: 1.09 MB / 0.8246 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/1.002, allocations: 7.75 kB / 0.8246 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002979/1.003, allocations: 132.1 kB / 0.8247 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/1.004, allocations: 0.6035 MB / 0.8253 GB, free: 8.574 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.53e-05/1.004, allocations: 78.66 kB / 0.8254 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/1.004, allocations: 95.09 kB / 0.8255 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/1.006, allocations: 0.844 MB / 0.8263 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.795e-05/1.006, allocations: 0 / 0.8263 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.736e-05/1.006, allocations: 46.02 kB / 0.8264 GB, free: 8.371 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/1.006, allocations: 26.97 kB / 0.8264 GB, free: 8.367 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/1.008, allocations: 0.5634 MB / 0.8269 GB, free: 8.348 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005312/1.013, allocations: 2.746 MB / 0.8296 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/1.014, allocations: 0.6312 MB / 0.8302 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006099/1.015, allocations: 348.6 kB / 0.8306 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.14e-05/1.015, allocations: 16.09 kB / 0.8306 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006406/1.015, allocations: 330.6 kB / 0.8309 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=77): time 5.112e-06/1.015, allocations: 0 / 0.8309 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of matching and sorting (n=77): time 0.001312/1.017, allocations: 0.568 MB / 0.8314 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/1.017, allocations: 166.6 kB / 0.8316 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000906/1.018, allocations: 0.5621 MB / 0.8322 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.586e-05/1.018, allocations: 46.91 kB / 0.8322 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/1.018, allocations: 432.1 kB / 0.8326 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/1.018, allocations: 266.2 kB / 0.8329 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/1.018, allocations: 15.28 kB / 0.8329 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.363e-05/1.019, allocations: 337.1 kB / 0.8332 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004885/1.019, allocations: 199.7 kB / 0.8334 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005783/1.02, allocations: 300.3 kB / 0.8337 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005373/1.02, allocations: 235.2 kB / 0.8339 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/1.02, allocations: 0 / 0.8339 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001406/1.022, allocations: 0.632 MB / 0.8345 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.538e-05/1.022, allocations: 188 kB / 0.8347 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.377e-06/1.022, allocations: 0 / 0.8347 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/1.022, allocations: 7.938 kB / 0.8347 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008096/1.023, allocations: 168.9 kB / 0.8349 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/1.023, allocations: 3.812 kB / 0.8349 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006537/1.023, allocations: 114.5 kB / 0.835 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.365e-05/1.023, allocations: 18.38 kB / 0.835 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/1.023, allocations: 3.844 kB / 0.835 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001104/1.025, allocations: 0.5143 MB / 0.8355 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.996e-06/1.025, allocations: 0 / 0.8355 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/1.025, allocations: 7.875 kB / 0.8355 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006762/1.025, allocations: 135.3 kB / 0.8356 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/1.025, allocations: 7.797 kB / 0.8356 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005329/1.026, allocations: 85.88 kB / 0.8357 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.502e-05/1.026, allocations: 19.28 kB / 0.8357 GB, free: 4.855 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,greEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.000204/1.026, allocations: 149.6 kB / 0.8359 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/1.026, allocations: 85.36 kB / 0.836 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002254/1.027, allocations: 93.16 kB / 0.8361 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/1.027, allocations: 7.688 kB / 0.8361 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/1.027, allocations: 3.953 kB / 0.8361 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/1.027, allocations: 7.828 kB / 0.8361 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002764/1.029, allocations: 1.598 MB / 0.8376 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.605e-06/1.029, allocations: 3.781 kB / 0.8376 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009294/1.03, allocations: 153.6 kB / 0.8378 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.201e-05/1.03, allocations: 3.844 kB / 0.8378 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.737e-05/1.03, allocations: 22.23 kB / 0.8378 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.992e-06/1.03, allocations: 3.75 kB / 0.8378 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.03, allocations: 0 / 0.8378 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/1.032, allocations: 0.9755 MB / 0.8388 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/1.033, allocations: 161.7 kB / 0.8389 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/1.033, allocations: 17.25 kB / 0.8389 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005717/1.033, allocations: 63.66 kB / 0.839 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.843e-05/1.033, allocations: 39.22 kB / 0.839 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.844e-05/1.033, allocations: 25.08 kB / 0.8391 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006703/1.034, allocations: 448.6 kB / 0.8395 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.024e-06/1.034, allocations: 3.938 kB / 0.8395 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009661/1.035, allocations: 319.3 kB / 0.8398 GB, free: 3.359 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 3 (greEquThr.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 77 * 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 Backend phase and start with SimCode phase: time 0.000216/1.035, allocations: 139.2 kB / 0.8399 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001727/1.037, allocations: 0.8305 MB / 0.8407 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.101e-06/1.037, allocations: 0 / 0.8407 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005578/1.038, allocations: 283.8 kB / 0.841 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009066/1.039, allocations: 127.1 kB / 0.8411 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002537/1.041, allocations: 1.236 MB / 0.8423 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008413/1.042, allocations: 1.034 MB / 0.8434 GB, free: 17.75 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008736/1.043, allocations: 138.4 kB / 0.8435 GB, free: 17.68 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/1.043, allocations: 49.89 kB / 0.8435 GB, free: 17.67 MB / 0.6511 GB Notification: Performance of SimCode: time 1.733e-06/1.043, allocations: 3.844 kB / 0.8435 GB, free: 17.67 MB / 0.6511 GB Notification: Performance of Templates: time 0.02478/1.068, allocations: 8.248 MB / 0.8516 GB, free: 10.11 MB / 0.6511 GB