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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Sensor,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Sensor,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_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.0025/0.0025, allocations: 183.3 kB / 15.76 MB, free: 6.344 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.959/1.959, allocations: 205.4 MB / 221.9 MB, free: 13.81 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.00116/0.00116, allocations: 90.86 kB / 270.2 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2777/0.2777, allocations: 38.06 MB / 356.6 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000687/0.0006872, allocations: 15.98 kB / 422.8 MB, free: 26.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1489, allocations: 56.33 MB / 479.1 MB, free: 1.934 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4999/0.6489, allocations: 101.7 MB / 0.5672 GB, free: 13.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003248/0.6492, allocations: 91.52 kB / 0.5673 GB, free: 13.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.073/0.7223, allocations: 15.76 MB / 0.5827 GB, free: 148 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.7223, allocations: 0 / 0.5827 GB, free: 148 kB / 378.7 MB Notification: Performance of Transformations before backend: time 3.912e-05/0.7224, allocations: 8 kB / 0.5827 GB, free: 140 kB / 378.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.0022/0.7246, allocations: 0.8315 MB / 0.5835 GB, free: 15.29 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.7246, allocations: 12.03 kB / 0.5836 GB, free: 15.28 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001927/0.7248, allocations: 91.08 kB / 0.5836 GB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007798/0.7256, allocations: 91.2 kB / 0.5837 GB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002583/0.7282, allocations: 0.7133 MB / 0.5844 GB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.238e-05/0.7283, allocations: 35.91 kB / 0.5845 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.7285, allocations: 35.31 kB / 0.5845 GB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/0.7305, allocations: 0.8433 MB / 0.5853 GB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/0.7305, allocations: 3.906 kB / 0.5853 GB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.44e-05/0.7306, allocations: 26.44 kB / 0.5853 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002641/0.7309, allocations: 56.2 kB / 0.5854 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00194/0.7329, allocations: 0.767 MB / 0.5861 GB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005996/0.7389, allocations: 2.649 MB / 0.5887 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.7403, allocations: 0.5908 MB / 0.5893 GB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.897e-05/0.7404, allocations: 4.062 kB / 0.5893 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.585e-05/0.7405, allocations: 46.42 kB / 0.5894 GB, free: 10.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=60): time 3.146e-06/0.7405, allocations: 0 / 0.5894 GB, free: 10.25 MB / 394.7 MB Internal error: BackendDAEEXT.getAssignment failed because n=60>arrayLength(ass1)=60 or m=82>arrayLength(ass2)=60 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!