Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009386/0.0009387, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.191/1.191, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0007868/0.0007867, allocations: 96.08 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1586/0.1586, allocations: 38.06 MB / 357.2 MB, free: 1.898 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002717/0.0002717, allocations: 12 kB / 424.1 MB, free: 37.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2329, allocations: 56.33 MB / 480.4 MB, free: 9.555 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1093/0.3423, allocations: 94.47 MB / 0.5614 GB, free: 7.945 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.3426, allocations: 87.95 kB / 0.5615 GB, free: 7.859 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0176/0.3602, allocations: 6.673 MB / 0.568 GB, free: 1.109 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3602, allocations: 0 / 0.568 GB, free: 1.109 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.393e-05/0.3603, allocations: 4 kB / 0.568 GB, free: 1.105 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001027/0.3613, allocations: 0.5938 MB / 0.5686 GB, free: 472 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3614, allocations: 12.03 kB / 0.5686 GB, free: 460 kB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.541e-05/0.3614, allocations: 58.55 kB / 0.5687 GB, free: 392 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.923e-05/0.3615, allocations: 35.92 kB / 0.5687 GB, free: 356 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.3628, allocations: 0.6088 MB / 0.5693 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.3628, allocations: 16.56 kB / 0.5693 GB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.3629, allocations: 24 kB / 0.5693 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004531/0.3633, allocations: 312.5 kB / 0.5696 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3633, allocations: 3.938 kB / 0.5696 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.3634, allocations: 12 kB / 0.5696 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.3634, allocations: 7.938 kB / 0.5696 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003405/0.3637, allocations: 217.5 kB / 0.5699 GB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.3652, allocations: 1.356 MB / 0.5712 GB, free: 13.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.3656, allocations: 141.2 kB / 0.5713 GB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.3656, allocations: 0 / 0.5713 GB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.3656, allocations: 38.62 kB / 0.5714 GB, free: 13.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.3656, allocations: 0 / 0.5714 GB, free: 13.43 MB / 410.7 MB Internal error: BackendDAEEXT.getAssignment failed because n=12>arrayLength(ass1)=12 or m=15>arrayLength(ass2)=12 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!