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: translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.Units") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001577/0.001582, allocations: 191.3 kB / 15.77 MB, free: 5.988 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.116/2.116, 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.001137/0.001137, allocations: 90.81 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.2756/0.2756, allocations: 38.06 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000739/0.000739, allocations: 16 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1257, allocations: 56.33 MB / 479 MB, free: 2.039 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.009933/0.1357, allocations: 6.24 MB / 485.3 MB, free: 11.77 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005792/0.1416, allocations: 2.262 MB / 487.5 MB, free: 9.5 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007307/0.1424, allocations: 47.69 kB / 487.6 MB, free: 9.453 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004557/0.1428, allocations: 131.1 kB / 487.7 MB, free: 9.324 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001483/0.1443, allocations: 366.9 kB / 488.1 MB, free: 8.965 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.146, allocations: 399.1 kB / 488.4 MB, free: 8.574 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009865/0.147, allocations: 467.9 kB / 488.9 MB, free: 8.117 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001956/0.1489, allocations: 0.7805 MB / 489.7 MB, free: 7.316 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007456/0.1497, allocations: 294.9 kB / 490 MB, free: 7.027 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007265/0.1505, allocations: 354.9 kB / 490.3 MB, free: 6.68 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.1506, allocations: 32 kB / 490.4 MB, free: 6.648 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005064/0.1511, allocations: 139.8 kB / 490.5 MB, free: 6.512 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005288/0.1516, allocations: 355.2 kB / 490.8 MB, free: 6.164 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002521/0.1519, allocations: 177.3 kB / 491 MB, free: 5.984 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.1531, allocations: 0.7326 MB / 491.7 MB, free: 5.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1531, allocations: 0 / 491.7 MB, free: 5.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.529e-06/0.1531, allocations: 0 / 491.7 MB, free: 5.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.96e-05/0.1532, allocations: 3.938 kB / 491.7 MB, free: 5.246 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.002451/0.1556, allocations: 0.9467 MB / 492.7 MB, free: 4.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.1557, allocations: 8.031 kB / 492.7 MB, free: 4.242 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.1568, allocations: 146.9 kB / 492.8 MB, free: 4.098 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.1582, allocations: 0.5078 MB / 493.4 MB, free: 3.543 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.718e-05/0.1583, allocations: 57.98 kB / 493.4 MB, free: 3.488 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001828/0.1585, allocations: 76 kB / 493.5 MB, free: 3.414 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002504/0.161, allocations: 1.11 MB / 494.6 MB, free: 2.195 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.85e-05/0.161, allocations: 4 kB / 494.6 MB, free: 2.191 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.1612, allocations: 39.94 kB / 494.6 MB, free: 2.152 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001214/0.1613, allocations: 49.98 kB / 494.7 MB, free: 2.105 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/0.1636, allocations: 0.8506 MB / 495.5 MB, free: 1.254 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008492/0.1721, allocations: 5.047 MB / 0.4889 GB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.1733, allocations: 428.5 kB / 0.4893 GB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.523e-05/0.1734, allocations: 12.05 kB / 0.4893 GB, free: 11.53 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.255e-05/0.1735, allocations: 38.56 kB / 0.4893 GB, free: 11.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 3.778e-06/0.1735, allocations: 0 / 0.4893 GB, free: 11.48 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!