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.002568/0.002568, allocations: 362.8 kB / 17.22 MB, free: 4.926 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.828/3.828, allocations: 388.9 MB / 406.8 MB, free: 11.9 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.004394/0.004394, allocations: 237.6 kB / 452.2 MB, free: 14.5 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.7721/0.7721, allocations: 76.01 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004733/0.0004735, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09265/0.09315, allocations: 53.23 MB / 0.6742 GB, free: 60.83 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.005494/0.0987, allocations: 4.527 MB / 0.6786 GB, free: 56.28 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003088/0.1018, allocations: 1.533 MB / 0.6801 GB, free: 54.74 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002937/0.1022, allocations: 23.81 kB / 0.6802 GB, free: 54.71 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.1024, allocations: 79.44 kB / 0.6802 GB, free: 54.64 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008138/0.1032, allocations: 290.5 kB / 0.6805 GB, free: 54.35 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007683/0.104, allocations: 247.4 kB / 0.6808 GB, free: 54.11 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008436/0.1049, allocations: 0.7794 MB / 0.6815 GB, free: 53.33 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007779/0.1057, allocations: 399.1 kB / 0.6819 GB, free: 52.91 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003795/0.1061, allocations: 234.9 kB / 0.6821 GB, free: 52.68 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007064/0.1068, allocations: 402.9 kB / 0.6825 GB, free: 52.29 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.8e-05/0.1069, allocations: 24 kB / 0.6825 GB, free: 52.27 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004609/0.1074, allocations: 167.7 kB / 0.6827 GB, free: 52.1 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002326/0.1076, allocations: 231.4 kB / 0.6829 GB, free: 51.88 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.1078, allocations: 121.4 kB / 0.683 GB, free: 51.75 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006507/0.1084, allocations: 0.5378 MB / 0.6835 GB, free: 51.21 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1084, allocations: 4 kB / 0.6836 GB, free: 51.21 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1085, allocations: 0 / 0.6836 GB, free: 51.21 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.1085, allocations: 0 / 0.6836 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.00171/0.1102, allocations: 0.7907 MB / 0.6843 GB, free: 50.36 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.1103, allocations: 8.031 kB / 0.6843 GB, free: 50.35 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008094/0.1111, allocations: 95.28 kB / 0.6844 GB, free: 50.26 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000764/0.1119, allocations: 410.8 kB / 0.6848 GB, free: 49.82 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.389e-05/0.1119, allocations: 29 kB / 0.6848 GB, free: 49.79 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.112, allocations: 47.98 kB / 0.6849 GB, free: 49.74 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.1136, allocations: 0.859 MB / 0.6857 GB, free: 48.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.976e-05/0.1137, allocations: 3.938 kB / 0.6857 GB, free: 48.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.953e-05/0.1138, allocations: 23.92 kB / 0.6858 GB, free: 48.82 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002097/0.114, allocations: 60.95 kB / 0.6858 GB, free: 48.76 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/0.1156, allocations: 0.7846 MB / 0.6866 GB, free: 47.97 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00472/0.1204, allocations: 2.729 MB / 0.6892 GB, free: 45.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.1215, allocations: 0.5759 MB / 0.6898 GB, free: 44.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006783/0.1222, allocations: 450.7 kB / 0.6902 GB, free: 44.05 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.768e-05/0.1223, allocations: 15.97 kB / 0.6903 GB, free: 44.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.1223, allocations: 38.56 kB / 0.6903 GB, free: 43.99 MB / 442.7 MB Notification: Performance of pre-optimization done (n=56): time 3.346e-06/0.1224, allocations: 0 / 0.6903 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!