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.002608/0.002608, allocations: 362.2 kB / 17.21 MB, free: 4.93 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 4.017/4.017, allocations: 388.9 MB / 406.8 MB, free: 11.98 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.003698/0.003697, allocations: 233.6 kB / 452.3 MB, free: 14.57 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.7872/0.7872, allocations: 76 MB / 0.56 GB, free: 177.7 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006266/0.0006269, allocations: 8 kB / 0.6222 GB, free: 114.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09834/0.099, allocations: 53.24 MB / 0.6742 GB, free: 60.96 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.007847/0.1069, allocations: 6.51 MB / 0.6806 GB, free: 54.42 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004963/0.1119, allocations: 2.242 MB / 0.6828 GB, free: 52.17 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006904/0.1127, allocations: 47.69 kB / 0.6828 GB, free: 52.12 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004102/0.1131, allocations: 127 kB / 0.6829 GB, free: 52 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001575/0.1147, allocations: 469.5 kB / 0.6834 GB, free: 51.54 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.1162, allocations: 391 kB / 0.6838 GB, free: 51.15 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001473/0.1177, allocations: 1.158 MB / 0.6849 GB, free: 49.99 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001806/0.1195, allocations: 0.7767 MB / 0.6856 GB, free: 49.19 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000804/0.1204, allocations: 338.5 kB / 0.686 GB, free: 48.86 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008929/0.1213, allocations: 0.522 MB / 0.6865 GB, free: 48.34 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.147e-05/0.1214, allocations: 28 kB / 0.6865 GB, free: 48.31 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005178/0.1219, allocations: 147.7 kB / 0.6866 GB, free: 48.16 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003912/0.1223, allocations: 399 kB / 0.687 GB, free: 47.77 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002139/0.1225, allocations: 173.3 kB / 0.6872 GB, free: 47.6 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009317/0.1235, allocations: 0.752 MB / 0.6879 GB, free: 46.84 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.1235, allocations: 0 / 0.6879 GB, free: 46.84 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1235, allocations: 4 kB / 0.6879 GB, free: 46.84 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.683e-05/0.1236, allocations: 0 / 0.6879 GB, free: 46.84 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.002252/0.1258, allocations: 0.9272 MB / 0.6888 GB, free: 45.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.1259, allocations: 8.031 kB / 0.6888 GB, free: 45.86 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.127, allocations: 158.8 kB / 0.689 GB, free: 45.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.1281, allocations: 0.4961 MB / 0.6895 GB, free: 45.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.554e-05/0.1282, allocations: 61.94 kB / 0.6895 GB, free: 45.1 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.1284, allocations: 75.94 kB / 0.6896 GB, free: 45.02 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002048/0.1304, allocations: 1.118 MB / 0.6907 GB, free: 43.8 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.846e-05/0.1305, allocations: 11.94 kB / 0.6907 GB, free: 43.79 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.1306, allocations: 35.97 kB / 0.6907 GB, free: 43.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.689e-05/0.1307, allocations: 49.98 kB / 0.6908 GB, free: 43.7 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001864/0.1326, allocations: 0.8467 MB / 0.6916 GB, free: 42.85 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006597/0.1392, allocations: 5.04 MB / 0.6965 GB, free: 37.58 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.1403, allocations: 412.8 kB / 0.6969 GB, free: 37.16 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000431/0.1407, allocations: 222.3 kB / 0.6971 GB, free: 36.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.032e-05/0.1408, allocations: 11.97 kB / 0.6972 GB, free: 36.92 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.1409, allocations: 42.34 kB / 0.6972 GB, free: 36.87 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 4.529e-06/0.1409, allocations: 3.938 kB / 0.6972 GB, free: 36.87 MB / 442.7 MB Internal error: BackendDAEEXT.getAssignment failed because n=43>arrayLength(ass1)=43 or m=67>arrayLength(ass2)=43 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!