Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.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.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001033/0.001033, allocations: 180.7 kB / 16.38 MB, free: 5.762 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.161/1.161, allocations: 194.5 MB / 211.6 MB, free: 3.035 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.001595/0.001595, allocations: 124.4 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1613/0.1613, allocations: 38 MB / 340.1 MB, free: 1.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000403/0.000403, allocations: 16 kB / 403.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07561/0.07603, allocations: 53.23 MB / 457 MB, free: 15.57 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3141/0.3902, allocations: 96.68 MB / 0.5407 GB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.3904, allocations: 100 kB / 0.5408 GB, free: 14.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04178/0.4322, allocations: 15.73 MB / 0.5562 GB, free: 1.203 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4323, allocations: 0 / 0.5562 GB, free: 1.203 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.946e-05/0.4323, allocations: 11.98 kB / 0.5562 GB, free: 1.191 MB / 362.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.001546/0.4339, allocations: 0.8322 MB / 0.557 GB, free: 352 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.4339, allocations: 12.02 kB / 0.557 GB, free: 340 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005004/0.4344, allocations: 87.2 kB / 0.5571 GB, free: 252 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001632/0.4361, allocations: 0.7078 MB / 0.5578 GB, free: 15.6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.893e-05/0.4361, allocations: 35.75 kB / 0.5578 GB, free: 15.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.4362, allocations: 43.83 kB / 0.5579 GB, free: 15.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.4374, allocations: 0.8372 MB / 0.5587 GB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.4374, allocations: 3.938 kB / 0.5587 GB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.314e-05/0.4375, allocations: 24.8 kB / 0.5587 GB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001358/0.4376, allocations: 55.58 kB / 0.5588 GB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.4387, allocations: 0.766 MB / 0.5595 GB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003443/0.4421, allocations: 2.652 MB / 0.5621 GB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007795/0.4429, allocations: 0.5893 MB / 0.5627 GB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.443, allocations: 4.062 kB / 0.5627 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.443, allocations: 38.45 kB / 0.5627 GB, free: 11.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 2.846e-06/0.443, allocations: 3.938 kB / 0.5627 GB, free: 11.41 MB / 378.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!