Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Enable_FreProSta",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.449/4.449, allocations: 464.6 MB / 476.8 MB, free: 2.191 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.572e-05/3.577e-05, allocations: 4 kB / 0.5733 GB, free: 5.527 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2382, allocations: 107.2 MB / 0.6779 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8802/1.118, allocations: 136.2 MB / 0.8109 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/1.119, allocations: 85.83 kB / 0.811 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04282/1.162, allocations: 11.79 MB / 0.8225 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.785e-06/1.162, allocations: 3.938 kB / 0.8225 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.969e-05/1.162, allocations: 19.38 kB / 0.8226 GB, free: 10.21 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.003641/1.165, allocations: 0.8462 MB / 0.8234 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.329e-05/1.166, allocations: 7.656 kB / 0.8234 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005357/1.166, allocations: 131 kB / 0.8235 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003761/1.167, allocations: 92.36 kB / 0.8236 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/1.168, allocations: 488.1 kB / 0.8241 GB, free: 9.164 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003231/1.168, allocations: 112.2 kB / 0.8242 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003642/1.169, allocations: 92.95 kB / 0.8243 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003296/1.172, allocations: 0.8623 MB / 0.8251 GB, free: 8.836 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.264e-05/1.172, allocations: 11.77 kB / 0.8251 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001692/1.172, allocations: 39.19 kB / 0.8251 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.984e-05/1.173, allocations: 19.38 kB / 0.8252 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00251/1.175, allocations: 0.5582 MB / 0.8257 GB, free: 8.789 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00806/1.183, allocations: 3.198 MB / 0.8288 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002039/1.185, allocations: 0.5405 MB / 0.8294 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008772/1.186, allocations: 255.6 kB / 0.8296 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.315e-05/1.186, allocations: 8.375 kB / 0.8296 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00131/1.188, allocations: 389.5 kB / 0.83 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=65): time 5.921e-06/1.188, allocations: 0 / 0.83 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of matching and sorting (n=65): time 0.002477/1.19, allocations: 0.6199 MB / 0.8306 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.294e-05/1.19, allocations: 67.03 kB / 0.8307 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/1.191, allocations: 450 kB / 0.8311 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003021/1.192, allocations: 60.66 kB / 0.8311 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004766/1.192, allocations: 320 kB / 0.8314 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003594/1.193, allocations: 144.6 kB / 0.8316 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.581e-05/1.193, allocations: 16.84 kB / 0.8316 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0004684/1.193, allocations: 371 kB / 0.832 GB, free: 21.56 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/1.194, allocations: 211.3 kB / 0.8322 GB, free: 21.56 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/1.196, allocations: 461 kB / 0.8326 GB, free: 21.25 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/1.197, allocations: 222.9 kB / 0.8328 GB, free: 21.21 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.618e-05/1.197, allocations: 3.781 kB / 0.8328 GB, free: 21.21 MB / 0.6511 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.0031/1.2, allocations: 0.6945 MB / 0.8335 GB, free: 21.04 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.273e-05/1.2, allocations: 12.03 kB / 0.8335 GB, free: 21.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.522e-05/1.2, allocations: 7.844 kB / 0.8335 GB, free: 21.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.559e-05/1.2, allocations: 15.47 kB / 0.8335 GB, free: 21.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/1.201, allocations: 100.8 kB / 0.8336 GB, free: 21.01 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-05/1.202, allocations: 19.17 kB / 0.8336 GB, free: 21 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/1.203, allocations: 74.02 kB / 0.8337 GB, free: 20.97 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/1.203, allocations: 38.19 kB / 0.8337 GB, free: 20.97 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 83 ($PRE.enaDis.truFalHol.onDel1.u,$PRE.enaDis.truFalHol.onDel2.u,$PRE.enaDis.truFalHol.toTrue.enableFire,$PRE.enaDis.truFalHol.toFalse.enableFire,$PRE.enaDis.truFalHol.toTrue1.enableFire,$PRE.enaDis.truFalHol.toFalse1.enableFire,$PRE.enaDis.delOutDamOsc.u,$PRE.enaDis.delRetDam.u,$whenCondition13,$whenCondition10,$PRE.enaDis.delRetDam.t_next,$whenCondition7,$PRE.enaDis.delOutDamOsc.t_next,$whenCondition4,$PRE.enaDis.truFalHol.onDel2.t_next,$whenCondition1,$PRE.enaDis.truFalHol.onDel1.t_next,enaDis.delRetDam.t_next,enaDis.delOutDamOsc.t_next,enaDis.truFalHol.onDel2.t_next,enaDis.truFalHol.onDel1.t_next,enaDis.truFalHol.stateGraphRoot.resume,enaDis.truFalHol.stateGraphRoot.suspend,$whenCondition11,$whenCondition12,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,enaDis.uFreProSta,enaDis.truFalHol.u,enaDis.truFalHol.onDel1.u,enaDis.truFalHol.onDel1.y,enaDis.truFalHol.onDel2.u,enaDis.truFalHol.onDel2.y,enaDis.truFalHol.stateGraphRoot.activeSteps,$PRE.enaDis.truFalHol.outputFalse.localActive,enaDis.truFalHol.outputFalse.localActive,enaDis.truFalHol.outputFalse.inPort[2].occupied,$PRE.enaDis.truFalHol.outputFalse.newActive,enaDis.truFalHol.outputFalse.newActive,$PRE.enaDis.truFalHol.outputFalse.oldActive,enaDis.truFalHol.outputFalse.oldActive,enaDis.truFalHol.outputFalse.active,enaDis.truFalHol.toTrue.enableFire,$PRE.enaDis.truFalHol.outputTrue.localActive,enaDis.truFalHol.outputTrue.localActive,enaDis.truFalHol.outputTrue.inPort[2].occupied,$PRE.enaDis.truFalHol.outputTrue.newActive,enaDis.truFalHol.outputTrue.newActive,$PRE.enaDis.truFalHol.outputTrue.oldActive,enaDis.truFalHol.outputTrue.oldActive,enaDis.truFalHol.outputTrue.active,enaDis.truFalHol.toFalse.enableFire,enaDis.truFalHol.and2.y,enaDis.truFalHol.and1.y,$PRE.enaDis.truFalHol.initialStep.localActive,enaDis.truFalHol.initialStep.localActive,enaDis.truFalHol.initialStep.outPort[2].available,$PRE.enaDis.truFalHol.initialStep.newActive,enaDis.truFalHol.initialStep.newActive,$PRE.enaDis.truFalHol.initialStep.oldActive,enaDis.truFalHol.initialStep.oldActive,enaDis.truFalHol.initialStep.active,enaDis.truFalHol.toTrue1.enableFire,enaDis.truFalHol.toFalse1.enableFire,enaDis.andEnaDis.u1,enaDis.andEnaDis.u2,$PRE.enaDis.hysOutTem.y,enaDis.hysOutTem.y,enaDis.and2.y,enaDis.and3.y,enaDis.delOutDamOsc.u,enaDis.delOutDamOsc.y,enaDis.delRetDam.u,enaDis.delRetDam.y,$PRE.enaDis.hysOutEnt.y,enaDis.hysOutEnt.y,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 110 * 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.00047/1.203, allocations: 207.4 kB / 0.8339 GB, free: 20.82 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/1.204, allocations: 70.28 kB / 0.834 GB, free: 20.78 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002613/1.206, allocations: 0.6839 MB / 0.8347 GB, free: 20.64 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/1.206, allocations: 7.719 kB / 0.8347 GB, free: 20.64 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/1.206, allocations: 0 / 0.8347 GB, free: 20.64 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/1.206, allocations: 7.984 kB / 0.8347 GB, free: 20.63 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005365/1.212, allocations: 1.739 MB / 0.8364 GB, free: 19.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/1.212, allocations: 0 / 0.8364 GB, free: 19.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003387/1.212, allocations: 31.03 kB / 0.8364 GB, free: 19.83 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.651e-05/1.212, allocations: 3.719 kB / 0.8364 GB, free: 19.83 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-05/1.212, allocations: 21.58 kB / 0.8364 GB, free: 19.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.047e-05/1.212, allocations: 3.469 kB / 0.8364 GB, free: 19.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/1.212, allocations: 4 kB / 0.8365 GB, free: 19.82 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002361/1.215, allocations: 0.7495 MB / 0.8372 GB, free: 19.58 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002551/1.215, allocations: 131 kB / 0.8373 GB, free: 19.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002112/1.215, allocations: 21.7 kB / 0.8373 GB, free: 19.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007431/1.216, allocations: 36.09 kB / 0.8374 GB, free: 19.43 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003342/1.216, allocations: 88.17 kB / 0.8374 GB, free: 19.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/1.216, allocations: 29.55 kB / 0.8375 GB, free: 19.39 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000692/1.217, allocations: 294.8 kB / 0.8378 GB, free: 19.29 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.81e-07/1.217, allocations: 0 / 0.8378 GB, free: 19.29 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001365/1.219, allocations: 148.7 kB / 0.8379 GB, free: 19.28 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 62 (enaDis.delRetDam.u,enaDis.delOutDamOsc.u,enaDis.truFalHol.initialStep.active,enaDis.truFalHol.onDel2.u,enaDis.truFalHol.outputTrue.localActive,enaDis.truFalHol.outputTrue.active,enaDis.truFalHol.onDel1.u,enaDis.truFalHol.outputFalse.localActive,enaDis.truFalHol.outputFalse.active,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,enaDis.uFreProSta,enaDis.truFalHol.u,enaDis.truFalHol.onDel1.y,enaDis.truFalHol.onDel1.t_next,enaDis.truFalHol.onDel2.y,enaDis.truFalHol.onDel2.t_next,enaDis.truFalHol.stateGraphRoot.activeSteps,enaDis.truFalHol.outputFalse.inPort[2].occupied,enaDis.truFalHol.outputFalse.newActive,enaDis.truFalHol.outputFalse.oldActive,enaDis.truFalHol.toTrue.enableFire,enaDis.truFalHol.outputTrue.inPort[2].occupied,enaDis.truFalHol.outputTrue.newActive,enaDis.truFalHol.outputTrue.oldActive,enaDis.truFalHol.toFalse.enableFire,enaDis.truFalHol.and2.y,enaDis.truFalHol.and1.y,enaDis.truFalHol.initialStep.localActive,enaDis.truFalHol.initialStep.outPort[2].available,enaDis.truFalHol.initialStep.newActive,enaDis.truFalHol.initialStep.oldActive,enaDis.truFalHol.toTrue1.enableFire,enaDis.truFalHol.toFalse1.enableFire,enaDis.andEnaDis.u1,enaDis.andEnaDis.u2,enaDis.hysOutTem.y,enaDis.and2.y,enaDis.and3.y,enaDis.delOutDamOsc.y,enaDis.delOutDamOsc.t_next,enaDis.delRetDam.y,enaDis.delRetDam.t_next,enaDis.hysOutEnt.y,booPul1.y,booPul1.pulseStart) * Number of discrete states: 9 (enaDis.delRetDam.t_next,enaDis.delOutDamOsc.t_next,enaDis.truFalHol.onDel2.t_next,enaDis.truFalHol.onDel1.t_next,enaDis.truFalHol.outputFalse.newActive,enaDis.truFalHol.outputTrue.newActive,enaDis.truFalHol.initialStep.newActive,enaDis.hysOutTem.y,enaDis.hysOutEnt.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.003048/1.222, allocations: 1.362 MB / 0.8392 GB, free: 18.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002268/1.224, allocations: 0.5813 MB / 0.8398 GB, free: 18.45 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/1.224, allocations: 4.438 kB / 0.8398 GB, free: 18.45 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/1.225, allocations: 332.7 kB / 0.8401 GB, free: 18.42 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/1.226, allocations: 82.41 kB / 0.8402 GB, free: 18.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004405/1.231, allocations: 0.969 MB / 0.8411 GB, free: 18 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008366/1.232, allocations: 0.9282 MB / 0.8421 GB, free: 17.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0007856/1.232, allocations: 83.52 kB / 0.8421 GB, free: 17.16 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007391/1.233, allocations: 249.1 kB / 0.8424 GB, free: 17.13 MB / 0.6511 GB Notification: Performance of SimCode: time 1.683e-06/1.233, allocations: 4 kB / 0.8424 GB, free: 17.12 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08501/1.318, allocations: 12.21 MB / 0.8543 GB, free: 6.891 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000489/1.319, allocations: 223.9 kB / 0.8545 GB, free: 6.664 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.331/4.65, allocations: 0 / 0.8545 GB, free: 6.664 MB / 0.6511 GB