Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.Units.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.Units") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001512/0.001512, allocations: 182.5 kB / 15.76 MB, free: 6.344 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.161/2.161, allocations: 205.4 MB / 221.9 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 102.7 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2669/0.2669, allocations: 38.06 MB / 356.6 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000477/0.0004769, allocations: 12 kB / 422.7 MB, free: 26.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.11, allocations: 56.32 MB / 479 MB, free: 2.051 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5283/0.6383, allocations: 99.39 MB / 0.5649 GB, free: 0.5078 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003487/0.6388, allocations: 82.89 kB / 0.565 GB, free: 476 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09506/0.7338, allocations: 19.31 MB / 0.5838 GB, free: 15.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.015e-06/0.7339, allocations: 0 / 0.5838 GB, free: 15.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.077e-05/0.734, allocations: 23.98 kB / 0.5838 GB, free: 15.82 MB / 394.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.002948/0.7369, allocations: 0.9534 MB / 0.5848 GB, free: 14.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.737, allocations: 12.03 kB / 0.5848 GB, free: 14.85 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.7381, allocations: 134.9 kB / 0.5849 GB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003351/0.7415, allocations: 0.8719 MB / 0.5858 GB, free: 13.94 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.491e-05/0.7417, allocations: 63.36 kB / 0.5858 GB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002012/0.7419, allocations: 78.09 kB / 0.5859 GB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002751/0.7446, allocations: 1.1 MB / 0.587 GB, free: 12.92 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.855e-05/0.7447, allocations: 3.938 kB / 0.587 GB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.7449, allocations: 32.88 kB / 0.587 GB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001116/0.745, allocations: 45.61 kB / 0.5871 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002198/0.7472, allocations: 0.8095 MB / 0.5878 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008656/0.7559, allocations: 4.997 MB / 0.5927 GB, free: 7.582 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.7571, allocations: 401.4 kB / 0.5931 GB, free: 7.277 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.332e-05/0.7572, allocations: 12.19 kB / 0.5931 GB, free: 7.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.642e-05/0.7572, allocations: 43 kB / 0.5932 GB, free: 7.219 MB / 394.7 MB Notification: Performance of pre-optimization done (n=47): time 3.587e-06/0.7572, allocations: 0 / 0.5932 GB, free: 7.219 MB / 394.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!