Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Introductory.Units.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Introductory.Units") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00266/0.002666, allocations: 364.7 kB / 17.21 MB, free: 4.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.937/3.937, allocations: 388.9 MB / 406.8 MB, free: 11.91 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003618/0.003618, allocations: 239.3 kB / 452.2 MB, free: 14.51 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7518/0.7518, allocations: 76.02 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006109/0.0006113, allocations: 19.98 kB / 0.6222 GB, free: 114.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09563/0.09627, allocations: 53.22 MB / 0.6742 GB, free: 60.86 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4559/0.5522, allocations: 94.43 MB / 0.7664 GB, free: 81.74 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/0.5526, allocations: 87.52 kB / 0.7665 GB, free: 81.74 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07545/0.6281, allocations: 19.23 MB / 0.7853 GB, free: 77.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.6281, allocations: 0 / 0.7853 GB, free: 77.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.993e-05/0.6282, allocations: 15.38 kB / 0.7853 GB, free: 77.59 MB / 442.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.002557/0.6308, allocations: 0.9492 MB / 0.7862 GB, free: 76.89 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.6308, allocations: 11.44 kB / 0.7862 GB, free: 76.89 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.632, allocations: 143 kB / 0.7864 GB, free: 76.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001907/0.6339, allocations: 0.6489 MB / 0.787 GB, free: 76.44 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-05/0.634, allocations: 62.42 kB / 0.7871 GB, free: 76.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001804/0.6342, allocations: 74.28 kB / 0.7871 GB, free: 76.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002208/0.6364, allocations: 1.114 MB / 0.7882 GB, free: 75.91 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.695e-05/0.6365, allocations: 7.594 kB / 0.7882 GB, free: 75.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.6366, allocations: 31.03 kB / 0.7883 GB, free: 75.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.891e-05/0.6367, allocations: 54.52 kB / 0.7883 GB, free: 75.9 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/0.6386, allocations: 0.7972 MB / 0.7891 GB, free: 75.74 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006686/0.6453, allocations: 5.003 MB / 0.794 GB, free: 71.95 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.6464, allocations: 406.7 kB / 0.7944 GB, free: 71.84 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004306/0.6468, allocations: 218.4 kB / 0.7946 GB, free: 71.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.664e-05/0.6469, allocations: 15.14 kB / 0.7946 GB, free: 71.79 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.6469, allocations: 38.11 kB / 0.7946 GB, free: 71.75 MB / 442.7 MB Notification: Performance of pre-optimization done (n=47): time 3.947e-06/0.647, allocations: 4 kB / 0.7946 GB, free: 71.75 MB / 442.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!