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.002552/0.002556, allocations: 353.2 kB / 16.57 MB, free: 5.59 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.554/3.554, allocations: 388.9 MB / 406.2 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.003468/0.003468, allocations: 223.9 kB / 451.6 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.6648/0.6648, allocations: 76 MB / 0.5594 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004987/0.0004989, allocations: 16 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06785/0.06837, allocations: 53.23 MB / 0.6736 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.006086/0.07451, allocations: 6.521 MB / 0.68 GB, free: 54.27 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003326/0.07788, allocations: 2.238 MB / 0.6822 GB, free: 52.02 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003693/0.07827, allocations: 43.69 kB / 0.6822 GB, free: 51.98 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.07856, allocations: 127 kB / 0.6823 GB, free: 51.85 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009183/0.07949, allocations: 473.5 kB / 0.6828 GB, free: 51.39 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009485/0.08046, allocations: 391 kB / 0.6831 GB, free: 51 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009003/0.08138, allocations: 1.154 MB / 0.6843 GB, free: 49.85 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001334/0.08273, allocations: 0.7766 MB / 0.685 GB, free: 49.05 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003822/0.08313, allocations: 338.4 kB / 0.6854 GB, free: 48.71 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006106/0.08375, allocations: 0.5142 MB / 0.6859 GB, free: 48.2 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.682e-05/0.08385, allocations: 36 kB / 0.6859 GB, free: 48.16 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003472/0.08421, allocations: 155.7 kB / 0.686 GB, free: 48.01 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003219/0.08455, allocations: 391.1 kB / 0.6864 GB, free: 47.63 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.08472, allocations: 173.3 kB / 0.6866 GB, free: 47.45 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006527/0.08538, allocations: 0.7482 MB / 0.6873 GB, free: 46.7 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.322e-06/0.0854, allocations: 0 / 0.6873 GB, free: 46.7 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.159e-06/0.08541, allocations: 0 / 0.6873 GB, free: 46.7 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.08543, allocations: 0 / 0.6873 GB, free: 46.7 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.001452/0.0869, allocations: 0.9351 MB / 0.6882 GB, free: 45.72 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.08694, allocations: 8.828 kB / 0.6882 GB, free: 45.71 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008272/0.08778, allocations: 142.9 kB / 0.6884 GB, free: 45.57 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008074/0.0886, allocations: 0.5116 MB / 0.6889 GB, free: 45.01 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.888e-05/0.08867, allocations: 57.95 kB / 0.6889 GB, free: 44.96 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.08881, allocations: 80 kB / 0.689 GB, free: 44.88 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/0.0904, allocations: 1.114 MB / 0.6901 GB, free: 43.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.344e-05/0.09045, allocations: 7.922 kB / 0.6901 GB, free: 43.65 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.584e-05/0.09054, allocations: 36 kB / 0.6901 GB, free: 43.61 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.577e-05/0.09062, allocations: 49.98 kB / 0.6902 GB, free: 43.57 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.09213, allocations: 0.8545 MB / 0.691 GB, free: 42.71 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005004/0.09714, allocations: 5.044 MB / 0.6959 GB, free: 37.43 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007963/0.09796, allocations: 416.8 kB / 0.6963 GB, free: 37 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003471/0.09833, allocations: 206.3 kB / 0.6965 GB, free: 36.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.917e-05/0.09839, allocations: 23.91 kB / 0.6965 GB, free: 36.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.09843, allocations: 42.34 kB / 0.6966 GB, free: 36.72 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 3.285e-06/0.09844, allocations: 0 / 0.6966 GB, free: 36.72 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!