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.0009819/0.0009818, allocations: 91.84 kB / 16.3 MB, free: 5.996 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.001216/0.001216, allocations: 187.2 kB / 17.2 MB, free: 5.91 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.425/1.425, allocations: 205.4 MB / 223.3 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2989/0.2989, allocations: 38.06 MB / 309.7 MB, free: 8.871 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.0005084/0.0005084, allocations: 18.19 kB / 376.6 MB, free: 15.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1038, allocations: 56.34 MB / 432.9 MB, free: 6.633 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid): time 0.006843/0.1107, allocations: 6.631 MB / 439.6 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003777/0.1145, allocations: 2.036 MB / 441.6 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005598/0.1151, allocations: 47.62 kB / 441.6 MB, free: 13.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004738/0.1156, allocations: 155 kB / 441.8 MB, free: 13.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009769/0.1166, allocations: 394.7 kB / 442.2 MB, free: 13.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008228/0.1174, allocations: 319.4 kB / 442.5 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000841/0.1183, allocations: 0.772 MB / 443.3 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003787/0.1187, allocations: 293.7 kB / 443.5 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005572/0.1192, allocations: 450.6 kB / 444 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006179/0.1199, allocations: 458.6 kB / 444.4 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.312e-05/0.12, allocations: 44 kB / 444.5 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.1201, allocations: 44 kB / 444.5 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003281/0.1204, allocations: 343.2 kB / 444.9 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.1206, allocations: 173.3 kB / 445 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007169/0.1213, allocations: 0.9001 MB / 445.9 MB, free: 9.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.1213, allocations: 4 kB / 445.9 MB, free: 9.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1213, allocations: 0 / 445.9 MB, free: 9.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.1214, allocations: 0 / 445.9 MB, free: 9.57 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.002331/0.1237, allocations: 1.177 MB / 447.1 MB, free: 8.324 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1237, allocations: 12.03 kB / 447.1 MB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001653/0.1239, allocations: 122.5 kB / 447.2 MB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.1241, allocations: 91.06 kB / 447.3 MB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.1254, allocations: 0.6771 MB / 448 MB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004036/0.1259, allocations: 354.8 kB / 448.3 MB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.126, allocations: 71.95 kB / 448.4 MB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002238/0.1283, allocations: 1.192 MB / 449.6 MB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.1283, allocations: 0 / 449.6 MB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.692e-05/0.1284, allocations: 28 kB / 449.6 MB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001154/0.1285, allocations: 37.28 kB / 449.7 MB, free: 5.617 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002724/0.1312, allocations: 1.285 MB / 451 MB, free: 4.332 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005502/0.1367, allocations: 3.543 MB / 454.5 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1924/0.3292, allocations: 1.047 MB / 455.6 MB, free: 51.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.215e-05/0.3293, allocations: 5.844 kB / 455.6 MB, free: 51.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001458/0.3308, allocations: 0.7438 MB / 456.3 MB, free: 51.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=59): time 2.484e-06/0.3308, allocations: 0 / 456.3 MB, free: 51.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=61): time 0.01908/0.3499, allocations: 6.85 MB / 463.2 MB, free: 50.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.35, allocations: 89.81 kB / 463.2 MB, free: 50.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004251/0.3504, allocations: 465.8 kB / 463.7 MB, free: 50.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.925e-05/0.3505, allocations: 42.69 kB / 463.7 MB, free: 50.42 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.3507, allocations: 320.8 kB / 464 MB, free: 50.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/0.3509, allocations: 210.4 kB / 464.3 MB, free: 50.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.3509, allocations: 16.94 kB / 464.3 MB, free: 50.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3511, allocations: 366.7 kB / 464.6 MB, free: 49.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.3522, allocations: 0.5439 MB / 465.2 MB, free: 49.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.3532, allocations: 0.6576 MB / 465.8 MB, free: 49.68 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. Error: No system for the symbolic initialization was generated