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: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToGrid",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.0007898/0.0007901, allocations: 91.02 kB / 16.31 MB, free: 5.66 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.001008/0.001008, allocations: 179.3 kB / 17.21 MB, free: 5.578 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.649/1.649, allocations: 205.4 MB / 223.4 MB, free: 5.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3453/0.3453, allocations: 38.06 MB / 309.7 MB, free: 8.898 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.0004987/0.0004988, allocations: 14.19 kB / 376.6 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1241, allocations: 56.34 MB / 433 MB, free: 6.75 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid): time 0.007251/0.1314, allocations: 6.937 MB / 439.9 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003537/0.135, allocations: 2 MB / 441.9 MB, free: 13.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005987/0.1357, allocations: 55.62 kB / 441.9 MB, free: 13.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005299/0.1362, allocations: 162.8 kB / 442.1 MB, free: 13.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001108/0.1373, allocations: 489.5 kB / 442.6 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007043/0.1381, allocations: 327.5 kB / 442.9 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001647/0.1397, allocations: 1.625 MB / 444.5 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000422/0.1401, allocations: 297.6 kB / 444.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008006/0.141, allocations: 494 kB / 445.3 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.142, allocations: 0.6193 MB / 445.9 MB, free: 9.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.415e-05/0.1421, allocations: 44 kB / 446 MB, free: 9.688 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.1423, allocations: 44 kB / 446 MB, free: 9.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004347/0.1427, allocations: 359.1 kB / 446.4 MB, free: 9.293 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002291/0.143, allocations: 181.2 kB / 446.5 MB, free: 9.109 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009474/0.1439, allocations: 0.8961 MB / 447.4 MB, free: 8.211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.307e-06/0.1439, allocations: 4 kB / 447.4 MB, free: 8.207 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1439, allocations: 0 / 447.4 MB, free: 8.207 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.144, allocations: 0 / 447.4 MB, free: 8.207 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.002707/0.1467, allocations: 1.184 MB / 448.6 MB, free: 6.953 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.1467, allocations: 8.031 kB / 448.6 MB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001447/0.1469, allocations: 118.4 kB / 448.7 MB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.147, allocations: 91.06 kB / 448.8 MB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.1482, allocations: 0.685 MB / 449.5 MB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004039/0.1486, allocations: 354.8 kB / 449.9 MB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.1487, allocations: 68 kB / 449.9 MB, free: 5.547 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002307/0.1511, allocations: 1.2 MB / 451.1 MB, free: 4.309 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.1511, allocations: 0 / 451.1 MB, free: 4.309 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.697e-05/0.1512, allocations: 28 kB / 451.2 MB, free: 4.281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001067/0.1513, allocations: 41.28 kB / 451.2 MB, free: 4.238 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002584/0.1539, allocations: 1.281 MB / 452.5 MB, free: 2.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2257/0.3796, allocations: 3.534 MB / 456 MB, free: 50.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002112/0.3817, allocations: 1.056 MB / 457.1 MB, free: 50.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001343/0.3831, allocations: 0.7381 MB / 457.8 MB, free: 50.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.06e-05/0.3832, allocations: 10.59 kB / 457.8 MB, free: 50.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001268/0.3844, allocations: 0.7376 MB / 458.6 MB, free: 50.22 MB / 382.1 MB Notification: Performance of pre-optimization done (n=59): time 2.595e-06/0.3845, allocations: 0 / 458.6 MB, free: 50.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=61): time 0.0169/0.4014, allocations: 7.004 MB / 465.6 MB, free: 49.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.4015, allocations: 90.36 kB / 465.6 MB, free: 49.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004675/0.4019, allocations: 459.5 kB / 466.1 MB, free: 49.28 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.631e-05/0.402, allocations: 41.64 kB / 466.1 MB, free: 49.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.4022, allocations: 323.6 kB / 466.4 MB, free: 49.08 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.4023, allocations: 211.9 kB / 466.7 MB, free: 48.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.825e-05/0.4024, allocations: 11.34 kB / 466.7 MB, free: 48.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.4025, allocations: 369.5 kB / 467 MB, free: 48.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.4035, allocations: 0.5392 MB / 467.6 MB, free: 48.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.4046, allocations: 0.6618 MB / 468.2 MB, free: 48.5 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