Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.Units.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.Introductory.Units,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Introductory_Units",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Units,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Introductory_Units",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.001608/0.001608, allocations: 181.5 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 2.05/2.05, 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.001172/0.001171, allocations: 90.86 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.2723/0.2723, allocations: 38.06 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006267/0.0006267, allocations: 16 kB / 422.8 MB, free: 26.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1157, allocations: 56.33 MB / 479.1 MB, free: 1.953 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5745/0.6903, allocations: 99.39 MB / 0.565 GB, free: 4 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004234/0.6908, allocations: 83.14 kB / 0.565 GB, free: 15.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1108/0.8016, allocations: 19.31 MB / 0.5839 GB, free: 15.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.192e-06/0.8017, allocations: 3.984 kB / 0.5839 GB, free: 15.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.615e-05/0.8018, allocations: 23.98 kB / 0.5839 GB, free: 15.32 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.003347/0.8052, allocations: 0.958 MB / 0.5849 GB, free: 14.36 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/0.8052, allocations: 12.02 kB / 0.5849 GB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003965/0.8056, allocations: 133 kB / 0.585 GB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.8068, allocations: 134.9 kB / 0.5851 GB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003296/0.8101, allocations: 0.869 MB / 0.586 GB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.47e-05/0.8102, allocations: 57.12 kB / 0.586 GB, free: 13.31 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/0.8105, allocations: 93.2 kB / 0.5861 GB, free: 13.24 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002637/0.8131, allocations: 1.091 MB / 0.5872 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.573e-05/0.8132, allocations: 7.938 kB / 0.5872 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.8133, allocations: 31.19 kB / 0.5872 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001144/0.8134, allocations: 49.17 kB / 0.5873 GB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002253/0.8157, allocations: 0.8087 MB / 0.5881 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008651/0.8244, allocations: 4.994 MB / 0.5929 GB, free: 6.988 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.8257, allocations: 396.4 kB / 0.5933 GB, free: 6.691 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.196e-05/0.8258, allocations: 20.3 kB / 0.5933 GB, free: 6.672 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.8259, allocations: 42.33 kB / 0.5934 GB, free: 6.625 MB / 394.7 MB Notification: Performance of pre-optimization done (n=47): time 4.047e-06/0.8259, allocations: 0 / 0.5934 GB, free: 6.625 MB / 394.7 MB Internal error: BackendDAEEXT.getAssignment failed because n=47>arrayLength(ass1)=47 or m=73>arrayLength(ass2)=47 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!