Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Sensor.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.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Sensor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002637/0.002642, allocations: 362.3 kB / 17.21 MB, free: 4.953 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.741/3.741, allocations: 388.9 MB / 406.8 MB, free: 11.96 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.003569/0.003569, allocations: 229.6 kB / 452.2 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.7474/0.7474, allocations: 76 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004612/0.0004614, allocations: 16 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08903/0.08951, allocations: 53.22 MB / 0.6742 GB, free: 60.84 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4596/0.5492, allocations: 96.69 MB / 0.7686 GB, free: 81.65 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/0.5496, allocations: 93.58 kB / 0.7687 GB, free: 81.65 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06332/0.6129, allocations: 15.7 MB / 0.7841 GB, free: 78.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.613, allocations: 0 / 0.7841 GB, free: 78.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.336e-05/0.613, allocations: 19.56 kB / 0.7841 GB, free: 78.19 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001867/0.6149, allocations: 0.8214 MB / 0.7849 GB, free: 77.54 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.6149, allocations: 7.688 kB / 0.7849 GB, free: 77.54 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007001/0.6157, allocations: 98.38 kB / 0.785 GB, free: 77.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.6169, allocations: 0.5148 MB / 0.7855 GB, free: 77.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.682e-05/0.617, allocations: 27.97 kB / 0.7855 GB, free: 77.16 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.6171, allocations: 44.52 kB / 0.7856 GB, free: 77.16 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.6187, allocations: 0.8422 MB / 0.7864 GB, free: 76.88 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.6188, allocations: 3.938 kB / 0.7864 GB, free: 76.88 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-05/0.6189, allocations: 21.61 kB / 0.7864 GB, free: 76.88 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002064/0.6191, allocations: 55.2 kB / 0.7865 GB, free: 76.86 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/0.6206, allocations: 0.7672 MB / 0.7872 GB, free: 76.74 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004536/0.6252, allocations: 2.648 MB / 0.7898 GB, free: 75.01 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.6264, allocations: 0.5814 MB / 0.7904 GB, free: 74.9 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007359/0.6271, allocations: 477.7 kB / 0.7908 GB, free: 74.84 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.655e-05/0.6272, allocations: 15.33 kB / 0.7908 GB, free: 74.83 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.6273, allocations: 41.64 kB / 0.7909 GB, free: 74.79 MB / 442.7 MB Notification: Performance of pre-optimization done (n=60): time 3.617e-06/0.6273, allocations: 0 / 0.7909 GB, free: 74.79 MB / 442.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!