Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_Validation_DamperValves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.011/4.011, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.709e-05/3.718e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.33 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6547/0.6548, allocations: 92.68 MB / 0.5897 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3035/0.9583, allocations: 137 MB / 0.7235 GB, free: 5.148 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004256/0.9588, allocations: 107.9 kB / 0.7236 GB, free: 5.043 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1019/1.061, allocations: 20.9 MB / 0.744 GB, free: 100 kB / 0.6198 GB Notification: Performance of FrontEnd: time 2.144e-06/1.061, allocations: 0 / 0.744 GB, free: 100 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.000168/1.061, allocations: 35.98 kB / 0.744 GB, free: 64 kB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 295 * Number of variables: 295 Notification: Performance of Generate backend data structure: time 0.005332/1.066, allocations: 1.31 MB / 0.7453 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.447e-05/1.066, allocations: 12.03 kB / 0.7453 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005548/1.067, allocations: 173.4 kB / 0.7455 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005961/1.068, allocations: 158.2 kB / 0.7456 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002543/1.07, allocations: 0.7368 MB / 0.7464 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001993/1.07, allocations: 98.33 kB / 0.7465 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004278/1.071, allocations: 132 kB / 0.7466 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005/1.076, allocations: 1.21 MB / 0.7478 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.429e-05/1.076, allocations: 4 kB / 0.7478 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003027/1.076, allocations: 52 kB / 0.7478 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.484e-05/1.076, allocations: 28 kB / 0.7478 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004901/1.081, allocations: 0.8757 MB / 0.7487 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01094/1.092, allocations: 3.886 MB / 0.7525 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002732/1.095, allocations: 0.8651 MB / 0.7533 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/1.096, allocations: 351.1 kB / 0.7537 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/1.096, allocations: 9.547 kB / 0.7537 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001369/1.098, allocations: 494.1 kB / 0.7542 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=90): time 3.927e-06/1.098, allocations: 0 / 0.7542 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of matching and sorting (n=90): time 0.0026/1.1, allocations: 0.8425 MB / 0.755 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/1.101, allocations: 171 kB / 0.7551 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001897/1.102, allocations: 0.7726 MB / 0.7559 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003496/1.103, allocations: 61.7 kB / 0.756 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007233/1.104, allocations: 0.5275 MB / 0.7565 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004308/1.104, allocations: 252.5 kB / 0.7567 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-05/1.104, allocations: 20 kB / 0.7567 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001746/1.104, allocations: 349.9 kB / 0.7571 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009918/1.105, allocations: 302.6 kB / 0.7574 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/1.107, allocations: 0.5466 MB / 0.7579 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009863/1.108, allocations: 327.2 kB / 0.7582 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/1.108, allocations: 0 / 0.7582 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.00276/1.11, allocations: 0.9449 MB / 0.7591 GB, free: 124 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008051/1.111, allocations: 1.85 MB / 0.7609 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/1.111, allocations: 7.984 kB / 0.7609 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.649e-05/1.111, allocations: 8 kB / 0.7609 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/1.113, allocations: 175.7 kB / 0.7611 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.897e-05/1.113, allocations: 12 kB / 0.7611 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/1.114, allocations: 175 kB / 0.7613 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/1.115, allocations: 36 kB / 0.7613 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/1.115, allocations: 4 kB / 0.7613 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002308/1.117, allocations: 0.812 MB / 0.7621 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/1.117, allocations: 11.98 kB / 0.7621 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/1.117, allocations: 8 kB / 0.7621 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/1.118, allocations: 159.7 kB / 0.7623 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-05/1.118, allocations: 20.31 kB / 0.7623 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/1.12, allocations: 163 kB / 0.7625 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/1.12, allocations: 36 kB / 0.7625 GB, free: 12.52 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 61 ($PRE.damVal.truHol2.onDelay.u,$PRE.damVal.truHol2.toOutputTrue.enableFire,$PRE.damVal.truHol2.toInitial.enableFire,$PRE.damVal.truDel3.u,$PRE.damVal.truDel4.u,$whenCondition7,$PRE.damVal.truDel4.t_next,$whenCondition4,$PRE.damVal.truDel3.t_next,$whenCondition1,$PRE.damVal.truHol2.onDelay.t_next,damVal.truDel4.t_next,damVal.truDel3.t_next,damVal.truHol2.onDelay.t_next,damVal.truHol2.stateGraphRoot.resume,damVal.truHol2.stateGraphRoot.suspend,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,damVal.and2.y,damVal.and4.y,$PRE.damVal.hys2.y,damVal.hys2.y,$PRE.damVal.hys3.y,damVal.hys3.y,$PRE.damVal.hys4.y,damVal.hys4.y,$PRE.damVal.hys6.y,damVal.hys6.y,$PRE.damVal.hys7.y,damVal.hys7.y,damVal.truHol2.stateGraphRoot.activeSteps,damVal.truHol2.onDelay.u,damVal.truHol2.onDelay.y,$PRE.damVal.truHol2.initialStep.localActive,damVal.truHol2.initialStep.localActive,$PRE.damVal.truHol2.initialStep.newActive,damVal.truHol2.initialStep.newActive,$PRE.damVal.truHol2.initialStep.oldActive,damVal.truHol2.initialStep.oldActive,damVal.truHol2.initialStep.active,$PRE.damVal.truHol2.outputTrue.localActive,damVal.truHol2.outputTrue.localActive,$PRE.damVal.truHol2.outputTrue.newActive,damVal.truHol2.outputTrue.newActive,$PRE.damVal.truHol2.outputTrue.oldActive,damVal.truHol2.outputTrue.oldActive,damVal.truHol2.outputTrue.active,damVal.truHol2.toOutputTrue.enableFire,damVal.truHol2.toInitial.enableFire,damVal.truDel3.u,damVal.truDel3.y,damVal.truDel4.u,damVal.truDel4.y,damVal.or2.y,damVal.and1.y,damVal.conDam.trigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 129 * 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.0004441/1.12, allocations: 196.7 kB / 0.7627 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002778/1.121, allocations: 114.7 kB / 0.7628 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002738/1.123, allocations: 0.9335 MB / 0.7637 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/1.123, allocations: 12 kB / 0.7637 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/1.123, allocations: 0 / 0.7637 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.677e-05/1.123, allocations: 7.938 kB / 0.7637 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005549/1.129, allocations: 2.316 MB / 0.766 GB, free: 8.844 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.924e-06/1.129, allocations: 0 / 0.766 GB, free: 8.844 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/1.13, allocations: 147.8 kB / 0.7661 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.67e-05/1.13, allocations: 4.094 kB / 0.7661 GB, free: 8.695 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/1.13, allocations: 27.92 kB / 0.7662 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.116e-05/1.13, allocations: 4 kB / 0.7662 GB, free: 8.664 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.13, allocations: 0 / 0.7662 GB, free: 8.664 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00378/1.134, allocations: 1.5 MB / 0.7676 GB, free: 7.109 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006717/1.135, allocations: 283.6 kB / 0.7679 GB, free: 6.812 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002359/1.135, allocations: 31.98 kB / 0.7679 GB, free: 6.781 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/1.136, allocations: 91.94 kB / 0.768 GB, free: 6.691 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003439/1.137, allocations: 108.6 kB / 0.7681 GB, free: 6.586 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/1.137, allocations: 39.98 kB / 0.7682 GB, free: 6.547 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001252/1.138, allocations: 0.567 MB / 0.7687 GB, free: 5.965 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.31e-07/1.138, allocations: 0 / 0.7687 GB, free: 5.965 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001719/1.14, allocations: 395.1 kB / 0.7691 GB, free: 5.578 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (damVal.conVal.I.y,damVal.conDam.I.y) * Number of discrete variables: 41 (damVal.truDel4.u,damVal.truHol2.onDelay.u,damVal.truHol2.outputTrue.localActive,damVal.truHol2.outputTrue.active,damVal.truHol2.initialStep.active,damVal.truDel3.u,$cse1,$cse2,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,damVal.and2.y,damVal.and4.y,damVal.hys2.y,damVal.hys3.y,damVal.hys4.y,damVal.hys6.y,damVal.hys7.y,damVal.truHol2.stateGraphRoot.activeSteps,damVal.truHol2.onDelay.y,damVal.truHol2.onDelay.t_next,damVal.truHol2.initialStep.localActive,damVal.truHol2.initialStep.newActive,damVal.truHol2.initialStep.oldActive,damVal.truHol2.outputTrue.newActive,damVal.truHol2.outputTrue.oldActive,damVal.truHol2.toOutputTrue.enableFire,damVal.truHol2.toInitial.enableFire,damVal.truDel3.y,damVal.truDel3.t_next,damVal.truDel4.y,damVal.truDel4.t_next,damVal.or2.y,damVal.and1.y) * Number of discrete states: 10 (damVal.truDel4.t_next,damVal.truDel3.t_next,damVal.truHol2.onDelay.t_next,damVal.hys4.y,damVal.hys6.y,damVal.truHol2.initialStep.newActive,damVal.truHol2.outputTrue.newActive,damVal.hys3.y,damVal.hys7.y,damVal.hys2.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.004378/1.144, allocations: 2.389 MB / 0.7714 GB, free: 3.133 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00364/1.148, allocations: 1.3 MB / 0.7727 GB, free: 1.832 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/1.148, allocations: 0 / 0.7727 GB, free: 1.832 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/1.149, allocations: 460.3 kB / 0.7731 GB, free: 1.383 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/1.151, allocations: 208.5 kB / 0.7733 GB, free: 1.176 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5003/1.651, allocations: 1.626 MB / 0.7749 GB, free: 164.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/1.652, allocations: 1.108 MB / 0.776 GB, free: 163.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001838/1.654, allocations: 207.9 kB / 0.7762 GB, free: 163.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/1.656, allocations: 454.2 kB / 0.7766 GB, free: 163.5 MB / 0.6511 GB Notification: Performance of SimCode: time 1.663e-06/1.656, allocations: 0.5 kB / 0.7766 GB, free: 163.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07694/1.733, allocations: 22.8 MB / 0.7989 GB, free: 160.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/1.733, allocations: 185.2 kB / 0.7991 GB, free: 160.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.633/5.366, allocations: 0 / 0.7991 GB, free: 160.1 MB / 0.6511 GB