Running command: "" <> buildModelFMU(Buildings.Controls.Predictors.Validation.SineInput,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Predictors_Validation_SineInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.004/4.004, allocations: 432.7 MB / 444.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.195e-05/4.203e-05, allocations: 4.781 kB / 0.5338 GB, free: 12.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2015, allocations: 98.72 MB / 0.6302 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2575/0.4591, allocations: 131.6 MB / 0.7587 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003589/0.4595, allocations: 79.95 kB / 0.7588 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.6308/1.09, allocations: 23.16 MB / 0.7814 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.954e-06/1.09, allocations: 3.812 kB / 0.7814 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001046/1.09, allocations: 66 kB / 0.7815 GB, free: 133.3 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1091 * Number of variables: 1091 Notification: Performance of Generate backend data structure: time 0.008963/1.099, allocations: 3.567 MB / 0.7849 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/1.1, allocations: 14.28 kB / 0.785 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001137/1.101, allocations: 498 kB / 0.7854 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/1.102, allocations: 356.8 kB / 0.7858 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003428/1.105, allocations: 1.106 MB / 0.7868 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002475/1.105, allocations: 241.5 kB / 0.7871 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006459/1.106, allocations: 362.1 kB / 0.7874 GB, free: 131.5 MB / 0.6511 GB Error: An independent subset of the model has imbalanced number of equations (1054) and variables (17). variables: baseLoad.EHisAve baseLoad.EActAve baseLoad._typeOfDay[1] baseLoad.iSam[12] baseLoad.iSam[11] baseLoad.iSam[10] baseLoad.iSam[9] baseLoad.iSam[8] baseLoad.iSam[7] baseLoad.iSam[6] baseLoad.iSam[5] baseLoad.iSam[4] baseLoad.iSam[3] baseLoad.iSam[2] baseLoad.iSam[1] baseLoad.sampleTrigger baseLoad.adj equations: 1 : baseLoad.sampleTrigger = sample(1, baseLoad.samStart, 3600.0) 2 : algorithm when baseLoad.sampleTrigger then for i in 1:baseLoad.nPre loop baseLoad.iSam[i] := Buildings.Controls.Predictors.ElectricalLoad$baseLoad.incrementIndex(baseLoad.iSam[i], baseLoad.nSam); end for; baseLoad.adj := 1.0; baseLoad.PPreHisSet[baseLoad._typeOfDay[1],Buildings.Controls.Predictors.ElectricalLoad$baseLoad.getIndex(baseLoad.iSam[1], baseLoad.nSam)] := false; baseLoad.PPreHis[baseLoad._typeOfDay[1],Buildings.Controls.Predictors.ElectricalLoad$baseLoad.getIndex(baseLoad.iSam[1], baseLoad.nSam)] := 0.0; baseLoad.EHisAve := 0.0; baseLoad.EActAve := 0.0; for i in 1:12 loop baseLoad.iSam[i] := Buildings.Controls.Predictors.ElectricalLoad$baseLoad.incrementIndex(baseLoad.iSam[i], 24); end for; end when; Notification: Performance of preOpt clockPartitioning (simulation) : time 0.001111/1.107, allocations: 416.4 kB / 0.7878 GB, free: 131.4 MB / 0.6511 GB Error: pre-optimization module clockPartitioning (simulation) failed.