Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") Notification: Performance of loadModel(Buildings): time 4.511/4.511, allocations: 464.6 MB / 476.8 MB, free: 2.199 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.626e-05/3.637e-05, allocations: 8 kB / 0.5731 GB, free: 5.715 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.1995, allocations: 107.2 MB / 0.6778 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7523/0.9519, allocations: 132.3 MB / 0.8069 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.9521, allocations: 69.55 kB / 0.807 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005648/0.9578, allocations: 1.562 MB / 0.8085 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.242e-06/0.9578, allocations: 0 / 0.8085 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.624e-06/0.9579, allocations: 4 kB / 0.8085 GB, free: 12.05 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005159/0.9584, allocations: 407 kB / 0.8089 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.9584, allocations: 7.719 kB / 0.8089 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.796e-05/0.9585, allocations: 11.59 kB / 0.8089 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.9586, allocations: 186.5 kB / 0.8091 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.991e-05/0.9587, allocations: 43.5 kB / 0.8092 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.454e-05/0.9588, allocations: 7.594 kB / 0.8092 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.959, allocations: 82.06 kB / 0.8093 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.959, allocations: 0 / 0.8093 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.959, allocations: 7.25 kB / 0.8093 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.208e-06/0.959, allocations: 0 / 0.8093 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.9591, allocations: 33.12 kB / 0.8093 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008079/0.96, allocations: 393.3 kB / 0.8097 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.219e-05/0.9601, allocations: 40.73 kB / 0.8097 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.47e-05/0.9601, allocations: 31.02 kB / 0.8097 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.9602, allocations: 0 / 0.8097 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.9604, allocations: 83.77 kB / 0.8098 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.876e-06/0.9604, allocations: 0 / 0.8098 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002294/0.9606, allocations: 95.39 kB / 0.8099 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.9607, allocations: 51.41 kB / 0.81 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.9608, allocations: 134.9 kB / 0.8101 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.9608, allocations: 33.27 kB / 0.8101 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.075e-05/0.9609, allocations: 101.8 kB / 0.8102 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.9609, allocations: 31.09 kB / 0.8102 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.915e-06/0.961, allocations: 3.688 kB / 0.8102 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.84e-05/0.961, allocations: 321.3 kB / 0.8106 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.977e-05/0.9611, allocations: 18.78 kB / 0.8106 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.589e-05/0.9612, allocations: 89.56 kB / 0.8107 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.277e-05/0.9613, allocations: 29.88 kB / 0.8107 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.702e-06/0.9613, allocations: 0 / 0.8107 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002731/0.9616, allocations: 121.4 kB / 0.8108 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.9616, allocations: 7.812 kB / 0.8108 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.9617, allocations: 288 / 0.8108 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.9617, allocations: 11.86 kB / 0.8108 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.9619, allocations: 32.34 kB / 0.8108 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.483e-06/0.9619, allocations: 3.844 kB / 0.8109 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.9621, allocations: 28.31 kB / 0.8109 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.9621, allocations: 10.5 kB / 0.8109 GB, free: 10.21 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$whenCondition2,intDef.trigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.536e-05/0.9622, allocations: 116.5 kB / 0.811 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.9622, allocations: 11.69 kB / 0.811 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.209e-05/0.9623, allocations: 18.19 kB / 0.811 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.74e-06/0.9623, allocations: 0 / 0.811 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.223e-06/0.9623, allocations: 3.953 kB / 0.811 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.842e-06/0.9623, allocations: 0 / 0.811 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006029/0.9629, allocations: 395.7 kB / 0.8114 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.31e-06/0.9629, allocations: 0 / 0.8114 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.9631, allocations: 17.62 kB / 0.8114 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.572e-06/0.9631, allocations: 3.953 kB / 0.8114 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.9631, allocations: 3.906 kB / 0.8114 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.889e-06/0.9632, allocations: 0 / 0.8114 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.918e-06/0.9632, allocations: 2.859 kB / 0.8114 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/0.9634, allocations: 220.4 kB / 0.8116 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.129e-05/0.9635, allocations: 84.86 kB / 0.8117 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.9635, allocations: 10.16 kB / 0.8117 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.9637, allocations: 14.61 kB / 0.8118 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.376e-05/0.9638, allocations: 12.11 kB / 0.8118 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.9638, allocations: 7.781 kB / 0.8118 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.672e-05/0.9639, allocations: 112 kB / 0.8119 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.43e-06/0.9639, allocations: 4 kB / 0.8119 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003749/0.9643, allocations: 37.17 kB / 0.8119 GB, free: 9.438 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (booleanPulse.y,intDef.trigger,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001457/0.9645, allocations: 109.6 kB / 0.812 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002147/0.9647, allocations: 60.56 kB / 0.8121 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.094e-06/0.9647, allocations: 0 / 0.8121 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.392e-05/0.9648, allocations: 26.59 kB / 0.8121 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.9651, allocations: 22.97 kB / 0.8121 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005096/0.9657, allocations: 189.7 kB / 0.8123 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004317/0.9661, allocations: 0.7061 MB / 0.813 GB, free: 24.53 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.347e-05/0.9662, allocations: 15.06 kB / 0.813 GB, free: 24.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/0.9662, allocations: 18.31 kB / 0.813 GB, free: 24.52 MB / 0.6511 GB Notification: Performance of SimCode: time 1.621e-06/0.9663, allocations: 0 / 0.813 GB, free: 24.52 MB / 0.6511 GB Notification: Performance of Templates: time 0.004373/0.9706, allocations: 1.074 MB / 0.8141 GB, free: 24.42 MB / 0.6511 GB