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.00157/0.001569, allocations: 182.8 kB / 15.77 MB, free: 6.379 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.023/2.023, 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.001175/0.001174, 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.2544/0.2544, allocations: 38.06 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006374/0.0006376, allocations: 8 kB / 422.8 MB, free: 26.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1225, allocations: 56.33 MB / 479.1 MB, free: 1.953 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.01012/0.1327, allocations: 6.248 MB / 485.4 MB, free: 11.68 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006077/0.1388, allocations: 2.258 MB / 487.6 MB, free: 9.41 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007972/0.1397, allocations: 43.69 kB / 487.7 MB, free: 9.367 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004747/0.1401, allocations: 135.1 kB / 487.8 MB, free: 9.234 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001632/0.1418, allocations: 366.9 kB / 488.2 MB, free: 8.875 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001691/0.1435, allocations: 391.1 kB / 488.5 MB, free: 8.492 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001079/0.1446, allocations: 471.9 kB / 489 MB, free: 8.031 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002066/0.1467, allocations: 0.7805 MB / 489.8 MB, free: 7.23 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008221/0.1476, allocations: 294.9 kB / 490.1 MB, free: 6.941 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007688/0.1483, allocations: 362.9 kB / 490.4 MB, free: 6.586 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.1485, allocations: 28 kB / 490.5 MB, free: 6.559 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005333/0.149, allocations: 139.8 kB / 490.6 MB, free: 6.422 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005125/0.1496, allocations: 359.2 kB / 490.9 MB, free: 6.07 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003156/0.1499, allocations: 169.3 kB / 491.1 MB, free: 5.898 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.1512, allocations: 0.7482 MB / 491.9 MB, free: 5.148 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1512, allocations: 0 / 491.9 MB, free: 5.148 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.21e-06/0.1512, allocations: 0 / 491.9 MB, free: 5.148 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.605e-05/0.1512, allocations: 3.938 kB / 491.9 MB, free: 5.145 MB / 330.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.002644/0.1539, allocations: 0.935 MB / 492.8 MB, free: 4.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.154, allocations: 8.031 kB / 492.8 MB, free: 4.152 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002916/0.1543, allocations: 135.1 kB / 492.9 MB, free: 4.012 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.1555, allocations: 146.9 kB / 493.1 MB, free: 3.867 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.1568, allocations: 0.5039 MB / 493.6 MB, free: 3.316 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.385e-05/0.1569, allocations: 58 kB / 493.6 MB, free: 3.262 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/0.1571, allocations: 72 kB / 493.7 MB, free: 3.191 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002449/0.1596, allocations: 1.118 MB / 494.8 MB, free: 1.965 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.776e-05/0.1596, allocations: 3.953 kB / 494.8 MB, free: 1.961 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/0.1598, allocations: 36 kB / 494.9 MB, free: 1.926 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.786e-05/0.1599, allocations: 49.98 kB / 494.9 MB, free: 1.879 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002224/0.1621, allocations: 0.8467 MB / 495.8 MB, free: 1.031 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008476/0.1706, allocations: 5.059 MB / 0.4891 GB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.1718, allocations: 420.6 kB / 0.4895 GB, free: 11.31 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.935e-05/0.1719, allocations: 16.03 kB / 0.4895 GB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.172, allocations: 38.56 kB / 0.4895 GB, free: 11.25 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 3.897e-06/0.172, allocations: 4 kB / 0.4895 GB, free: 11.25 MB / 346.7 MB Internal error: BackendDAEEXT.getAssignment failed because n=43>arrayLength(ass1)=43 or m=67>arrayLength(ass2)=43 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!