Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Units.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/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_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00119/0.00119, allocations: 179.6 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.283/1.283, allocations: 194.5 MB / 211.6 MB, free: 3.055 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001594/0.001594, allocations: 115 kB / 256.9 MB, free: 4.367 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1642/0.1642, allocations: 38 MB / 340.1 MB, free: 1.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003286/0.0003286, allocations: 12 kB / 403.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07941/0.07975, allocations: 53.22 MB / 457 MB, free: 15.57 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2979/0.3777, allocations: 94.42 MB / 0.5385 GB, free: 0.9375 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.3779, allocations: 86.81 kB / 0.5386 GB, free: 0.8945 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04945/0.4274, allocations: 19.29 MB / 0.5574 GB, free: 288 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4274, allocations: 0 / 0.5574 GB, free: 288 kB / 362.7 MB Notification: Performance of Transformations before backend: time 3.431e-05/0.4275, allocations: 16 kB / 0.5574 GB, free: 272 kB / 362.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.001685/0.4292, allocations: 0.9555 MB / 0.5584 GB, free: 15.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.4292, allocations: 12.02 kB / 0.5584 GB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006145/0.4299, allocations: 138.9 kB / 0.5585 GB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00191/0.4318, allocations: 0.8748 MB / 0.5594 GB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.209e-05/0.4318, allocations: 52.44 kB / 0.5594 GB, free: 14.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.432, allocations: 79.36 kB / 0.5595 GB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.4336, allocations: 1.104 MB / 0.5606 GB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/0.4336, allocations: 11.84 kB / 0.5606 GB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.19e-05/0.4337, allocations: 32.94 kB / 0.5606 GB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.735e-05/0.4338, allocations: 49.3 kB / 0.5607 GB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.4349, allocations: 0.7965 MB / 0.5614 GB, free: 12.72 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00495/0.4399, allocations: 5.009 MB / 0.5663 GB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005868/0.4405, allocations: 406.1 kB / 0.5667 GB, free: 7.715 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.401e-05/0.4405, allocations: 12.38 kB / 0.5667 GB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.4406, allocations: 38.38 kB / 0.5668 GB, free: 7.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 2.415e-06/0.4406, allocations: 0 / 0.5668 GB, free: 7.66 MB / 378.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!