Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001527/0.001533, allocations: 188.3 kB / 15.77 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.93/1.93, allocations: 205.4 MB / 221.9 MB, free: 13.81 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 86.88 kB / 270.2 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2586/0.2586, allocations: 38.07 MB / 356.6 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004404/0.0004405, allocations: 16 kB / 422.8 MB, free: 26.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.11, allocations: 56.33 MB / 479.1 MB, free: 1.949 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid): time 0.0109/0.121, allocations: 6.634 MB / 485.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005198/0.1262, allocations: 2.044 MB / 487.8 MB, free: 9.234 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007989/0.1271, allocations: 43.69 kB / 487.9 MB, free: 9.191 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006472/0.1277, allocations: 159 kB / 488 MB, free: 9.035 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001486/0.1292, allocations: 390.7 kB / 488.4 MB, free: 8.652 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.1305, allocations: 315.5 kB / 488.7 MB, free: 8.344 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001559/0.1321, allocations: 0.7759 MB / 489.5 MB, free: 7.566 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005881/0.1327, allocations: 289.8 kB / 489.8 MB, free: 7.281 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001046/0.1337, allocations: 450.5 kB / 490.2 MB, free: 6.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009877/0.1348, allocations: 462.6 kB / 490.7 MB, free: 6.387 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001627/0.1349, allocations: 48 kB / 490.7 MB, free: 6.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.1352, allocations: 44 kB / 490.7 MB, free: 6.297 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005389/0.1357, allocations: 335.2 kB / 491.1 MB, free: 5.969 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002658/0.136, allocations: 169.3 kB / 491.2 MB, free: 5.797 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.1373, allocations: 0.8962 MB / 492.1 MB, free: 4.898 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1373, allocations: 0 / 492.1 MB, free: 4.898 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.1373, allocations: 0 / 492.1 MB, free: 4.898 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.1373, allocations: 0 / 492.1 MB, free: 4.898 MB / 330.7 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.004169/0.1415, allocations: 1.181 MB / 493.3 MB, free: 3.656 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.1416, allocations: 11.97 kB / 493.3 MB, free: 3.645 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003046/0.1419, allocations: 118.5 kB / 493.4 MB, free: 3.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002665/0.1422, allocations: 94.97 kB / 493.5 MB, free: 3.426 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002336/0.1445, allocations: 0.681 MB / 494.2 MB, free: 2.703 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008104/0.1454, allocations: 358.8 kB / 494.6 MB, free: 2.301 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002694/0.1457, allocations: 64 kB / 494.6 MB, free: 2.238 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004461/0.1501, allocations: 1.196 MB / 495.8 MB, free: 1.004 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/0.1502, allocations: 3.953 kB / 495.8 MB, free: 1 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00014/0.1504, allocations: 28 kB / 495.9 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002018/0.1506, allocations: 41.22 kB / 495.9 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005651/0.1562, allocations: 1.281 MB / 497.2 MB, free: 15.65 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009396/0.1657, allocations: 3.555 MB / 0.489 GB, free: 11.99 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004879/0.1706, allocations: 1.042 MB / 0.49 GB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.403e-05/0.1707, allocations: 4.625 kB / 0.49 GB, free: 10.92 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003086/0.1738, allocations: 0.7435 MB / 0.4907 GB, free: 10.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=59): time 3.567e-06/0.1739, allocations: 4 kB / 0.4907 GB, free: 10.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=61): time 0.04019/0.2141, allocations: 6.847 MB / 0.4974 GB, free: 3.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.957e-05/0.2142, allocations: 93.66 kB / 0.4975 GB, free: 3.121 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008289/0.2151, allocations: 457.9 kB / 0.498 GB, free: 2.664 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001946/0.2153, allocations: 45.69 kB / 0.498 GB, free: 2.613 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003238/0.2156, allocations: 354.7 kB / 0.4983 GB, free: 2.262 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002941/0.2159, allocations: 205.1 kB / 0.4985 GB, free: 2.059 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.285e-05/0.216, allocations: 16 kB / 0.4986 GB, free: 2.043 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.2162, allocations: 342.8 kB / 0.4989 GB, free: 1.699 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002254/0.2184, allocations: 0.5364 MB / 0.4994 GB, free: 1.164 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002365/0.2208, allocations: 0.657 MB / 0.5 GB, free: 472 kB / 346.7 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