Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Sensor.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Sensor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002227/0.002227, allocations: 183 kB / 15.76 MB, free: 6.344 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.068/2.068, allocations: 205.4 MB / 221.9 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 90.75 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2514/0.2514, allocations: 38.07 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004558/0.0004558, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1081, allocations: 56.33 MB / 479 MB, free: 2.039 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5141/0.6223, allocations: 101.7 MB / 0.5672 GB, free: 14.26 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000309/0.6226, allocations: 94.56 kB / 0.5672 GB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06997/0.6926, allocations: 15.75 MB / 0.5826 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.6927, allocations: 0 / 0.5826 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.927e-05/0.6927, allocations: 12 kB / 0.5826 GB, free: 0.6445 MB / 378.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.002058/0.6948, allocations: 0.8344 MB / 0.5835 GB, free: 15.8 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.6948, allocations: 8.031 kB / 0.5835 GB, free: 15.79 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007549/0.6956, allocations: 91.2 kB / 0.5836 GB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002379/0.698, allocations: 0.7048 MB / 0.5842 GB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.586e-05/0.6981, allocations: 36.48 kB / 0.5843 GB, free: 15.03 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.6982, allocations: 32.94 kB / 0.5843 GB, free: 15 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001875/0.7001, allocations: 0.8459 MB / 0.5851 GB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.7002, allocations: 0 / 0.5851 GB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.819e-05/0.7003, allocations: 26.38 kB / 0.5852 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002375/0.7005, allocations: 60.45 kB / 0.5852 GB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001804/0.7023, allocations: 0.7646 MB / 0.586 GB, free: 13.72 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005547/0.7079, allocations: 2.658 MB / 0.5886 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.7093, allocations: 0.5956 MB / 0.5891 GB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.931e-05/0.7094, allocations: 4.062 kB / 0.5891 GB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.6e-05/0.7094, allocations: 41.88 kB / 0.5892 GB, free: 10.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=60): time 3.877e-06/0.7094, allocations: 0 / 0.5892 GB, free: 10.84 MB / 394.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!