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.001417/0.001417, allocations: 185.8 kB / 16.38 MB, free: 5.598 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 1.719/1.719, allocations: 194.5 MB / 211.6 MB, free: 7.789 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001872/0.001872, allocations: 112.7 kB / 256.9 MB, free: 10.42 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.2756/0.2756, allocations: 38.02 MB / 340.1 MB, free: 13.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004289/0.0004289, allocations: 16.88 kB / 403.8 MB, free: 55.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06834/0.06879, allocations: 53.23 MB / 457 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.004317/0.07315, allocations: 4.371 MB / 461.4 MB, free: 5.992 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002247/0.07543, allocations: 1.56 MB / 463 MB, free: 4.426 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002298/0.07568, allocations: 27.81 kB / 463 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002071/0.0759, allocations: 75.5 kB / 463.1 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005458/0.07646, allocations: 231.2 kB / 463.3 MB, free: 4.098 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006014/0.07708, allocations: 239.4 kB / 463.5 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003582/0.07746, allocations: 339.7 kB / 463.8 MB, free: 3.531 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006196/0.07809, allocations: 383.5 kB / 464.2 MB, free: 3.141 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002832/0.07839, allocations: 207.2 kB / 464.4 MB, free: 2.938 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003888/0.0788, allocations: 295.2 kB / 464.7 MB, free: 2.648 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.78e-05/0.07888, allocations: 24 kB / 464.7 MB, free: 2.625 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003285/0.07922, allocations: 143.8 kB / 464.9 MB, free: 2.484 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001987/0.07944, allocations: 211.5 kB / 465.1 MB, free: 2.277 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.07956, allocations: 121.4 kB / 465.2 MB, free: 2.152 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004908/0.08006, allocations: 0.5377 MB / 465.7 MB, free: 1.613 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.08008, allocations: 0 / 465.7 MB, free: 1.613 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.778e-06/0.08009, allocations: 0 / 465.7 MB, free: 1.613 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.848e-06/0.08011, allocations: 0 / 465.7 MB, free: 1.613 MB / 298.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.001232/0.08135, allocations: 0.7909 MB / 466.5 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.08139, allocations: 12.02 kB / 466.5 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006181/0.08202, allocations: 107.1 kB / 466.6 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005579/0.0826, allocations: 402.9 kB / 467 MB, free: 216 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.94e-05/0.08264, allocations: 32.98 kB / 467.1 MB, free: 184 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.095e-05/0.08274, allocations: 36 kB / 467.1 MB, free: 148 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/0.08439, allocations: 0.8552 MB / 468 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/0.08443, allocations: 11.89 kB / 468 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.957e-05/0.08451, allocations: 15.91 kB / 468 MB, free: 15.22 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001634/0.08469, allocations: 60.95 kB / 468 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/0.08621, allocations: 0.7885 MB / 468.8 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004676/0.0909, allocations: 2.741 MB / 471.6 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.09209, allocations: 0.5721 MB / 472.1 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.723e-05/0.09215, allocations: 4 kB / 472.2 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.567e-05/0.09223, allocations: 42.56 kB / 472.2 MB, free: 10.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=56): time 3.099e-06/0.09224, allocations: 0 / 472.2 MB, free: 10.84 MB / 314.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!