Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TrueHoldWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.191/4.191, allocations: 464.6 MB / 476.8 MB, free: 2.121 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.905e-05/4.92e-05, allocations: 4 kB / 0.5732 GB, free: 5.609 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.262, allocations: 107.2 MB / 0.6779 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8782/1.14, allocations: 133.7 MB / 0.8084 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/1.141, allocations: 77.86 kB / 0.8085 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04901/1.19, allocations: 13.9 MB / 0.8221 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.064e-06/1.19, allocations: 0 / 0.8221 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.865e-05/1.19, allocations: 27.28 kB / 0.8221 GB, free: 9.812 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003068/1.193, allocations: 1.034 MB / 0.8231 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/1.193, allocations: 7.75 kB / 0.8231 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003967/1.193, allocations: 158.1 kB / 0.8233 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003086/1.194, allocations: 116.2 kB / 0.8234 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/1.195, allocations: 0.5204 MB / 0.8239 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000297/1.195, allocations: 228.7 kB / 0.8241 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002441/1.195, allocations: 123.3 kB / 0.8242 GB, free: 8.469 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002612/1.198, allocations: 1.155 MB / 0.8254 GB, free: 8.004 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.098e-05/1.198, allocations: 3.938 kB / 0.8254 GB, free: 8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000148/1.198, allocations: 50.14 kB / 0.8254 GB, free: 7.992 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.007e-05/1.198, allocations: 31.05 kB / 0.8254 GB, free: 7.988 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00196/1.2, allocations: 0.6923 MB / 0.8261 GB, free: 7.934 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007188/1.207, allocations: 4.987 MB / 0.831 GB, free: 20.28 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/1.209, allocations: 0.6406 MB / 0.8316 GB, free: 20.14 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007332/1.21, allocations: 340.6 kB / 0.8319 GB, free: 20.09 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.72e-05/1.21, allocations: 15.39 kB / 0.8319 GB, free: 20.09 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001111/1.211, allocations: 0.5061 MB / 0.8324 GB, free: 19.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=92): time 4.148e-06/1.211, allocations: 0 / 0.8324 GB, free: 19.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=92): time 0.001993/1.213, allocations: 0.758 MB / 0.8332 GB, free: 19.75 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/1.213, allocations: 159 kB / 0.8333 GB, free: 19.58 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000657/1.214, allocations: 429.3 kB / 0.8337 GB, free: 19.39 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002101/1.214, allocations: 81.88 kB / 0.8338 GB, free: 19.35 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003326/1.214, allocations: 391 kB / 0.8342 GB, free: 19.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002367/1.215, allocations: 213.7 kB / 0.8344 GB, free: 18.98 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.652e-05/1.215, allocations: 26.28 kB / 0.8344 GB, free: 18.98 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001846/1.215, allocations: 380.8 kB / 0.8348 GB, free: 18.64 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007684/1.216, allocations: 284.4 kB / 0.8351 GB, free: 18.64 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009495/1.217, allocations: 0.7072 MB / 0.8357 GB, free: 18.07 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008354/1.218, allocations: 349 kB / 0.8361 GB, free: 18 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.184e-05/1.218, allocations: 3.844 kB / 0.8361 GB, free: 18 MB / 0.6511 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.002386/1.22, allocations: 1.022 MB / 0.8371 GB, free: 17.77 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/1.22, allocations: 14.03 kB / 0.8371 GB, free: 17.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.31e-05/1.22, allocations: 15.59 kB / 0.8371 GB, free: 17.76 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.546e-05/1.22, allocations: 30.94 kB / 0.8371 GB, free: 17.76 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009966/1.221, allocations: 173.6 kB / 0.8373 GB, free: 17.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.743e-05/1.221, allocations: 30.97 kB / 0.8373 GB, free: 17.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009914/1.222, allocations: 125.8 kB / 0.8375 GB, free: 17.65 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/1.222, allocations: 63.48 kB / 0.8375 GB, free: 17.65 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 132 ($PRE.truHol.onDelay.u,$PRE.truHol.toOutputTrue.enableFire,$PRE.truHol.toInitial.enableFire,$PRE.truHol1.onDelay.u,$PRE.truHol1.toOutputTrue.enableFire,$PRE.truHol1.toInitial.enableFire,$PRE.truHol2.onDelay.u,$PRE.truHol2.toOutputTrue.enableFire,$PRE.truHol2.toInitial.enableFire,$PRE.truHol3.onDelay.u,$PRE.truHol3.toOutputTrue.enableFire,$PRE.truHol3.toInitial.enableFire,$whenCondition14,$PRE.truHol.onDelay.t_next,$whenCondition13,$whenCondition15,$whenCondition16,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,truHol.stateGraphRoot.activeSteps,truHol.onDelay.u,truHol.onDelay.y,$PRE.truHol.initialStep.localActive,truHol.initialStep.localActive,$PRE.truHol.initialStep.newActive,truHol.initialStep.newActive,$PRE.truHol.initialStep.oldActive,truHol.initialStep.oldActive,truHol.initialStep.active,$PRE.truHol.outputTrue.localActive,truHol.outputTrue.localActive,$PRE.truHol.outputTrue.newActive,truHol.outputTrue.newActive,$PRE.truHol.outputTrue.oldActive,truHol.outputTrue.oldActive,truHol.outputTrue.active,truHol.toOutputTrue.enableFire,truHol.toInitial.enableFire,truHol.onDelay.t_next,$whenCondition10,$PRE.truHol1.onDelay.t_next,$whenCondition9,$whenCondition11,$whenCondition12,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,truHol1.stateGraphRoot.activeSteps,truHol1.onDelay.u,truHol1.onDelay.y,$PRE.truHol1.initialStep.localActive,truHol1.initialStep.localActive,$PRE.truHol1.initialStep.newActive,truHol1.initialStep.newActive,$PRE.truHol1.initialStep.oldActive,truHol1.initialStep.oldActive,truHol1.initialStep.active,$PRE.truHol1.outputTrue.localActive,truHol1.outputTrue.localActive,$PRE.truHol1.outputTrue.newActive,truHol1.outputTrue.newActive,$PRE.truHol1.outputTrue.oldActive,truHol1.outputTrue.oldActive,truHol1.outputTrue.active,truHol1.toOutputTrue.enableFire,truHol1.toInitial.enableFire,truHol1.onDelay.t_next,$whenCondition6,$PRE.truHol2.onDelay.t_next,$whenCondition5,$whenCondition7,$whenCondition8,$PRE.booPul2.pulseStart,booPul2.pulseStart,truHol2.stateGraphRoot.activeSteps,truHol2.onDelay.u,truHol2.onDelay.y,$PRE.truHol2.initialStep.localActive,truHol2.initialStep.localActive,$PRE.truHol2.initialStep.newActive,truHol2.initialStep.newActive,$PRE.truHol2.initialStep.oldActive,truHol2.initialStep.oldActive,truHol2.initialStep.active,$PRE.truHol2.outputTrue.localActive,truHol2.outputTrue.localActive,$PRE.truHol2.outputTrue.newActive,truHol2.outputTrue.newActive,$PRE.truHol2.outputTrue.oldActive,truHol2.outputTrue.oldActive,truHol2.outputTrue.active,truHol2.toOutputTrue.enableFire,truHol2.toInitial.enableFire,not2.y,truHol2.onDelay.t_next,$whenCondition2,$PRE.truHol3.onDelay.t_next,$whenCondition1,$whenCondition3,$whenCondition4,$PRE.booPul3.pulseStart,booPul3.pulseStart,truHol3.stateGraphRoot.activeSteps,truHol3.onDelay.u,truHol3.onDelay.y,$PRE.truHol3.initialStep.localActive,truHol3.initialStep.localActive,$PRE.truHol3.initialStep.newActive,truHol3.initialStep.newActive,$PRE.truHol3.initialStep.oldActive,truHol3.initialStep.oldActive,truHol3.initialStep.active,$PRE.truHol3.outputTrue.localActive,truHol3.outputTrue.localActive,$PRE.truHol3.outputTrue.newActive,truHol3.outputTrue.newActive,$PRE.truHol3.outputTrue.oldActive,truHol3.outputTrue.oldActive,truHol3.outputTrue.active,truHol3.toOutputTrue.enableFire,truHol3.toInitial.enableFire,not3.y,truHol3.onDelay.t_next,truHol.stateGraphRoot.resume,truHol.stateGraphRoot.suspend,truHol1.stateGraphRoot.resume,truHol1.stateGraphRoot.suspend,truHol2.stateGraphRoot.resume,truHol2.stateGraphRoot.suspend,truHol3.stateGraphRoot.resume,truHol3.stateGraphRoot.suspend) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (176): * Single equations (assignments): 176 * 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.0004059/1.223, allocations: 266.6 kB / 0.8378 GB, free: 17.48 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/1.223, allocations: 61.81 kB / 0.8378 GB, free: 17.45 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002081/1.225, allocations: 0.8589 MB / 0.8387 GB, free: 17.27 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/1.225, allocations: 11.56 kB / 0.8387 GB, free: 17.27 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/1.225, allocations: 0 / 0.8387 GB, free: 17.27 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/1.225, allocations: 3.984 kB / 0.8387 GB, free: 17.27 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004371/1.23, allocations: 2.335 MB / 0.841 GB, free: 16.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/1.23, allocations: 7.797 kB / 0.841 GB, free: 16.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003511/1.23, allocations: 54.23 kB / 0.841 GB, free: 16.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.5e-05/1.23, allocations: 11.7 kB / 0.841 GB, free: 16.05 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.467e-05/1.23, allocations: 22.08 kB / 0.841 GB, free: 16.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.019e-05/1.23, allocations: 11.72 kB / 0.8411 GB, free: 16.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.23, allocations: 3.812 kB / 0.8411 GB, free: 16.04 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/1.232, allocations: 1.157 MB / 0.8422 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/1.232, allocations: 127.5 kB / 0.8423 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/1.232, allocations: 32.98 kB / 0.8423 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007385/1.233, allocations: 53.28 kB / 0.8424 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002999/1.233, allocations: 115.2 kB / 0.8425 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.613e-05/1.234, allocations: 40.58 kB / 0.8425 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003547/1.234, allocations: 235.8 kB / 0.8428 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.234, allocations: 0 / 0.8428 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001314/1.235, allocations: 198.7 kB / 0.843 GB, free: 15.18 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 88 (truHol3.onDelay.u,truHol3.outputTrue.localActive,truHol3.outputTrue.active,truHol3.initialStep.active,$cse7,$cse8,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,booPul3.pulseStart,truHol3.stateGraphRoot.activeSteps,truHol3.onDelay.y,truHol3.onDelay.t_next,truHol3.initialStep.localActive,truHol3.initialStep.newActive,truHol3.initialStep.oldActive,truHol3.outputTrue.newActive,truHol3.outputTrue.oldActive,truHol3.toOutputTrue.enableFire,truHol3.toInitial.enableFire,not3.y,truHol2.onDelay.u,truHol2.outputTrue.localActive,truHol2.outputTrue.active,truHol2.initialStep.active,$cse5,$cse6,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition5,booPul2.pulseStart,truHol2.stateGraphRoot.activeSteps,truHol2.onDelay.y,truHol2.onDelay.t_next,truHol2.initialStep.localActive,truHol2.initialStep.newActive,truHol2.initialStep.oldActive,truHol2.outputTrue.newActive,truHol2.outputTrue.oldActive,truHol2.toOutputTrue.enableFire,truHol2.toInitial.enableFire,not2.y,truHol1.onDelay.u,truHol1.outputTrue.localActive,truHol1.outputTrue.active,truHol1.initialStep.active,$cse3,$cse4,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition9,booPul1.y,booPul1.pulseStart,truHol1.stateGraphRoot.activeSteps,truHol1.onDelay.y,truHol1.onDelay.t_next,truHol1.initialStep.localActive,truHol1.initialStep.newActive,truHol1.initialStep.oldActive,truHol1.outputTrue.newActive,truHol1.outputTrue.oldActive,truHol1.toOutputTrue.enableFire,truHol1.toInitial.enableFire,truHol.onDelay.u,truHol.outputTrue.localActive,truHol.outputTrue.active,truHol.initialStep.active,$cse1,$cse2,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition13,booPul.y,booPul.pulseStart,truHol.stateGraphRoot.activeSteps,truHol.onDelay.y,truHol.onDelay.t_next,truHol.initialStep.localActive,truHol.initialStep.newActive,truHol.initialStep.oldActive,truHol.outputTrue.newActive,truHol.outputTrue.oldActive,truHol.toOutputTrue.enableFire,truHol.toInitial.enableFire) * Number of discrete states: 12 (truHol.onDelay.t_next,truHol.initialStep.newActive,truHol.outputTrue.newActive,truHol1.onDelay.t_next,truHol1.initialStep.newActive,truHol1.outputTrue.newActive,truHol2.onDelay.t_next,truHol2.initialStep.newActive,truHol2.outputTrue.newActive,truHol3.onDelay.t_next,truHol3.initialStep.newActive,truHol3.outputTrue.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 20 * 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.002548/1.238, allocations: 1.99 MB / 0.8449 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002047/1.24, allocations: 0.803 MB / 0.8457 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/1.24, allocations: 0 / 0.8457 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009682/1.241, allocations: 418.4 kB / 0.8461 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/1.242, allocations: 100.6 kB / 0.8462 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00384/1.246, allocations: 1.21 MB / 0.8474 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000696/1.247, allocations: 0.9956 MB / 0.8483 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000632/1.247, allocations: 112.6 kB / 0.8484 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005858/1.248, allocations: 313 kB / 0.8487 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of SimCode: time 1.082e-06/1.248, allocations: 0 / 0.8487 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05417/1.302, allocations: 14.68 MB / 0.8631 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002111/1.302, allocations: 171.9 kB / 0.8632 GB, free: 13.99 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.014/4.317, allocations: 0 / 0.8632 GB, free: 13.99 MB / 0.6667 GB