Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Sensor.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Sensor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002425/0.002425, allocations: 355.5 kB / 16.57 MB, free: 5.59 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.467/3.467, allocations: 388.9 MB / 406.2 MB, free: 12 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003438/0.003438, allocations: 226.3 kB / 451.6 MB, free: 14.59 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.6475/0.6475, allocations: 76.01 MB / 0.5594 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005167/0.0005169, allocations: 12 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06863/0.06917, allocations: 53.24 MB / 0.6736 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.004305/0.07354, allocations: 4.534 MB / 0.678 GB, free: 56.27 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.07578, allocations: 1.529 MB / 0.6795 GB, free: 54.73 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002307/0.07603, allocations: 31.81 kB / 0.6796 GB, free: 54.7 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002103/0.07626, allocations: 71.45 kB / 0.6796 GB, free: 54.63 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005953/0.07686, allocations: 290.4 kB / 0.6799 GB, free: 54.34 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000652/0.07753, allocations: 243.4 kB / 0.6801 GB, free: 54.11 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000611/0.07816, allocations: 0.7755 MB / 0.6809 GB, free: 53.33 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006176/0.07879, allocations: 403.1 kB / 0.6813 GB, free: 52.91 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002747/0.07909, allocations: 235 kB / 0.6815 GB, free: 52.68 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004994/0.0796, allocations: 406.9 kB / 0.6819 GB, free: 52.28 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.524e-05/0.07969, allocations: 20 kB / 0.6819 GB, free: 52.26 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003794/0.08008, allocations: 171.6 kB / 0.6821 GB, free: 52.09 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002093/0.0803, allocations: 227.5 kB / 0.6823 GB, free: 51.87 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.08043, allocations: 121.4 kB / 0.6824 GB, free: 51.75 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005394/0.08099, allocations: 0.5378 MB / 0.6829 GB, free: 51.21 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.25e-06/0.081, allocations: 0 / 0.6829 GB, free: 51.21 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.595e-06/0.08102, allocations: 0 / 0.6829 GB, free: 51.21 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.37e-06/0.08103, allocations: 0 / 0.6829 GB, free: 51.21 MB / 442.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.001176/0.08222, allocations: 0.7947 MB / 0.6837 GB, free: 50.36 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.08226, allocations: 12.83 kB / 0.6837 GB, free: 50.34 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006095/0.08288, allocations: 95.28 kB / 0.6838 GB, free: 50.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005685/0.08347, allocations: 410.8 kB / 0.6842 GB, free: 49.81 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.08351, allocations: 25 kB / 0.6842 GB, free: 49.79 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.08363, allocations: 39.98 kB / 0.6843 GB, free: 49.75 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.08487, allocations: 0.859 MB / 0.6851 GB, free: 48.85 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.08491, allocations: 7.938 kB / 0.6851 GB, free: 48.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.308e-05/0.08498, allocations: 19.98 kB / 0.6851 GB, free: 48.82 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001389/0.08513, allocations: 60.95 kB / 0.6852 GB, free: 48.76 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.08641, allocations: 0.7846 MB / 0.686 GB, free: 47.97 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003649/0.09008, allocations: 2.737 MB / 0.6886 GB, free: 45.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008941/0.09099, allocations: 0.5798 MB / 0.6892 GB, free: 44.49 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005305/0.09156, allocations: 446.7 kB / 0.6896 GB, free: 44.05 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/0.09161, allocations: 15.98 kB / 0.6896 GB, free: 44.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.09164, allocations: 30.56 kB / 0.6897 GB, free: 44 MB / 442.7 MB Notification: Performance of pre-optimization done (n=56): time 2.9e-06/0.09166, allocations: 4 kB / 0.6897 GB, free: 43.99 MB / 442.7 MB Internal error: BackendDAEEXT.getAssignment failed because n=56>arrayLength(ass1)=56 or m=78>arrayLength(ass2)=56 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!