Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Sensor,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Sensor,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001165/0.001165, allocations: 178.5 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.281/1.281, allocations: 194.5 MB / 211.6 MB, free: 3.055 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001555/0.001555, allocations: 113.2 kB / 256.9 MB, free: 4.363 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1635/0.1635, allocations: 38 MB / 340.1 MB, free: 1.352 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003155/0.0003155, allocations: 8 kB / 403.9 MB, free: 68.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08073/0.08106, allocations: 53.24 MB / 457.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.304/0.3851, allocations: 96.68 MB / 0.5408 GB, free: 14.78 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.3854, allocations: 93.45 kB / 0.5409 GB, free: 14.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04989/0.4353, allocations: 15.74 MB / 0.5563 GB, free: 1.172 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4353, allocations: 0 / 0.5563 GB, free: 1.172 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.02e-05/0.4354, allocations: 8 kB / 0.5563 GB, free: 1.164 MB / 362.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.001531/0.4369, allocations: 0.8329 MB / 0.5571 GB, free: 324 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.437, allocations: 12.02 kB / 0.5571 GB, free: 312 kB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000144/0.4371, allocations: 94.75 kB / 0.5572 GB, free: 236 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004723/0.4376, allocations: 95.19 kB / 0.5573 GB, free: 140 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/0.4392, allocations: 0.7113 MB / 0.558 GB, free: 15.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.43e-05/0.4392, allocations: 26.41 kB / 0.558 GB, free: 15.47 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-05/0.4393, allocations: 41.38 kB / 0.558 GB, free: 15.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.4405, allocations: 0.8423 MB / 0.5589 GB, free: 14.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.4405, allocations: 3.938 kB / 0.5589 GB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.153e-05/0.4405, allocations: 13.44 kB / 0.5589 GB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001317/0.4407, allocations: 63.89 kB / 0.5589 GB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.4418, allocations: 0.7658 MB / 0.5597 GB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003785/0.4456, allocations: 2.654 MB / 0.5623 GB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007859/0.4464, allocations: 0.5845 MB / 0.5629 GB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.048e-05/0.4464, allocations: 12.03 kB / 0.5629 GB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.4465, allocations: 38.39 kB / 0.5629 GB, free: 11.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 2.305e-06/0.4465, allocations: 4 kB / 0.5629 GB, free: 11.3 MB / 378.7 MB Internal error: BackendDAEEXT.getAssignment failed because n=60>arrayLength(ass1)=60 or m=82>arrayLength(ass2)=60 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!