Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Units.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.Units,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_Units",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Units,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_Units",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001416/0.001416, allocations: 181.9 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.234/1.234, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008627/0.0008627, allocations: 100.2 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1609/0.1609, allocations: 38.07 MB / 357.2 MB, free: 1.883 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002904/0.0002904, allocations: 8 kB / 424.1 MB, free: 37.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2568, allocations: 56.33 MB / 480.4 MB, free: 9.555 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1246/0.3815, allocations: 99.4 MB / 0.5662 GB, free: 3.012 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/0.3818, allocations: 79.97 kB / 0.5663 GB, free: 2.934 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04783/0.4296, allocations: 19.32 MB / 0.5852 GB, free: 15.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4297, allocations: 0 / 0.5852 GB, free: 15.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.961e-05/0.4297, allocations: 20 kB / 0.5852 GB, free: 15.38 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001398/0.4311, allocations: 0.9594 MB / 0.5861 GB, free: 14.37 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.4311, allocations: 8.031 kB / 0.5861 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001417/0.4313, allocations: 135.1 kB / 0.5862 GB, free: 14.22 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005219/0.4318, allocations: 138.9 kB / 0.5864 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/0.4335, allocations: 0.8705 MB / 0.5872 GB, free: 13.17 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.712e-05/0.4336, allocations: 57.98 kB / 0.5873 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-05/0.4337, allocations: 83.86 kB / 0.5874 GB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.435, allocations: 1.091 MB / 0.5884 GB, free: 11.83 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.435, allocations: 7.938 kB / 0.5884 GB, free: 11.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.809e-05/0.4351, allocations: 32 kB / 0.5885 GB, free: 11.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-05/0.4352, allocations: 53.98 kB / 0.5885 GB, free: 11.74 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.4362, allocations: 0.8037 MB / 0.5893 GB, free: 10.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004402/0.4406, allocations: 4.996 MB / 0.5942 GB, free: 5.703 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005712/0.4412, allocations: 406 kB / 0.5946 GB, free: 5.285 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.4413, allocations: 12.38 kB / 0.5946 GB, free: 5.273 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.4413, allocations: 46.95 kB / 0.5946 GB, free: 5.219 MB / 426.7 MB Notification: Performance of pre-optimization done (n=47): time 2.174e-06/0.4413, allocations: 0 / 0.5946 GB, free: 5.219 MB / 426.7 MB Internal error: BackendDAEEXT.getAssignment failed because n=47>arrayLength(ass1)=47 or m=73>arrayLength(ass2)=47 Error: Internal error It is not possible to select continuous time states because Number of Equations 1 greater than number of States 0 to select from. Error: Internal error - IndexReduction.dynamicStateSelectionWork failed!