Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_Validation_DamperValves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.373/4.373, allocations: 460.5 MB / 472.6 MB, free: 5.355 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.097e-05/3.102e-05, allocations: 4 kB / 0.5682 GB, free: 10.01 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3183, allocations: 106.2 MB / 0.6719 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8441/1.162, allocations: 139.7 MB / 0.8084 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/1.163, allocations: 84.11 kB / 0.8085 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.08023/1.243, allocations: 17.41 MB / 0.8255 GB, free: 8.969 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.144e-06/1.243, allocations: 0 / 0.8255 GB, free: 8.969 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.033e-05/1.243, allocations: 26.47 kB / 0.8255 GB, free: 8.969 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: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.003179/1.246, allocations: 1.19 MB / 0.8267 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/1.246, allocations: 15.62 kB / 0.8267 GB, free: 8.145 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000347/1.247, allocations: 173.7 kB / 0.8269 GB, free: 8.066 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003553/1.247, allocations: 135.7 kB / 0.827 GB, free: 8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/1.248, allocations: 0.6012 MB / 0.8276 GB, free: 7.629 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/1.248, allocations: 95.17 kB / 0.8277 GB, free: 7.625 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002434/1.249, allocations: 126.3 kB / 0.8278 GB, free: 7.621 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002708/1.251, allocations: 1.105 MB / 0.8289 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.729e-05/1.252, allocations: 3.875 kB / 0.8289 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001647/1.252, allocations: 52.2 kB / 0.8289 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.723e-05/1.252, allocations: 27.12 kB / 0.8289 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002131/1.254, allocations: 0.767 MB / 0.8297 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008123/1.262, allocations: 3.78 MB / 0.8334 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002838/1.265, allocations: 0.7692 MB / 0.8341 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/1.266, allocations: 335.3 kB / 0.8345 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.882e-05/1.266, allocations: 19.8 kB / 0.8345 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001541/1.268, allocations: 0.4898 MB / 0.8349 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=83): time 4.799e-06/1.268, allocations: 3.938 kB / 0.835 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of matching and sorting (n=83): time 0.003029/1.271, allocations: 0.7492 MB / 0.8357 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/1.271, allocations: 192.3 kB / 0.8359 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001925/1.273, allocations: 0.6894 MB / 0.8365 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003092/1.273, allocations: 58.86 kB / 0.8366 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006666/1.274, allocations: 483.2 kB / 0.8371 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003867/1.274, allocations: 232.2 kB / 0.8373 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/1.274, allocations: 20.62 kB / 0.8373 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001306/1.275, allocations: 343.1 kB / 0.8376 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/1.276, allocations: 271.3 kB / 0.8379 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001381/1.277, allocations: 0.5046 MB / 0.8384 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/1.278, allocations: 292.9 kB / 0.8387 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.869e-06/1.278, allocations: 3.938 kB / 0.8387 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.006711/1.285, allocations: 0.8426 MB / 0.8395 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009353/1.286, allocations: 1.923 MB / 0.8414 GB, free: 17.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/1.286, allocations: 7.766 kB / 0.8414 GB, free: 17.09 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.898e-05/1.286, allocations: 11.56 kB / 0.8414 GB, free: 17.09 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006385/1.293, allocations: 161.6 kB / 0.8415 GB, free: 17.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.56e-05/1.293, allocations: 11.44 kB / 0.8415 GB, free: 17.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/1.295, allocations: 173.1 kB / 0.8417 GB, free: 16.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/1.295, allocations: 38.58 kB / 0.8417 GB, free: 16.97 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/1.295, allocations: 7.906 kB / 0.8418 GB, free: 16.97 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002646/1.297, allocations: 0.7229 MB / 0.8425 GB, free: 16.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/1.297, allocations: 7.812 kB / 0.8425 GB, free: 16.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.691e-05/1.297, allocations: 7.688 kB / 0.8425 GB, free: 16.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008989/1.306, allocations: 152 kB / 0.8426 GB, free: 16.85 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.712e-05/1.307, allocations: 19.47 kB / 0.8426 GB, free: 16.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/1.308, allocations: 159.2 kB / 0.8428 GB, free: 16.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001631/1.309, allocations: 34.06 kB / 0.8428 GB, free: 16.77 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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.conVal.trigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 123 * 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.0005609/1.309, allocations: 200.2 kB / 0.843 GB, free: 16.64 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000332/1.31, allocations: 97.41 kB / 0.8431 GB, free: 16.59 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007771/1.317, allocations: 0.8351 MB / 0.8439 GB, free: 16.42 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/1.317, allocations: 7.688 kB / 0.8439 GB, free: 16.42 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/1.317, allocations: 0 / 0.8439 GB, free: 16.42 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/1.317, allocations: 7.828 kB / 0.8439 GB, free: 16.42 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01389/1.331, allocations: 2.087 MB / 0.846 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/1.331, allocations: 7.844 kB / 0.846 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/1.333, allocations: 116 kB / 0.8461 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-05/1.333, allocations: 7.719 kB / 0.8461 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001372/1.333, allocations: 24.25 kB / 0.8461 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.176e-05/1.333, allocations: 7.688 kB / 0.8461 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/1.333, allocations: 0 / 0.8461 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008576/1.342, allocations: 1.367 MB / 0.8475 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004375/1.342, allocations: 172.8 kB / 0.8476 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000322/1.342, allocations: 34.02 kB / 0.8477 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/1.344, allocations: 87.92 kB / 0.8477 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004088/1.344, allocations: 101.6 kB / 0.8478 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001285/1.344, allocations: 35.2 kB / 0.8479 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001274/1.346, allocations: 0.5012 MB / 0.8484 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.32e-07/1.346, allocations: 0 / 0.8484 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002439/1.348, allocations: 360.9 kB / 0.8487 GB, free: 14.73 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (damVal.conVal.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 (88): * Single equations (assignments): 80 * 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.004323/1.353, allocations: 2.319 MB / 0.851 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002893/1.356, allocations: 1.155 MB / 0.8521 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/1.356, allocations: 0 / 0.8521 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/1.357, allocations: 413.6 kB / 0.8525 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/1.358, allocations: 142.2 kB / 0.8526 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004632/1.363, allocations: 1.432 MB / 0.854 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008369/1.363, allocations: 1.052 MB / 0.8551 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001311/1.365, allocations: 171.9 kB / 0.8552 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007497/1.366, allocations: 390.8 kB / 0.8556 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of SimCode: time 1.062e-06/1.366, allocations: 0 / 0.8556 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08308/1.449, allocations: 19.21 MB / 0.8744 GB, free: 8.684 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003312/1.449, allocations: 191.8 kB / 0.8745 GB, free: 8.457 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.196/4.645, allocations: 4 kB / 0.8745 GB, free: 8.453 MB / 0.6667 GB