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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009268/0.0009269, allocations: 93.12 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001064, allocations: 184.5 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.4 MB / 223.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3462/0.3462, allocations: 38.05 MB / 309.7 MB, free: 9.047 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005528/0.0005528, allocations: 16 kB / 376.5 MB, free: 15.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1435, allocations: 56.34 MB / 432.8 MB, free: 6.848 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.005229/0.1487, allocations: 4.378 MB / 437.2 MB, free: 2.445 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002691/0.1515, allocations: 1.552 MB / 438.8 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002448/0.1517, allocations: 27.81 kB / 438.8 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002601/0.152, allocations: 83.42 kB / 438.9 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006185/0.1526, allocations: 227.3 kB / 439.1 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006431/0.1533, allocations: 243.4 kB / 439.3 MB, free: 324 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004449/0.1537, allocations: 335.8 kB / 439.7 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006295/0.1544, allocations: 379.4 kB / 440 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002913/0.1547, allocations: 211.2 kB / 440.2 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004149/0.1551, allocations: 299.2 kB / 440.5 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.617e-05/0.1552, allocations: 24 kB / 440.5 MB, free: 15.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002788/0.1555, allocations: 143.8 kB / 440.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001977/0.1557, allocations: 211.5 kB / 440.9 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.1558, allocations: 117.5 kB / 441 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005195/0.1563, allocations: 0.5377 MB / 441.5 MB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1563, allocations: 0 / 441.5 MB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1563, allocations: 4 kB / 441.5 MB, free: 14.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.1563, allocations: 0 / 441.5 MB, free: 14.06 MB / 382.1 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.001493/0.1578, allocations: 0.7909 MB / 442.3 MB, free: 13.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.1579, allocations: 12.03 kB / 442.4 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006107/0.1585, allocations: 95.19 kB / 442.4 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006853/0.1592, allocations: 410.8 kB / 442.8 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/0.1593, allocations: 29 kB / 442.9 MB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.12e-05/0.1594, allocations: 39.98 kB / 442.9 MB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.1606, allocations: 0.8629 MB / 443.8 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.1606, allocations: 0 / 443.8 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.209e-05/0.1607, allocations: 15.98 kB / 443.8 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001447/0.1608, allocations: 64.91 kB / 443.9 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.1619, allocations: 0.7884 MB / 444.6 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003743/0.1657, allocations: 2.741 MB / 447.4 MB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008262/0.1665, allocations: 0.572 MB / 448 MB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.872e-05/0.1666, allocations: 8.047 kB / 448 MB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.1666, allocations: 42.5 kB / 448 MB, free: 7.293 MB / 382.1 MB Notification: Performance of pre-optimization done (n=56): time 1.834e-06/0.1666, allocations: 0 / 448 MB, free: 7.293 MB / 382.1 MB Internal error: BackendDAEEXT.getAssignment failed because n=56>arrayLength(ass1)=56 or m=78>arrayLength(ass2)=56 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!