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.0007657/0.0007658, allocations: 97.03 kB / 16.96 MB, free: 6.41 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.0007763/0.0007763, allocations: 179.7 kB / 17.84 MB, free: 5.969 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.611/1.611, allocations: 205.4 MB / 224 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1723/0.1723, allocations: 38.04 MB / 310.3 MB, free: 6.105 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.0004947/0.0004948, allocations: 12 kB / 377.1 MB, free: 3.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2737, allocations: 56.34 MB / 433.5 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid): time 0.005719/0.2795, allocations: 6.937 MB / 440.4 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002873/0.2824, allocations: 2 MB / 442.4 MB, free: 9.855 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004026/0.2828, allocations: 51.62 kB / 442.5 MB, free: 9.805 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004643/0.2833, allocations: 170.8 kB / 442.6 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008348/0.2841, allocations: 489.5 kB / 443.1 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005816/0.2847, allocations: 323.5 kB / 443.4 MB, free: 8.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001073/0.2858, allocations: 1.621 MB / 445 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003319/0.2862, allocations: 289.7 kB / 445.3 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000497/0.2867, allocations: 0.4979 MB / 445.8 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006598/0.2873, allocations: 0.6115 MB / 446.4 MB, free: 5.816 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.293e-05/0.2874, allocations: 44 kB / 446.5 MB, free: 5.773 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.2875, allocations: 44 kB / 446.5 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003059/0.2879, allocations: 363 kB / 446.9 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.288, allocations: 169.3 kB / 447 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005686/0.2886, allocations: 0.9002 MB / 447.9 MB, free: 4.301 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2886, allocations: 0 / 447.9 MB, free: 4.301 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2886, allocations: 0 / 447.9 MB, free: 4.301 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.866e-06/0.2886, allocations: 0 / 447.9 MB, free: 4.301 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.001977/0.2906, allocations: 1.181 MB / 449.1 MB, free: 3.059 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.2906, allocations: 8.031 kB / 449.1 MB, free: 3.051 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.2908, allocations: 91.06 kB / 449.2 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009914/0.2918, allocations: 0.6888 MB / 449.9 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003093/0.2921, allocations: 346.9 kB / 450.3 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-05/0.2922, allocations: 68 kB / 450.3 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/0.294, allocations: 1.196 MB / 451.5 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.294, allocations: 0 / 451.5 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.095e-05/0.2941, allocations: 31.95 kB / 451.5 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.291e-05/0.2942, allocations: 45.22 kB / 451.6 MB, free: 476 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00243/0.2967, allocations: 1.289 MB / 452.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004775/0.3014, allocations: 3.543 MB / 456.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002284/0.3038, allocations: 1.046 MB / 457.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001507/0.3053, allocations: 0.7372 MB / 458.2 MB, free: 9.715 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.675e-05/0.3053, allocations: 12.55 kB / 458.2 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001459/0.3068, allocations: 0.7513 MB / 459 MB, free: 8.934 MB / 334.1 MB Notification: Performance of pre-optimization done (n=59): time 2.505e-06/0.3068, allocations: 0 / 459 MB, free: 8.934 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.01832/0.3252, allocations: 6.995 MB / 466 MB, free: 1.859 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/0.3253, allocations: 93.67 kB / 466.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005397/0.3258, allocations: 457.9 kB / 466.5 MB, free: 1.289 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.339e-05/0.3259, allocations: 45.7 kB / 466.5 MB, free: 1.238 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/0.3262, allocations: 320.3 kB / 466.9 MB, free: 0.918 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/0.3264, allocations: 205.1 kB / 467.1 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.477e-05/0.3264, allocations: 16 kB / 467.1 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3266, allocations: 370.8 kB / 467.4 MB, free: 336 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.3277, allocations: 0.5403 MB / 468 MB, free: 15.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.3288, allocations: 0.6676 MB / 468.6 MB, free: 15.08 MB / 350.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