Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid.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: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008248/0.0008248, allocations: 84.92 kB / 16.31 MB, free: 6.453 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.00077/0.00077, allocations: 175.8 kB / 17.21 MB, free: 6.328 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.352/1.352, allocations: 205.4 MB / 223.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2891/0.2891, allocations: 38.05 MB / 309.7 MB, free: 8.805 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.0005219/0.000522, allocations: 12 kB / 376.5 MB, free: 15.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0995/0.1, allocations: 56.33 MB / 432.9 MB, free: 6.711 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid): time 0.006578/0.1066, allocations: 6.929 MB / 439.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003244/0.1099, allocations: 2.012 MB / 441.8 MB, free: 13.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005341/0.1105, allocations: 47.69 kB / 441.8 MB, free: 13.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005745/0.1111, allocations: 162.8 kB / 442 MB, free: 13.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001072/0.1122, allocations: 489.5 kB / 442.5 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007334/0.1129, allocations: 331.5 kB / 442.8 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001505/0.1144, allocations: 1.621 MB / 444.4 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003949/0.1148, allocations: 301.7 kB / 444.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006991/0.1155, allocations: 498 kB / 445.2 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008831/0.1164, allocations: 0.6076 MB / 445.8 MB, free: 9.699 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.1166, allocations: 47.98 kB / 445.9 MB, free: 9.652 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.1167, allocations: 44 kB / 445.9 MB, free: 9.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003629/0.1171, allocations: 359.1 kB / 446.2 MB, free: 9.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001833/0.1173, allocations: 173.3 kB / 446.4 MB, free: 9.082 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007501/0.118, allocations: 0.9039 MB / 447.3 MB, free: 8.176 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.118, allocations: 0 / 447.3 MB, free: 8.176 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.118, allocations: 0 / 447.3 MB, free: 8.176 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.1181, allocations: 0 / 447.3 MB, free: 8.176 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.002733/0.1208, allocations: 1.184 MB / 448.5 MB, free: 6.922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.1209, allocations: 8.031 kB / 448.5 MB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002841/0.1212, allocations: 95.05 kB / 448.6 MB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.1226, allocations: 0.6811 MB / 449.3 MB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004971/0.1231, allocations: 362.8 kB / 449.6 MB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.1233, allocations: 64 kB / 449.7 MB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002611/0.1259, allocations: 1.2 MB / 450.9 MB, free: 4.398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.211e-05/0.126, allocations: 7.875 kB / 450.9 MB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.171e-05/0.1261, allocations: 28 kB / 450.9 MB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001409/0.1262, allocations: 41.28 kB / 451 MB, free: 4.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002775/0.129, allocations: 1.277 MB / 452.3 MB, free: 3.043 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2057/0.3348, allocations: 3.531 MB / 455.8 MB, free: 50.28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002121/0.3369, allocations: 1.054 MB / 456.8 MB, free: 50.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/0.3383, allocations: 0.7354 MB / 457.6 MB, free: 50.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.927e-05/0.3384, allocations: 11.89 kB / 457.6 MB, free: 50.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001303/0.3397, allocations: 0.738 MB / 458.3 MB, free: 50.15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=59): time 3.146e-06/0.3397, allocations: 7.094 kB / 458.3 MB, free: 50.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=61): time 0.01718/0.3569, allocations: 6.985 MB / 465.3 MB, free: 49.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.685e-05/0.357, allocations: 93.42 kB / 465.4 MB, free: 49.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005087/0.3576, allocations: 470.1 kB / 465.9 MB, free: 49.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.524e-05/0.3577, allocations: 42.58 kB / 465.9 MB, free: 49.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/0.3579, allocations: 325.3 kB / 466.2 MB, free: 49.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/0.3581, allocations: 208.5 kB / 466.4 MB, free: 48.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/0.3581, allocations: 17.62 kB / 466.5 MB, free: 48.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.936e-05/0.3582, allocations: 368.2 kB / 466.8 MB, free: 48.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.3593, allocations: 0.5393 MB / 467.4 MB, free: 48.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.3603, allocations: 0.6673 MB / 468 MB, free: 48.44 MB / 382.1 MB Error: The initialization problem of given system is mixed-determined. It is under- as well as overdetermined and the mixed-determination-index is too high. [index > 10] Please checkout the option "--maxMixedDeterminedIndex" to simulate with a higher threshold or consider changing some initial equations, fixed variables and start values. Use -d=initialization for more information. Error: No system for the symbolic initialization was generated