Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_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="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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001587/0.001592, allocations: 187 kB / 15.77 MB, free: 5.988 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.98/1.98, allocations: 205.4 MB / 221.9 MB, free: 13.8 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.001135/0.001135, allocations: 82.88 kB / 270.2 MB, free: 13.33 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2667/0.2667, allocations: 38.06 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004737/0.0004738, allocations: 8 kB / 422.7 MB, free: 26.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.109, allocations: 56.33 MB / 479 MB, free: 2.027 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.007303/0.1163, allocations: 4.385 MB / 483.4 MB, free: 13.62 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004169/0.1206, allocations: 1.552 MB / 485 MB, free: 12.06 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004948/0.1211, allocations: 23.81 kB / 485 MB, free: 12.04 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.1215, allocations: 79.5 kB / 485.1 MB, free: 11.96 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001035/0.1225, allocations: 231.2 kB / 485.3 MB, free: 11.73 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.1236, allocations: 239.5 kB / 485.5 MB, free: 11.5 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007379/0.1244, allocations: 339.7 kB / 485.9 MB, free: 11.16 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009829/0.1254, allocations: 379.5 kB / 486.2 MB, free: 10.78 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005686/0.126, allocations: 215.2 kB / 486.4 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006739/0.1266, allocations: 299.2 kB / 486.7 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.956e-05/0.1268, allocations: 20 kB / 486.8 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005115/0.1273, allocations: 143.8 kB / 486.9 MB, free: 10.11 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003182/0.1276, allocations: 211.5 kB / 487.1 MB, free: 9.906 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002096/0.1278, allocations: 117.4 kB / 487.2 MB, free: 9.785 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009454/0.1288, allocations: 0.5455 MB / 487.8 MB, free: 9.238 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1288, allocations: 4 kB / 487.8 MB, free: 9.234 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1288, allocations: 0 / 487.8 MB, free: 9.234 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.1289, allocations: 0 / 487.8 MB, free: 9.234 MB / 330.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.002098/0.131, allocations: 0.7793 MB / 488.5 MB, free: 8.402 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.131, allocations: 8.031 kB / 488.6 MB, free: 8.395 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008934/0.1319, allocations: 107.1 kB / 488.7 MB, free: 8.289 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.133, allocations: 414.8 kB / 489.1 MB, free: 7.836 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.444e-05/0.1331, allocations: 36.92 kB / 489.1 MB, free: 7.801 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.1332, allocations: 40 kB / 489.1 MB, free: 7.762 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001965/0.1352, allocations: 0.8512 MB / 490 MB, free: 6.871 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/0.1353, allocations: 3.938 kB / 490 MB, free: 6.867 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.97e-05/0.1354, allocations: 23.98 kB / 490 MB, free: 6.844 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002525/0.1356, allocations: 56.95 kB / 490.1 MB, free: 6.785 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/0.1376, allocations: 0.7923 MB / 490.9 MB, free: 5.996 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006146/0.1438, allocations: 2.737 MB / 493.6 MB, free: 3.109 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.1453, allocations: 0.5759 MB / 494.2 MB, free: 2.516 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.151e-05/0.1453, allocations: 4.062 kB / 494.2 MB, free: 2.512 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.636e-05/0.1454, allocations: 42.56 kB / 494.2 MB, free: 2.461 MB / 330.7 MB Notification: Performance of pre-optimization done (n=56): time 3.847e-06/0.1454, allocations: 0 / 494.2 MB, free: 2.461 MB / 330.7 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!