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.0014/0.001405, allocations: 186.1 kB / 16.38 MB, free: 5.598 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 1.787/1.787, allocations: 194.5 MB / 211.6 MB, free: 7.613 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00198/0.00198, allocations: 124.5 kB / 256.9 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.2412/0.2412, allocations: 38.02 MB / 340.1 MB, free: 13.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004558/0.000456, allocations: 15.81 kB / 403.8 MB, free: 55.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06937/0.06985, allocations: 53.23 MB / 457 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.005973/0.07587, allocations: 6.241 MB / 463.3 MB, free: 4.094 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003596/0.07951, allocations: 2.258 MB / 465.5 MB, free: 1.828 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004177/0.07995, allocations: 43.69 kB / 465.6 MB, free: 1.785 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.08026, allocations: 135 kB / 465.7 MB, free: 1.652 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000882/0.08116, allocations: 374.8 kB / 466 MB, free: 1.285 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.08218, allocations: 387.2 kB / 466.4 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004906/0.0827, allocations: 471.9 kB / 466.9 MB, free: 456 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001494/0.0842, allocations: 0.7767 MB / 467.7 MB, free: 15.65 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004953/0.08472, allocations: 294.9 kB / 468 MB, free: 15.36 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005715/0.08531, allocations: 355 kB / 468.3 MB, free: 15.01 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.572e-05/0.08541, allocations: 32 kB / 468.3 MB, free: 14.98 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003923/0.08582, allocations: 143.8 kB / 468.5 MB, free: 14.84 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000449/0.08628, allocations: 359.2 kB / 468.8 MB, free: 14.49 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002158/0.08651, allocations: 165.3 kB / 469 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009714/0.0875, allocations: 0.7481 MB / 469.7 MB, free: 13.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.122e-06/0.08752, allocations: 0 / 469.7 MB, free: 13.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.451e-06/0.08753, allocations: 0 / 469.7 MB, free: 13.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.08755, allocations: 0 / 469.7 MB, free: 13.57 MB / 314.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.001851/0.08941, allocations: 0.9312 MB / 470.7 MB, free: 12.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.08946, allocations: 12.02 kB / 470.7 MB, free: 12.58 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00088/0.09035, allocations: 150.9 kB / 470.8 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.09138, allocations: 0.5039 MB / 471.3 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.496e-05/0.09146, allocations: 54 kB / 471.4 MB, free: 11.83 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/0.09164, allocations: 79.86 kB / 471.5 MB, free: 11.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002088/0.09374, allocations: 1.118 MB / 472.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.334e-05/0.09379, allocations: 3.938 kB / 472.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.785e-05/0.0939, allocations: 32 kB / 472.6 MB, free: 10.49 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.845e-05/0.094, allocations: 49.98 kB / 472.7 MB, free: 10.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/0.09586, allocations: 0.8545 MB / 473.5 MB, free: 9.582 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007183/0.1031, allocations: 5.048 MB / 478.6 MB, free: 4.305 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009446/0.104, allocations: 422.8 kB / 479 MB, free: 3.875 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.772e-05/0.1041, allocations: 8.734 kB / 479 MB, free: 3.867 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.1042, allocations: 46.45 kB / 479 MB, free: 3.812 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 3.996e-06/0.1042, allocations: 3.938 kB / 479 MB, free: 3.809 MB / 314.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!