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={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.531/4.531, allocations: 404.1 MB / 411.3 MB, free: 408 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.304e-05/3.31e-05, allocations: 4 kB / 0.4946 GB, free: 1.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6821/0.6822, allocations: 92.68 MB / 0.5851 GB, free: 2.379 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2727/0.9549, allocations: 136.4 MB / 0.7183 GB, free: 9.805 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004617/0.9554, allocations: 111.8 kB / 0.7184 GB, free: 9.695 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.09495/1.05, allocations: 20.7 MB / 0.7386 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.793e-06/1.05, allocations: 0 / 0.7386 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001435/1.051, allocations: 39.92 kB / 0.7386 GB, free: 4.91 MB / 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.004392/1.055, allocations: 1.314 MB / 0.7399 GB, free: 3.531 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/1.055, allocations: 12.02 kB / 0.7399 GB, free: 3.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005873/1.056, allocations: 158.2 kB / 0.7401 GB, free: 3.363 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002136/1.058, allocations: 0.7408 MB / 0.7408 GB, free: 2.578 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/1.058, allocations: 40 kB / 0.7408 GB, free: 2.539 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003233/1.058, allocations: 87.98 kB / 0.7409 GB, free: 2.453 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002918/1.061, allocations: 0.7935 MB / 0.7417 GB, free: 1.656 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003351/1.065, allocations: 1.053 MB / 0.7427 GB, free: 0.5391 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.928e-05/1.065, allocations: 0 / 0.7427 GB, free: 0.5391 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/1.065, allocations: 7.984 kB / 0.7427 GB, free: 0.5312 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.544e-05/1.065, allocations: 35.98 kB / 0.7428 GB, free: 0.4961 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01061/1.076, allocations: 3.611 MB / 0.7463 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002759/1.078, allocations: 0.8053 MB / 0.7471 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/1.079, allocations: 332.8 kB / 0.7474 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/1.08, allocations: 8.781 kB / 0.7474 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001391/1.081, allocations: 460.3 kB / 0.7478 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=90): time 4.007e-06/1.081, allocations: 0 / 0.7478 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=90): time 0.002578/1.084, allocations: 0.7687 MB / 0.7486 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/1.084, allocations: 167 kB / 0.7488 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/1.085, allocations: 0.5659 MB / 0.7493 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002985/1.085, allocations: 41.7 kB / 0.7493 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000785/1.086, allocations: 0.5349 MB / 0.7499 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004312/1.087, allocations: 248.5 kB / 0.7501 GB, free: 8.816 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.688e-05/1.087, allocations: 0 / 0.7501 GB, free: 8.816 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001712/1.087, allocations: 345.9 kB / 0.7504 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009778/1.088, allocations: 286.6 kB / 0.7507 GB, free: 8.195 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/1.089, allocations: 0.521 MB / 0.7512 GB, free: 7.578 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009981/1.09, allocations: 314.2 kB / 0.7515 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/1.09, allocations: 0 / 0.7515 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.003596/1.094, allocations: 0.8394 MB / 0.7523 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.001067/1.095, allocations: 1.842 MB / 0.7541 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.423e-05/1.095, allocations: 4 kB / 0.7541 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.695e-05/1.095, allocations: 15.98 kB / 0.7542 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002231/1.097, allocations: 171.7 kB / 0.7543 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.08e-05/1.097, allocations: 11.94 kB / 0.7543 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002117/1.1, allocations: 135.3 kB / 0.7545 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002173/1.1, allocations: 39.94 kB / 0.7545 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/1.1, allocations: 5.719 kB / 0.7545 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003365/1.103, allocations: 0.7139 MB / 0.7552 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/1.103, allocations: 4 kB / 0.7552 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.533e-05/1.103, allocations: 12 kB / 0.7552 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001972/1.105, allocations: 164.1 kB / 0.7554 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.676e-05/1.105, allocations: 16 kB / 0.7554 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/1.107, allocations: 103.5 kB / 0.7555 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/1.107, allocations: 39.98 kB / 0.7555 GB, free: 3.023 MB / 0.6355 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.0005717/1.108, allocations: 168.6 kB / 0.7557 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003489/1.111, allocations: 0.7531 MB / 0.7564 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000349/1.112, allocations: 98.86 kB / 0.7565 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003987/1.116, allocations: 0.8339 MB / 0.7573 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.632e-05/1.116, allocations: 12 kB / 0.7573 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/1.116, allocations: 3.953 kB / 0.7573 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.473e-05/1.116, allocations: 7.969 kB / 0.7574 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008167/1.124, allocations: 2.098 MB / 0.7594 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/1.124, allocations: 4 kB / 0.7594 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001912/1.126, allocations: 139.8 kB / 0.7595 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.469e-05/1.126, allocations: 4 kB / 0.7595 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001586/1.126, allocations: 15.98 kB / 0.7596 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.805e-05/1.126, allocations: 8 kB / 0.7596 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/1.126, allocations: 0 / 0.7596 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00722/1.134, allocations: 1.397 MB / 0.7609 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/1.135, allocations: 259.8 kB / 0.7612 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000413/1.135, allocations: 19.92 kB / 0.7612 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001808/1.137, allocations: 83.94 kB / 0.7613 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006135/1.138, allocations: 108.6 kB / 0.7614 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001909/1.138, allocations: 35.98 kB / 0.7614 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001319/1.139, allocations: 403.2 kB / 0.7618 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.51e-07/1.139, allocations: 0 / 0.7618 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003053/1.142, allocations: 378.4 kB / 0.7622 GB, free: 12.06 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.006935/1.149, allocations: 2.277 MB / 0.7644 GB, free: 9.723 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005643/1.155, allocations: 1.21 MB / 0.7656 GB, free: 8.516 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/1.155, allocations: 128 / 0.7656 GB, free: 8.516 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001991/1.157, allocations: 430.8 kB / 0.766 GB, free: 8.094 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/1.16, allocations: 168.9 kB / 0.7661 GB, free: 7.93 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008848/1.168, allocations: 1.534 MB / 0.7676 GB, free: 6.34 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001505/1.17, allocations: 1.106 MB / 0.7687 GB, free: 5.207 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001936/1.172, allocations: 186.5 kB / 0.7689 GB, free: 5.02 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001357/1.173, allocations: 447.3 kB / 0.7693 GB, free: 4.586 MB / 0.6511 GB Notification: Performance of SimCode: time 1.342e-06/1.173, allocations: 0 / 0.7693 GB, free: 4.586 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6522/1.826, allocations: 19.45 MB / 0.7883 GB, free: 164.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002703/1.826, allocations: 183.5 kB / 0.7885 GB, free: 164.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.755/5.581, allocations: 0 / 0.7885 GB, free: 164.1 MB / 0.6511 GB