Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Sensor,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Sensor,fileNamePrefix="PowerSystems_latest_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.3+maint.om/package.mo): time 0.0009121/0.0009122, allocations: 180.6 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.163/1.163, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008518/0.0008518, allocations: 95.17 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1555/0.1555, allocations: 38.06 MB / 357.2 MB, free: 1.891 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002998/0.0002998, allocations: 12 kB / 424.1 MB, free: 37.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2517, allocations: 56.32 MB / 480.4 MB, free: 9.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1296/0.3814, allocations: 101.7 MB / 0.5685 GB, free: 0.668 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/0.3817, allocations: 95.95 kB / 0.5686 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0433/0.425, allocations: 15.76 MB / 0.584 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.425, allocations: 0 / 0.584 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.248e-05/0.4251, allocations: 8 kB / 0.584 GB, free: 0.6406 MB / 410.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.001682/0.4268, allocations: 0.8376 MB / 0.5848 GB, free: 15.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.4268, allocations: 12.03 kB / 0.5848 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001643/0.427, allocations: 90.52 kB / 0.5849 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005057/0.4275, allocations: 91.2 kB / 0.585 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/0.4293, allocations: 0.7097 MB / 0.5857 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/0.4293, allocations: 32.98 kB / 0.5857 GB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.329e-05/0.4294, allocations: 40 kB / 0.5857 GB, free: 14.72 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.4309, allocations: 0.8395 MB / 0.5866 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/0.4309, allocations: 7.906 kB / 0.5866 GB, free: 13.83 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-05/0.431, allocations: 27.92 kB / 0.5866 GB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001414/0.4311, allocations: 52.97 kB / 0.5867 GB, free: 13.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.4324, allocations: 0.7728 MB / 0.5874 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003597/0.436, allocations: 2.641 MB / 0.59 GB, free: 10.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008616/0.4369, allocations: 0.5954 MB / 0.5906 GB, free: 9.598 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.59e-05/0.4369, allocations: 4.062 kB / 0.5906 GB, free: 9.594 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.437, allocations: 42.5 kB / 0.5906 GB, free: 9.543 MB / 426.7 MB Notification: Performance of pre-optimization done (n=60): time 2.324e-06/0.437, allocations: 0 / 0.5906 GB, free: 9.543 MB / 426.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!