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: translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter_SI.i.1.|meter_SI.i.2.|meter_SI.i.3.|meter_SI.p.1.|meter_SI.p.2.|meter_SI.p.3.|meter_SI.v.1.|meter_SI.v.2.|meter_SI.v.3.|meter_pu.i.1.|meter_pu.i.2.|meter_pu.i.3.|meter_pu.p.1.|meter_pu.p.2.|meter_pu.p.3.|meter_pu.v.1.|meter_pu.v.2.|meter_pu.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter_SI.i.1.|meter_SI.i.2.|meter_SI.i.3.|meter_SI.p.1.|meter_SI.p.2.|meter_SI.p.3.|meter_SI.v.1.|meter_SI.v.2.|meter_SI.v.3.|meter_pu.i.1.|meter_pu.i.2.|meter_pu.i.3.|meter_pu.p.1.|meter_pu.p.2.|meter_pu.p.3.|meter_pu.v.1.|meter_pu.v.2.|meter_pu.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009527/0.0009528, allocations: 181.3 kB / 16.39 MB, free: 5.766 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.446/1.446, 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.001059/0.001059, allocations: 89.33 kB / 270.8 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.1728/0.1728, allocations: 38.07 MB / 357.2 MB, free: 1.875 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.000346, allocations: 8 kB / 424 MB, free: 37.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3467, allocations: 56.31 MB / 480.3 MB, free: 9.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.151/0.4977, allocations: 99.41 MB / 0.5661 GB, free: 3.008 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/0.4981, allocations: 79.97 kB / 0.5662 GB, free: 2.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05246/0.5506, allocations: 19.31 MB / 0.5851 GB, free: 15.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5506, allocations: 0 / 0.5851 GB, free: 15.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.828e-05/0.5507, allocations: 16 kB / 0.5851 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.002131/0.5528, allocations: 0.9592 MB / 0.586 GB, free: 14.37 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.5529, allocations: 8.031 kB / 0.586 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006266/0.5535, allocations: 134.9 kB / 0.5861 GB, free: 14.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001984/0.5555, allocations: 0.8743 MB / 0.587 GB, free: 13.31 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.365e-05/0.5556, allocations: 57.98 kB / 0.5871 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.5557, allocations: 79.94 kB / 0.5871 GB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.5573, allocations: 1.095 MB / 0.5882 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/0.5574, allocations: 7.938 kB / 0.5882 GB, free: 11.97 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.519e-05/0.5575, allocations: 36 kB / 0.5882 GB, free: 11.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.017e-05/0.5575, allocations: 49.98 kB / 0.5883 GB, free: 11.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.5587, allocations: 0.7999 MB / 0.5891 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005346/0.5641, allocations: 5 MB / 0.5939 GB, free: 5.848 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006713/0.5648, allocations: 405.9 kB / 0.5943 GB, free: 5.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.542e-05/0.5649, allocations: 12.38 kB / 0.5943 GB, free: 5.418 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.5649, allocations: 39 kB / 0.5944 GB, free: 5.371 MB / 426.7 MB Notification: Performance of pre-optimization done (n=47): time 2.955e-06/0.5649, allocations: 4 kB / 0.5944 GB, free: 5.367 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!