Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Units.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.Introductory.Units,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Units",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Units,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Units",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.001737/0.001736, allocations: 179.2 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.345/1.345, allocations: 194.5 MB / 211.6 MB, free: 3.039 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.00167/0.00167, allocations: 115.5 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.1748/0.1748, allocations: 38 MB / 340.1 MB, free: 1.352 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003524, allocations: 8 kB / 403.9 MB, free: 68.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09104/0.09142, allocations: 53.23 MB / 457.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3437/0.4351, allocations: 94.42 MB / 0.5386 GB, free: 0.9102 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.4354, allocations: 85.75 kB / 0.5387 GB, free: 0.8633 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05149/0.487, allocations: 19.28 MB / 0.5575 GB, free: 268 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.487, allocations: 4 kB / 0.5575 GB, free: 264 kB / 362.7 MB Notification: Performance of Transformations before backend: time 6.107e-05/0.4871, allocations: 15.94 kB / 0.5575 GB, free: 248 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002882/0.49, allocations: 0.962 MB / 0.5585 GB, free: 15.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.816e-05/0.49, allocations: 16.02 kB / 0.5585 GB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004115/0.4905, allocations: 133.8 kB / 0.5586 GB, free: 15.17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007326/0.4912, allocations: 138.9 kB / 0.5587 GB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002478/0.4937, allocations: 0.8723 MB / 0.5596 GB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.863e-05/0.4938, allocations: 61.55 kB / 0.5597 GB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.4939, allocations: 79.72 kB / 0.5597 GB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/0.4956, allocations: 1.101 MB / 0.5608 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/0.4956, allocations: 7.984 kB / 0.5608 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.945e-05/0.4957, allocations: 37.12 kB / 0.5609 GB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.998e-05/0.4958, allocations: 41.98 kB / 0.5609 GB, free: 13.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.4969, allocations: 0.8084 MB / 0.5617 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004819/0.5017, allocations: 4.996 MB / 0.5666 GB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006004/0.5024, allocations: 412.8 kB / 0.567 GB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.72e-05/0.5024, allocations: 8.375 kB / 0.567 GB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.5025, allocations: 38.83 kB / 0.567 GB, free: 7.539 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 2.996e-06/0.5025, allocations: 4 kB / 0.567 GB, free: 7.535 MB / 378.7 MB Internal error: BackendDAEEXT.getAssignment failed because n=47>arrayLength(ass1)=47 or m=73>arrayLength(ass2)=47 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!