Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_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.0008427/0.0008428, allocations: 91.56 kB / 16.95 MB, free: 5.648 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.0008652/0.0008653, allocations: 182.5 kB / 17.84 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 223.2 MB / 241.8 MB, free: 300 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1746/0.1746, allocations: 38.1 MB / 331.1 MB, free: 8.828 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003014/0.0003014, allocations: 8.5 kB / 400.7 MB, free: 34.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.113, allocations: 59.16 MB / 459.9 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid): time 0.007458/0.1205, allocations: 6.945 MB / 466.8 MB, free: 424 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005052/0.1256, allocations: 1.949 MB / 468.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000829/0.1265, allocations: 51.62 kB / 468.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006103/0.1271, allocations: 162.8 kB / 469 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.1284, allocations: 493.5 kB / 469.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008416/0.1292, allocations: 331.4 kB / 469.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001617/0.1308, allocations: 1.617 MB / 471.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004712/0.1313, allocations: 289.7 kB / 471.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000805/0.1321, allocations: 0.4903 MB / 472.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008684/0.133, allocations: 0.6154 MB / 472.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.183e-05/0.1331, allocations: 47.94 kB / 472.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.1332, allocations: 40 kB / 472.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003544/0.1336, allocations: 359.1 kB / 473.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.1338, allocations: 177.3 kB / 473.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000781/0.1346, allocations: 0.9001 MB / 474.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.1346, allocations: 4 kB / 474.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1346, allocations: 0 / 474.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.447e-06/0.1346, allocations: 0 / 474.3 MB, free: 8.898 MB / 350.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.002412/0.137, allocations: 1.177 MB / 475.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.1371, allocations: 12.03 kB / 475.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/0.1373, allocations: 94.97 kB / 475.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.1385, allocations: 0.6927 MB / 476.3 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003927/0.1389, allocations: 350.9 kB / 476.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.139, allocations: 68 kB / 476.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002282/0.1413, allocations: 1.2 MB / 477.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.1413, allocations: 0 / 477.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-05/0.1414, allocations: 28 kB / 477.9 MB, free: 5.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001196/0.1415, allocations: 37.28 kB / 477.9 MB, free: 5.055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002586/0.1441, allocations: 1.281 MB / 479.2 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004833/0.149, allocations: 3.543 MB / 482.8 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002302/0.1513, allocations: 1.055 MB / 483.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001507/0.1528, allocations: 0.7371 MB / 484.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.458e-05/0.1529, allocations: 8.562 kB / 484.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001576/0.1545, allocations: 0.7435 MB / 485.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=59): time 2.384e-06/0.1545, allocations: 0 / 485.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=61): time 0.01852/0.173, allocations: 6.995 MB / 492.3 MB, free: 6.469 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/0.1731, allocations: 93.66 kB / 492.4 MB, free: 6.359 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005594/0.1737, allocations: 461.9 kB / 492.8 MB, free: 5.898 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001104/0.1738, allocations: 41.7 kB / 492.9 MB, free: 5.852 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/0.174, allocations: 328.2 kB / 493.2 MB, free: 5.523 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001791/0.1742, allocations: 197.2 kB / 493.4 MB, free: 5.328 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.606e-05/0.1743, allocations: 16 kB / 493.4 MB, free: 5.312 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1744, allocations: 370.7 kB / 493.8 MB, free: 4.941 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.1755, allocations: 0.5442 MB / 494.3 MB, free: 4.398 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.1766, allocations: 0.6609 MB / 495 MB, free: 3.695 MB / 366.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