Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001353/0.001353, allocations: 180.3 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.3+maint.om/package.mo): time 1.309/1.309, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008046/0.0008047, allocations: 94.62 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1679/0.1679, allocations: 38.07 MB / 357.2 MB, free: 1.883 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002883/0.0002884, allocations: 8 kB / 424 MB, free: 37.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2764, allocations: 56.32 MB / 480.3 MB, free: 9.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1339/0.4104, allocations: 101.7 MB / 0.5684 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.4106, allocations: 87.95 kB / 0.5685 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04125/0.4519, allocations: 15.76 MB / 0.5839 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.452, allocations: 0 / 0.5839 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.583e-05/0.452, allocations: 12 kB / 0.5839 GB, free: 0.6758 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001241/0.4532, allocations: 0.8298 MB / 0.5847 GB, free: 15.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.4533, allocations: 8.031 kB / 0.5847 GB, free: 15.78 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004202/0.4537, allocations: 91.2 kB / 0.5848 GB, free: 15.69 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.4552, allocations: 0.7097 MB / 0.5855 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.4552, allocations: 29 kB / 0.5855 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.809e-05/0.4553, allocations: 47.97 kB / 0.5855 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.4564, allocations: 0.8395 MB / 0.5864 GB, free: 13.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.4564, allocations: 0 / 0.5864 GB, free: 13.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.411e-05/0.4565, allocations: 27.94 kB / 0.5864 GB, free: 13.95 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001245/0.4566, allocations: 56.95 kB / 0.5864 GB, free: 13.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.4576, allocations: 0.7728 MB / 0.5872 GB, free: 13.12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003189/0.4608, allocations: 2.649 MB / 0.5898 GB, free: 10.35 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007673/0.4616, allocations: 0.5915 MB / 0.5904 GB, free: 9.738 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.4617, allocations: 8.047 kB / 0.5904 GB, free: 9.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.4617, allocations: 42.55 kB / 0.5904 GB, free: 9.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=60): time 1.793e-06/0.4617, allocations: 3.938 kB / 0.5904 GB, free: 9.676 MB / 426.7 MB Internal error: BackendDAEEXT.getAssignment failed because n=60>arrayLength(ass1)=60 or m=82>arrayLength(ass2)=60 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!