Warning: Requested package Modelica of version 3.2.2, but this package was already loaded with version 3.2.1. You might experience problems if these versions are incompatible. Notification: Performance of loadModel(Buildings): time 3.256/3.256, allocations: 321 MB / 328.1 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.37e-05/2.389e-05, allocations: 4 kB / 403.9 MB, free: 416 kB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1571, allocations: 73.41 MB / 477.3 MB, free: 6.855 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4547/0.6119, allocations: 104.2 MB / 0.5679 GB, free: 15.56 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003324/0.6123, allocations: 90.03 kB / 0.568 GB, free: 15.51 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.04484/0.6571, allocations: 9.596 MB / 0.5774 GB, free: 7.324 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.046e-05/0.6572, allocations: 8 kB / 0.5774 GB, free: 7.316 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.003349/0.6606, allocations: 0.9507 MB / 0.5783 GB, free: 6.348 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.91e-05/0.6606, allocations: 12.03 kB / 0.5783 GB, free: 6.336 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003268/0.661, allocations: 52.47 kB / 0.5784 GB, free: 6.285 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.6622, allocations: 435.5 kB / 0.5788 GB, free: 5.867 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.31e-05/0.6622, allocations: 16 kB / 0.5788 GB, free: 5.852 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.584e-05/0.6624, allocations: 23.98 kB / 0.5788 GB, free: 5.828 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009473/0.6633, allocations: 396.2 kB / 0.5792 GB, free: 5.559 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.6645, allocations: 0.5178 MB / 0.5797 GB, free: 5.121 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.6645, allocations: 4 kB / 0.5797 GB, free: 5.117 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.928e-05/0.6646, allocations: 0 / 0.5797 GB, free: 5.117 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.6646, allocations: 8 kB / 0.5797 GB, free: 5.109 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003949/0.6686, allocations: 1.578 MB / 0.5812 GB, free: 3.684 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.6704, allocations: 0.6804 MB / 0.5819 GB, free: 3.094 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005447/0.6709, allocations: 261.8 kB / 0.5822 GB, free: 2.883 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.219e-05/0.671, allocations: 11.98 kB / 0.5822 GB, free: 2.871 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009491/0.672, allocations: 448 kB / 0.5826 GB, free: 2.492 MB / 458.7 MB Notification: Performance of pre-optimization done (n=51): time 2.976e-06/0.672, allocations: 0 / 0.5826 GB, free: 2.492 MB / 458.7 MB Notification: Performance of matching and sorting (n=51): time 0.001523/0.6735, allocations: 0.5847 MB / 0.5832 GB, free: 2.02 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002424/0.6738, allocations: 280.9 kB / 0.5834 GB, free: 1.688 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005367/0.6744, allocations: 322.6 kB / 0.5837 GB, free: 1.418 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001134/0.6745, allocations: 41.62 kB / 0.5838 GB, free: 1.375 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.6747, allocations: 190.7 kB / 0.584 GB, free: 1.234 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.6749, allocations: 129.9 kB / 0.5841 GB, free: 1.125 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.675, allocations: 0 / 0.5841 GB, free: 1.125 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.6751, allocations: 353.5 kB / 0.5844 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004439/0.6756, allocations: 198.4 kB / 0.5846 GB, free: 0.6562 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006394/0.6763, allocations: 377.7 kB / 0.585 GB, free: 300 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005269/0.6768, allocations: 229 kB / 0.5852 GB, free: 128 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.6768, allocations: 0 / 0.5852 GB, free: 128 kB / 458.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001476/0.6783, allocations: 0.5529 MB / 0.5857 GB, free: 15.68 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.306e-05/0.6784, allocations: 34.14 kB / 0.5858 GB, free: 15.64 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.6784, allocations: 4 kB / 0.5858 GB, free: 15.63 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.031e-05/0.6785, allocations: 8 kB / 0.5858 GB, free: 15.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007719/0.6793, allocations: 112.3 kB / 0.5859 GB, free: 15.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.478e-05/0.6793, allocations: 19.86 kB / 0.5859 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008459/0.6802, allocations: 91.94 kB / 0.586 GB, free: 15.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.299e-05/0.6803, allocations: 23.8 kB / 0.586 GB, free: 15.39 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.triAndRes[1].uniDel1.firstTrigger,triAndRes[1].uniDel1.firstTrigger,$PRE.triAndRes[1].sam.firstTrigger,triAndRes[1].sam.firstTrigger,$whenCondition9,triAndRes[1].sam.sampleTrigger,$whenCondition10,triAndRes[1].uniDel1.sampleTrigger,$PRE.triAndRes[1].firstTrigger,triAndRes[1].firstTrigger,$whenCondition7,triAndRes[1].sampleTrigger,$PRE.triAndRes[2].uniDel1.firstTrigger,triAndRes[2].uniDel1.firstTrigger,$PRE.triAndRes[2].sam.firstTrigger,triAndRes[2].sam.firstTrigger,$whenCondition5,triAndRes[2].sam.sampleTrigger,$whenCondition6,triAndRes[2].uniDel1.sampleTrigger,triAndRes[2].incY.y,triAndRes[2].sam.y,$PRE.triAndRes[2].uniDel1.y,triAndRes[2].uniDel1.y,$PRE.triAndRes[2].firstTrigger,triAndRes[2].firstTrigger,$whenCondition4,triAndRes[2].sampleTrigger,$PRE.triAndRes[3].uniDel1.firstTrigger,triAndRes[3].uniDel1.firstTrigger,$PRE.triAndRes[3].sam.firstTrigger,triAndRes[3].sam.firstTrigger,$whenCondition2,triAndRes[3].sam.sampleTrigger,$whenCondition3,triAndRes[3].uniDel1.sampleTrigger,triAndRes[3].incY.y,triAndRes[3].sam.y,$PRE.triAndRes[3].uniDel1.y,triAndRes[3].uniDel1.y,$PRE.triAndRes[3].firstTrigger,triAndRes[3].firstTrigger,$whenCondition1,triAndRes[3].sampleTrigger,$whenCondition8,$PRE.act1.T_start,act1.T_start,$PRE.act1.count,act1.count,triAndRes[1].incY.y,triAndRes[1].sam.y,$PRE.triAndRes[1].uniDel1.y,triAndRes[1].uniDel1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0003331/0.6806, allocations: 167.5 kB / 0.5862 GB, free: 15.23 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001519/0.6821, allocations: 0.5826 MB / 0.5867 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.6823, allocations: 51.42 kB / 0.5868 GB, free: 14.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001709/0.6825, allocations: 49.08 kB / 0.5868 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.6825, allocations: 4 kB / 0.5868 GB, free: 14.67 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.6825, allocations: 4 kB / 0.5868 GB, free: 14.67 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.6826, allocations: 3.984 kB / 0.5869 GB, free: 14.66 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003056/0.6856, allocations: 1.642 MB / 0.5885 GB, free: 13.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.537e-05/0.6857, allocations: 4 kB / 0.5885 GB, free: 13.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006172/0.6863, allocations: 91.72 kB / 0.5885 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.615e-05/0.6864, allocations: 4 kB / 0.5886 GB, free: 13.13 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.985e-05/0.6864, allocations: 7.984 kB / 0.5886 GB, free: 13.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/0.6865, allocations: 4 kB / 0.5886 GB, free: 13.12 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.6865, allocations: 0 / 0.5886 GB, free: 13.12 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.6881, allocations: 1.115 MB / 0.5897 GB, free: 12.08 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000373/0.6885, allocations: 178.5 kB / 0.5898 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.6887, allocations: 7.984 kB / 0.5898 GB, free: 11.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/0.69, allocations: 126.5 kB / 0.5899 GB, free: 11.78 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/0.6901, allocations: 49.89 kB / 0.59 GB, free: 11.74 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.011e-05/0.6902, allocations: 18.67 kB / 0.59 GB, free: 11.73 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003708/0.6906, allocations: 248.5 kB / 0.5903 GB, free: 11.53 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6906, allocations: 0 / 0.5903 GB, free: 11.53 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001005/0.6916, allocations: 99.69 kB / 0.5903 GB, free: 11.43 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 39 (triAndRes[3].sampleTrigger,$whenCondition1,triAndRes[3].firstTrigger,triAndRes[3].uniDel1.sampleTrigger,triAndRes[3].sam.sampleTrigger,$whenCondition3,$whenCondition2,triAndRes[3].incY.y,triAndRes[3].sam.firstTrigger,triAndRes[3].sam.y,triAndRes[3].uniDel1.firstTrigger,triAndRes[3].uniDel1.y,triAndRes[2].sampleTrigger,$whenCondition4,triAndRes[2].firstTrigger,triAndRes[2].uniDel1.sampleTrigger,triAndRes[2].sam.sampleTrigger,$whenCondition6,$whenCondition5,triAndRes[2].incY.y,triAndRes[2].sam.firstTrigger,triAndRes[2].sam.y,triAndRes[2].uniDel1.firstTrigger,triAndRes[2].uniDel1.y,triAndRes[1].sampleTrigger,$whenCondition7,triAndRes[1].firstTrigger,triAndRes[1].uniDel1.sampleTrigger,triAndRes[1].sam.sampleTrigger,$whenCondition10,$whenCondition9,$whenCondition8,act1.T_start,act1.count,triAndRes[1].incY.y,triAndRes[1].sam.firstTrigger,triAndRes[1].sam.y,triAndRes[1].uniDel1.firstTrigger,triAndRes[1].uniDel1.y) * Number of discrete states: 4 (act1.count,triAndRes[1].uniDel1.u,triAndRes[2].uniDel1.u,triAndRes[3].uniDel1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.002203/0.6939, allocations: 2.04 MB / 0.5923 GB, free: 9.473 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001249/0.6952, allocations: 0.5565 MB / 0.5929 GB, free: 9.035 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.6952, allocations: 4.188 kB / 0.5929 GB, free: 9.031 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006563/0.6959, allocations: 280.1 kB / 0.5932 GB, free: 8.824 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009656/0.6968, allocations: 51.48 kB / 0.5932 GB, free: 8.785 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002933/0.6998, allocations: 0.8666 MB / 0.594 GB, free: 7.984 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006517/0.7005, allocations: 0.917 MB / 0.5949 GB, free: 7.062 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005481/0.7011, allocations: 111.2 kB / 0.595 GB, free: 6.953 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003197/0.7014, allocations: 137.6 kB / 0.5952 GB, free: 6.906 MB / 474.7 MB Notification: Performance of SimCode: time 3.016e-06/0.7014, allocations: 0 / 0.5952 GB, free: 6.906 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06011/0.7615, allocations: 8.419 MB / 0.6034 GB, free: 14.55 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.004253/0.7659, allocations: 172.7 kB / 0.6036 GB, free: 14.36 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.956/3.722, allocations: 7.438 kB / 0.6036 GB, free: 14.36 MB / 490.7 MB