Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_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_cpp_PowerSystems_Examples_AC1ph_DC_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,fileNamePrefix="PowerSystems_cpp_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.001513/0.001512, allocations: 181.3 kB / 15.76 MB, free: 6.34 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.965/1.965, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001142/0.001142, allocations: 94.8 kB / 270.2 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2581/0.2581, allocations: 38.06 MB / 356.6 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004437/0.0004437, allocations: 15.98 kB / 422.8 MB, free: 26.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1034, allocations: 56.33 MB / 479.1 MB, free: 1.941 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4732/0.5767, allocations: 94.45 MB / 0.5601 GB, free: 4.793 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.577, allocations: 89.58 kB / 0.5602 GB, free: 4.746 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02679/0.6038, allocations: 6.682 MB / 0.5668 GB, free: 15 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.6039, allocations: 0 / 0.5668 GB, free: 15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.93e-05/0.6039, allocations: 8 kB / 0.5668 GB, free: 14.99 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001374/0.6053, allocations: 0.5921 MB / 0.5673 GB, free: 14.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.6054, allocations: 8.031 kB / 0.5674 GB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.271e-05/0.6055, allocations: 57.42 kB / 0.5674 GB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.561e-05/0.6056, allocations: 35.92 kB / 0.5674 GB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002043/0.6076, allocations: 0.6009 MB / 0.568 GB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.6077, allocations: 12.06 kB / 0.568 GB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.227e-05/0.6078, allocations: 31.11 kB / 0.5681 GB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006958/0.6085, allocations: 314.1 kB / 0.5684 GB, free: 13.42 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.6085, allocations: 3.938 kB / 0.5684 GB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.009e-05/0.6085, allocations: 10.94 kB / 0.5684 GB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.6086, allocations: 12 kB / 0.5684 GB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005755/0.6092, allocations: 214.6 kB / 0.5686 GB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002328/0.6115, allocations: 1.35 MB / 0.5699 GB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004767/0.612, allocations: 141 kB / 0.5701 GB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.6121, allocations: 12.05 kB / 0.5701 GB, free: 11.81 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.6121, allocations: 34.56 kB / 0.5701 GB, free: 11.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.985e-06/0.6121, allocations: 0 / 0.5701 GB, free: 11.77 MB / 378.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!