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 3.897/3.897, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.461e-05/3.475e-05, allocations: 4 kB / 0.4992 GB, free: 13.3 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6304/0.6304, allocations: 92.68 MB / 0.5897 GB, free: 14.36 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2706/0.9011, allocations: 137.1 MB / 0.7235 GB, free: 5.117 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003784/0.9015, allocations: 103.9 kB / 0.7236 GB, free: 5.016 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.08326/0.9848, allocations: 20.91 MB / 0.744 GB, free: 64 kB / 0.6198 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9849, allocations: 0 / 0.744 GB, free: 64 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001413/0.985, allocations: 32 kB / 0.7441 GB, free: 32 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.004365/0.9894, allocations: 1.314 MB / 0.7454 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.9895, allocations: 8.031 kB / 0.7454 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005703/0.99, allocations: 181.3 kB / 0.7455 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006069/0.9907, allocations: 150.2 kB / 0.7457 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00206/0.9927, allocations: 0.733 MB / 0.7464 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.9929, allocations: 106.3 kB / 0.7465 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003637/0.9933, allocations: 132 kB / 0.7466 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003952/0.9973, allocations: 1.193 MB / 0.7478 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.057e-05/0.9974, allocations: 3.938 kB / 0.7478 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001967/0.9976, allocations: 55.98 kB / 0.7478 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.999e-05/0.9976, allocations: 35.94 kB / 0.7479 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00297/1.001, allocations: 0.8557 MB / 0.7487 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009958/1.011, allocations: 3.878 MB / 0.7525 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002638/1.013, allocations: 0.8443 MB / 0.7533 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/1.014, allocations: 359.2 kB / 0.7537 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.944e-05/1.014, allocations: 12.77 kB / 0.7537 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001309/1.016, allocations: 488.4 kB / 0.7541 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=90): time 3.798e-06/1.016, allocations: 0 / 0.7541 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=90): time 0.002466/1.018, allocations: 0.8387 MB / 0.755 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/1.018, allocations: 171 kB / 0.7551 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/1.02, allocations: 0.7726 MB / 0.7559 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002863/1.02, allocations: 69.62 kB / 0.756 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006602/1.021, allocations: 0.5159 MB / 0.7565 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004096/1.022, allocations: 252.5 kB / 0.7567 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.983e-05/1.022, allocations: 20 kB / 0.7567 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001643/1.022, allocations: 353.9 kB / 0.7571 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009269/1.023, allocations: 298.6 kB / 0.7573 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/1.024, allocations: 0.5402 MB / 0.7579 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009515/1.025, allocations: 335.1 kB / 0.7582 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/1.025, allocations: 0 / 0.7582 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002555/1.028, allocations: 0.9256 MB / 0.7591 GB, free: 172 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007749/1.028, allocations: 1.849 MB / 0.7609 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/1.028, allocations: 4 kB / 0.7609 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.542e-05/1.028, allocations: 8 kB / 0.7609 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/1.03, allocations: 175.7 kB / 0.7611 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.732e-05/1.03, allocations: 15.94 kB / 0.7611 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/1.031, allocations: 174.9 kB / 0.7613 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/1.032, allocations: 40.08 kB / 0.7613 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/1.032, allocations: 7.938 kB / 0.7613 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002194/1.034, allocations: 0.7965 MB / 0.7621 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/1.034, allocations: 4 kB / 0.7621 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/1.034, allocations: 8 kB / 0.7621 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/1.035, allocations: 167.7 kB / 0.7622 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.036e-05/1.035, allocations: 8.438 kB / 0.7623 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/1.036, allocations: 170.9 kB / 0.7624 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/1.037, allocations: 36 kB / 0.7625 GB, free: 12.57 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.0004239/1.037, allocations: 200.7 kB / 0.7626 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002777/1.037, allocations: 106.7 kB / 0.7627 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002704/1.04, allocations: 0.9375 MB / 0.7637 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/1.04, allocations: 8 kB / 0.7637 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/1.04, allocations: 0 / 0.7637 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.949e-05/1.04, allocations: 7.938 kB / 0.7637 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005547/1.046, allocations: 2.32 MB / 0.7659 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/1.046, allocations: 0 / 0.7659 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/1.047, allocations: 139.9 kB / 0.7661 GB, free: 8.762 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.554e-05/1.047, allocations: 4 kB / 0.7661 GB, free: 8.758 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/1.047, allocations: 27.97 kB / 0.7661 GB, free: 8.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.191e-05/1.047, allocations: 4 kB / 0.7661 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.047, allocations: 3.938 kB / 0.7661 GB, free: 8.723 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003762/1.051, allocations: 1.492 MB / 0.7676 GB, free: 7.18 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007124/1.052, allocations: 283.6 kB / 0.7678 GB, free: 6.883 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002435/1.052, allocations: 28 kB / 0.7679 GB, free: 6.855 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/1.053, allocations: 95.92 kB / 0.768 GB, free: 6.762 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003433/1.054, allocations: 108.6 kB / 0.7681 GB, free: 6.656 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/1.054, allocations: 39.97 kB / 0.7681 GB, free: 6.617 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001228/1.055, allocations: 0.5671 MB / 0.7687 GB, free: 6.035 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.31e-07/1.055, allocations: 0 / 0.7687 GB, free: 6.035 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001871/1.057, allocations: 391.2 kB / 0.769 GB, free: 5.652 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.004481/1.061, allocations: 2.396 MB / 0.7714 GB, free: 3.199 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003706/1.065, allocations: 1.266 MB / 0.7726 GB, free: 1.934 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/1.065, allocations: 1 kB / 0.7726 GB, free: 1.934 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001354/1.066, allocations: 455 kB / 0.773 GB, free: 1.492 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/1.068, allocations: 203.3 kB / 0.7732 GB, free: 1.293 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4927/1.561, allocations: 1.632 MB / 0.7748 GB, free: 164.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/1.562, allocations: 1.114 MB / 0.7759 GB, free: 163.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001796/1.564, allocations: 207.5 kB / 0.7761 GB, free: 163.6 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/1.565, allocations: 454.4 kB / 0.7765 GB, free: 163.6 MB / 0.6511 GB Notification: Performance of SimCode: time 1.513e-06/1.565, allocations: 0 / 0.7765 GB, free: 163.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07573/1.641, allocations: 22.7 MB / 0.7987 GB, free: 160.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002311/1.641, allocations: 195.8 kB / 0.7989 GB, free: 160.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.323/4.964, allocations: 0 / 0.7989 GB, free: 160.3 MB / 0.6511 GB