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: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_latest_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.0007095/0.0007097, allocations: 90.45 kB / 16.31 MB, free: 5.621 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.0009964/0.0009964, allocations: 183 kB / 17.21 MB, free: 5.535 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.362/1.362, allocations: 223.2 MB / 241.2 MB, free: 316 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1761/0.1761, allocations: 38.09 MB / 330.4 MB, free: 8.844 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.000347, allocations: 8 kB / 400.2 MB, free: 34.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1211, allocations: 59.17 MB / 459.3 MB, free: 7.305 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid): time 0.009373/0.1306, allocations: 6.941 MB / 466.3 MB, free: 340 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00485/0.1355, allocations: 1.949 MB / 468.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.1367, allocations: 55.56 kB / 468.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000919/0.1377, allocations: 166.8 kB / 468.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001613/0.1393, allocations: 489.6 kB / 468.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.1403, allocations: 331.5 kB / 469.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001855/0.1422, allocations: 1.621 MB / 470.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000535/0.1427, allocations: 293.7 kB / 471.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008454/0.1436, allocations: 494 kB / 471.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009345/0.1445, allocations: 0.6115 MB / 472.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.654e-05/0.1446, allocations: 44 kB / 472.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.1448, allocations: 44 kB / 472.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004549/0.1452, allocations: 367 kB / 472.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002082/0.1455, allocations: 173.3 kB / 472.9 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.1466, allocations: 0.9001 MB / 473.8 MB, free: 8.816 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1467, allocations: 0 / 473.8 MB, free: 8.816 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1467, allocations: 0 / 473.8 MB, free: 8.816 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.719e-05/0.1467, allocations: 0 / 473.8 MB, free: 8.816 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.002628/0.1493, allocations: 1.177 MB / 474.9 MB, free: 7.574 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.1494, allocations: 12.03 kB / 474.9 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000155/0.1495, allocations: 118.5 kB / 475.1 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002898/0.1498, allocations: 94.97 kB / 475.2 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.1511, allocations: 0.685 MB / 475.8 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004419/0.1516, allocations: 358.8 kB / 476.2 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.1517, allocations: 67.98 kB / 476.3 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002366/0.1541, allocations: 1.2 MB / 477.5 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.1541, allocations: 3.938 kB / 477.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001746/0.1543, allocations: 31.98 kB / 477.5 MB, free: 4.879 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001187/0.1544, allocations: 37.28 kB / 477.5 MB, free: 4.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002717/0.1571, allocations: 1.285 MB / 478.8 MB, free: 3.555 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005637/0.1628, allocations: 3.547 MB / 482.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002615/0.1654, allocations: 1.047 MB / 483.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001664/0.1671, allocations: 0.7295 MB / 484.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.632e-05/0.1672, allocations: 20.48 kB / 484.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001535/0.1687, allocations: 0.7358 MB / 484.9 MB, free: 13.33 MB / 366.1 MB Notification: Performance of pre-optimization done (n=59): time 4.048e-06/0.1688, allocations: 3.984 kB / 484.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=61): time 0.01952/0.1883, allocations: 6.991 MB / 491.9 MB, free: 6.258 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.675e-05/0.1884, allocations: 97.66 kB / 492 MB, free: 6.145 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005996/0.189, allocations: 465.9 kB / 492.4 MB, free: 5.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.686e-05/0.1891, allocations: 41.69 kB / 492.5 MB, free: 5.633 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/0.1894, allocations: 324.2 kB / 492.8 MB, free: 5.309 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/0.1896, allocations: 205.1 kB / 493 MB, free: 5.105 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.974e-05/0.1897, allocations: 12 kB / 493 MB, free: 5.094 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.1899, allocations: 378.7 kB / 493.4 MB, free: 4.715 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/0.191, allocations: 0.5442 MB / 493.9 MB, free: 4.172 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/0.1923, allocations: 0.6648 MB / 494.6 MB, free: 3.465 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