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: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_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.001352/0.001352, allocations: 93.88 kB / 16.3 MB, free: 6.457 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.001309/0.001309, allocations: 180.1 kB / 17.19 MB, free: 6.34 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.654/1.654, allocations: 205.4 MB / 223.3 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2028/0.2028, allocations: 38.04 MB / 309.7 MB, free: 6.145 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.0005458/0.000546, allocations: 16 kB / 376.5 MB, free: 3.219 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3083, allocations: 56.33 MB / 432.8 MB, free: 18.87 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid): time 0.006097/0.3144, allocations: 6.637 MB / 439.4 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003533/0.318, allocations: 2.036 MB / 441.5 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008311/0.3189, allocations: 51.62 kB / 441.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005366/0.3194, allocations: 159 kB / 441.7 MB, free: 9.953 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001116/0.3206, allocations: 390.7 kB / 442.1 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000797/0.3214, allocations: 315.5 kB / 442.4 MB, free: 9.262 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008177/0.3222, allocations: 0.772 MB / 443.1 MB, free: 8.488 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003801/0.3226, allocations: 289.7 kB / 443.4 MB, free: 8.203 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005768/0.3232, allocations: 450.6 kB / 443.9 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005618/0.3237, allocations: 466.6 kB / 444.3 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.797e-05/0.3238, allocations: 44 kB / 444.4 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.324, allocations: 40 kB / 444.4 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000281/0.3242, allocations: 331.2 kB / 444.7 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.3244, allocations: 177.3 kB / 444.9 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006167/0.3251, allocations: 0.8923 MB / 445.8 MB, free: 5.824 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3251, allocations: 0 / 445.8 MB, free: 5.824 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.3251, allocations: 0 / 445.8 MB, free: 5.824 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.3251, allocations: 0 / 445.8 MB, free: 5.824 MB / 318.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.00235/0.3275, allocations: 1.184 MB / 447 MB, free: 4.578 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.3275, allocations: 12.03 kB / 447 MB, free: 4.566 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.3277, allocations: 91.06 kB / 447.1 MB, free: 4.477 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.329, allocations: 0.6849 MB / 447.8 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003387/0.3293, allocations: 358.9 kB / 448.1 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.3294, allocations: 68 kB / 448.2 MB, free: 3.281 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/0.3314, allocations: 1.192 MB / 449.4 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.3314, allocations: 0 / 449.4 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-05/0.3315, allocations: 31.95 kB / 449.4 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/0.3316, allocations: 41.28 kB / 449.4 MB, free: 1.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002356/0.3339, allocations: 1.281 MB / 450.7 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005446/0.3394, allocations: 3.543 MB / 454.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002622/0.342, allocations: 1.062 MB / 455.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.359e-05/0.3421, allocations: 8.625 kB / 455.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001573/0.3437, allocations: 0.7397 MB / 456.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of pre-optimization done (n=59): time 2.525e-06/0.3437, allocations: 0 / 456.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.02044/0.3641, allocations: 6.851 MB / 462.9 MB, free: 4.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/0.3642, allocations: 93.67 kB / 463 MB, free: 4.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006266/0.3649, allocations: 461.9 kB / 463.5 MB, free: 3.699 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.365, allocations: 41.7 kB / 463.5 MB, free: 3.652 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002696/0.3653, allocations: 328.2 kB / 463.8 MB, free: 3.324 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/0.3655, allocations: 205.1 kB / 464 MB, free: 3.121 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.3655, allocations: 12 kB / 464 MB, free: 3.109 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3657, allocations: 366.8 kB / 464.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.3669, allocations: 0.548 MB / 464.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.3681, allocations: 0.6609 MB / 465.6 MB, free: 1.488 MB / 334.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