Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Units.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter_SI.i.1.|meter_SI.i.2.|meter_SI.i.3.|meter_SI.p.1.|meter_SI.p.2.|meter_SI.p.3.|meter_SI.v.1.|meter_SI.v.2.|meter_SI.v.3.|meter_pu.i.1.|meter_pu.i.2.|meter_pu.i.3.|meter_pu.p.1.|meter_pu.p.2.|meter_pu.p.3.|meter_pu.v.1.|meter_pu.v.2.|meter_pu.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter_SI.i.1.|meter_SI.i.2.|meter_SI.i.3.|meter_SI.p.1.|meter_SI.p.2.|meter_SI.p.3.|meter_SI.v.1.|meter_SI.v.2.|meter_SI.v.3.|meter_pu.i.1.|meter_pu.i.2.|meter_pu.i.3.|meter_pu.p.1.|meter_pu.p.2.|meter_pu.p.3.|meter_pu.v.1.|meter_pu.v.2.|meter_pu.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 93.2 kB / 16.3 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 179 kB / 17.2 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 223.2 MB / 241.1 MB, free: 280 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1673/0.1673, allocations: 38.09 MB / 330.3 MB, free: 8.973 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003289/0.0003289, allocations: 8 kB / 400 MB, free: 34.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.128, allocations: 59.16 MB / 459.1 MB, free: 7.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.006715/0.1348, allocations: 6.239 MB / 465.4 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004006/0.1389, allocations: 2.222 MB / 467.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005762/0.1395, allocations: 43.69 kB / 467.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003504/0.1399, allocations: 135.1 kB / 467.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000996/0.1409, allocations: 370.8 kB / 468.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.142, allocations: 391.2 kB / 468.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005297/0.1425, allocations: 471.9 kB / 469 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001195/0.1437, allocations: 0.7766 MB / 469.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003889/0.1441, allocations: 291 kB / 470 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004571/0.1446, allocations: 354.9 kB / 470.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.56e-05/0.1446, allocations: 32 kB / 470.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003231/0.145, allocations: 139.8 kB / 470.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003129/0.1453, allocations: 351.2 kB / 470.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.1455, allocations: 177.3 kB / 471.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000659/0.1461, allocations: 0.7481 MB / 471.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1461, allocations: 0 / 471.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.1462, allocations: 0 / 471.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.1462, allocations: 4 kB / 471.8 MB, free: 10.71 MB / 350.1 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.001482/0.1477, allocations: 0.9312 MB / 472.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.1477, allocations: 8.031 kB / 472.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007057/0.1484, allocations: 146.9 kB / 472.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008176/0.1492, allocations: 0.5078 MB / 473.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.808e-05/0.1493, allocations: 61.98 kB / 473.5 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.1494, allocations: 75.94 kB / 473.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.1508, allocations: 1.106 MB / 474.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/0.1509, allocations: 11.88 kB / 474.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.265e-05/0.151, allocations: 39.98 kB / 474.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.98e-05/0.151, allocations: 53.97 kB / 474.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.1522, allocations: 0.8506 MB / 475.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005009/0.1572, allocations: 5.055 MB / 480.6 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006343/0.1579, allocations: 413 kB / 481.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.246e-05/0.158, allocations: 8 kB / 481.1 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.158, allocations: 38.56 kB / 481.1 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 3.948e-06/0.158, allocations: 0 / 481.1 MB, free: 0.9609 MB / 350.1 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!