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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 92.53 kB / 16.3 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009529/0.000953, allocations: 184.9 kB / 17.2 MB, free: 5.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1736/0.1736, allocations: 38.04 MB / 309.7 MB, free: 6.145 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005313/0.0005314, allocations: 15.98 kB / 376.6 MB, free: 3.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2267, allocations: 56.33 MB / 432.9 MB, free: 18.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.003792/0.2305, allocations: 4.388 MB / 437.3 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002128/0.2327, allocations: 1.556 MB / 438.9 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002249/0.2329, allocations: 27.81 kB / 438.9 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.2331, allocations: 71.5 kB / 438.9 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004735/0.2336, allocations: 235.2 kB / 439.2 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004741/0.2341, allocations: 235.5 kB / 439.4 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002915/0.2344, allocations: 335.8 kB / 439.7 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005073/0.2349, allocations: 390.3 kB / 440.1 MB, free: 11.58 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.2352, allocations: 207.2 kB / 440.3 MB, free: 11.38 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003229/0.2355, allocations: 295.2 kB / 440.6 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.713e-05/0.2355, allocations: 28 kB / 440.6 MB, free: 11.06 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002303/0.2358, allocations: 147.8 kB / 440.8 MB, free: 10.92 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.2359, allocations: 203.5 kB / 441 MB, free: 10.72 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.172e-05/0.236, allocations: 121.4 kB / 441.1 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003584/0.2364, allocations: 0.5339 MB / 441.6 MB, free: 10.06 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.185e-06/0.2364, allocations: 0 / 441.6 MB, free: 10.06 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2364, allocations: 0 / 441.6 MB, free: 10.06 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.2364, allocations: 3.938 kB / 441.6 MB, free: 10.05 MB / 318.1 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.001034/0.2375, allocations: 0.7909 MB / 442.4 MB, free: 9.211 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.2375, allocations: 12.03 kB / 442.4 MB, free: 9.199 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.94e-05/0.2376, allocations: 94.5 kB / 442.5 MB, free: 9.098 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005014/0.2381, allocations: 103.1 kB / 442.6 MB, free: 8.996 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005179/0.2386, allocations: 402.9 kB / 443 MB, free: 8.559 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.2387, allocations: 28.98 kB / 443.1 MB, free: 8.531 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.854e-05/0.2387, allocations: 47.91 kB / 443.1 MB, free: 8.484 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008892/0.2396, allocations: 0.8512 MB / 443.9 MB, free: 7.594 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.2397, allocations: 11.94 kB / 444 MB, free: 7.582 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.856e-05/0.2397, allocations: 19.98 kB / 444 MB, free: 7.562 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001184/0.2398, allocations: 56.95 kB / 444 MB, free: 7.504 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008705/0.2407, allocations: 0.7962 MB / 444.8 MB, free: 6.711 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002712/0.2434, allocations: 2.733 MB / 447.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000628/0.2441, allocations: 0.5759 MB / 448.1 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.2441, allocations: 4.062 kB / 448.1 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.2441, allocations: 42.56 kB / 448.2 MB, free: 3.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=56): time 2.414e-06/0.2442, allocations: 0 / 448.2 MB, free: 3.18 MB / 318.1 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!