Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadModel(Buildings): time 4.058/4.058, allocations: 464.7 MB / 476.8 MB, free: 2.102 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.079e-05/3.094e-05, allocations: 0 / 0.5731 GB, free: 5.691 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2112, allocations: 107.2 MB / 0.6778 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8021/1.013, allocations: 136.8 MB / 0.8114 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/1.014, allocations: 88.44 kB / 0.8115 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05873/1.072, allocations: 17.42 MB / 0.8285 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.139e-06/1.072, allocations: 3.938 kB / 0.8285 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.839e-05/1.073, allocations: 23.16 kB / 0.8285 GB, free: 7.605 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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.001753/1.074, allocations: 1.084 MB / 0.8296 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/1.074, allocations: 11.53 kB / 0.8296 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002223/1.075, allocations: 128.2 kB / 0.8297 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/1.076, allocations: 0.6011 MB / 0.8303 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.672e-05/1.076, allocations: 73.78 kB / 0.8304 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/1.076, allocations: 93.38 kB / 0.8305 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/1.078, allocations: 0.8441 MB / 0.8313 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/1.078, allocations: 0 / 0.8313 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.475e-05/1.078, allocations: 38.03 kB / 0.8313 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/1.078, allocations: 26.97 kB / 0.8314 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/1.079, allocations: 0.5665 MB / 0.8319 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004788/1.084, allocations: 2.728 MB / 0.8346 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/1.085, allocations: 0.6237 MB / 0.8352 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006139/1.086, allocations: 351.2 kB / 0.8355 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.977e-05/1.086, allocations: 8.438 kB / 0.8355 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006325/1.087, allocations: 339.9 kB / 0.8358 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=77): time 4.478e-06/1.087, allocations: 0 / 0.8358 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=77): time 0.001235/1.088, allocations: 0.5621 MB / 0.8364 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/1.088, allocations: 169.5 kB / 0.8366 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008923/1.089, allocations: 0.5617 MB / 0.8371 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.459e-05/1.089, allocations: 43.73 kB / 0.8371 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002875/1.089, allocations: 442.1 kB / 0.8376 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/1.089, allocations: 261.3 kB / 0.8378 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/1.089, allocations: 18.75 kB / 0.8378 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.04e-05/1.09, allocations: 336.8 kB / 0.8382 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004663/1.09, allocations: 198.8 kB / 0.8383 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005498/1.091, allocations: 300.7 kB / 0.8386 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005396/1.091, allocations: 235.9 kB / 0.8389 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.645e-06/1.091, allocations: 0 / 0.8389 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001351/1.093, allocations: 0.6297 MB / 0.8395 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.111e-05/1.093, allocations: 188.5 kB / 0.8397 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.093, allocations: 7.594 kB / 0.8397 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/1.093, allocations: 3.969 kB / 0.8397 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007788/1.093, allocations: 169.8 kB / 0.8398 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/1.093, allocations: 3.812 kB / 0.8398 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005221/1.094, allocations: 104.1 kB / 0.8399 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.24e-05/1.094, allocations: 25.97 kB / 0.84 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/1.094, allocations: 3.844 kB / 0.84 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001052/1.095, allocations: 0.5175 MB / 0.8405 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.8e-06/1.095, allocations: 3.938 kB / 0.8405 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.875e-06/1.095, allocations: 3.812 kB / 0.8405 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000634/1.096, allocations: 133.6 kB / 0.8406 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.813e-06/1.096, allocations: 3.844 kB / 0.8406 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004435/1.096, allocations: 83.84 kB / 0.8407 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-05/1.096, allocations: 18.47 kB / 0.8407 GB, free: 2.688 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.0001764/1.097, allocations: 149.7 kB / 0.8408 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/1.097, allocations: 87.95 kB / 0.8409 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/1.097, allocations: 91.38 kB / 0.841 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.15e-06/1.097, allocations: 7.719 kB / 0.841 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.905e-06/1.097, allocations: 0 / 0.841 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/1.097, allocations: 7.828 kB / 0.841 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002651/1.1, allocations: 1.594 MB / 0.8426 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.678e-06/1.1, allocations: 4 kB / 0.8426 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009127/1.101, allocations: 145.9 kB / 0.8427 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/1.101, allocations: 3.844 kB / 0.8427 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-05/1.101, allocations: 18.83 kB / 0.8428 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.201e-06/1.101, allocations: 3.688 kB / 0.8428 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.98e-06/1.101, allocations: 0 / 0.8428 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/1.103, allocations: 0.9751 MB / 0.8437 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/1.103, allocations: 173.3 kB / 0.8439 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/1.103, allocations: 20.78 kB / 0.8439 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004663/1.103, allocations: 56.8 kB / 0.8439 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.427e-05/1.103, allocations: 45.69 kB / 0.844 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.914e-05/1.104, allocations: 18.28 kB / 0.844 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006705/1.104, allocations: 448.1 kB / 0.8444 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.18e-07/1.104, allocations: 0 / 0.8444 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009231/1.105, allocations: 326.7 kB / 0.8447 GB, free: 1.184 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.000185/1.105, allocations: 147.2 kB / 0.8449 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001581/1.107, allocations: 0.8297 MB / 0.8457 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.562e-06/1.107, allocations: 0 / 0.8457 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004856/1.107, allocations: 273.7 kB / 0.846 GB, free: 500 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008078/1.108, allocations: 158.4 kB / 0.8461 GB, free: 392 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/1.111, allocations: 1.241 MB / 0.8473 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008607/1.112, allocations: 1.035 MB / 0.8483 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008404/1.113, allocations: 141.1 kB / 0.8485 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/1.113, allocations: 51.42 kB / 0.8485 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of SimCode: time 1.843e-06/1.113, allocations: 0 / 0.8485 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of Templates: time 0.02532/1.138, allocations: 8.516 MB / 0.8568 GB, free: 5.566 MB / 0.6511 GB