Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Sensor,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Sensor,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 97.89 kB / 16.31 MB, free: 6.461 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.001263/0.001263, allocations: 174.4 kB / 17.19 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.238/1.238, allocations: 223.2 MB / 241.1 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1595/0.1595, allocations: 38.08 MB / 330.3 MB, free: 8.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003027/0.0003025, allocations: 8 kB / 400.1 MB, free: 34.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09301/0.09333, allocations: 59.16 MB / 459.2 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.004213/0.09758, allocations: 4.385 MB / 463.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002119/0.09972, allocations: 1.516 MB / 465.1 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.09991, allocations: 31.75 kB / 465.2 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.1001, allocations: 71.52 kB / 465.2 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004646/0.1006, allocations: 235.3 kB / 465.5 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004782/0.1011, allocations: 239.4 kB / 465.7 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003441/0.1014, allocations: 335.7 kB / 466 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005106/0.1019, allocations: 387.5 kB / 466.4 MB, free: 100 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002479/0.1022, allocations: 199.4 kB / 466.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000359/0.1026, allocations: 303.1 kB / 466.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.672e-05/0.1026, allocations: 24 kB / 466.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002445/0.1029, allocations: 147.8 kB / 467.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.1031, allocations: 207.5 kB / 467.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.1032, allocations: 121.4 kB / 467.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004422/0.1036, allocations: 0.5337 MB / 467.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.323e-06/0.1036, allocations: 0 / 467.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1036, allocations: 0 / 467.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.1036, allocations: 0 / 467.9 MB, free: 14.57 MB / 350.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.001088/0.1047, allocations: 0.8025 MB / 468.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.422e-05/0.1048, allocations: 12.03 kB / 468.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.703e-05/0.1049, allocations: 86.52 kB / 468.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004767/0.1053, allocations: 103.3 kB / 468.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005464/0.1059, allocations: 406.8 kB / 469.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.1059, allocations: 28.95 kB / 469.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.749e-05/0.106, allocations: 43.98 kB / 469.4 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.107, allocations: 0.8551 MB / 470.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1071, allocations: 0 / 470.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.631e-05/0.1071, allocations: 20 kB / 470.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001203/0.1072, allocations: 56.95 kB / 470.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.1082, allocations: 0.8002 MB / 471.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003169/0.1114, allocations: 2.718 MB / 473.8 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007338/0.1122, allocations: 0.579 MB / 474.4 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.1122, allocations: 8.047 kB / 474.4 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.1122, allocations: 42.52 kB / 474.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 1.713e-06/0.1123, allocations: 0 / 474.5 MB, free: 7.711 MB / 350.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!