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: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_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.001009/0.00101, allocations: 91.48 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.0008279/0.000828, allocations: 180.6 kB / 17.2 MB, free: 6.34 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.24/1.24, allocations: 223.2 MB / 241.1 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2771/0.2771, allocations: 38.07 MB / 330.3 MB, free: 14.25 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002984/0.0002984, allocations: 8 kB / 400 MB, free: 9.301 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2576, allocations: 59.16 MB / 459.1 MB, free: 30.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid): time 0.005623/0.2633, allocations: 6.626 MB / 465.8 MB, free: 25.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002869/0.2662, allocations: 2.003 MB / 467.8 MB, free: 24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003999/0.2666, allocations: 50.94 kB / 467.8 MB, free: 23.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003977/0.267, allocations: 157.2 kB / 468 MB, free: 23.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007712/0.2678, allocations: 386.7 kB / 468.3 MB, free: 23.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006194/0.2684, allocations: 324.1 kB / 468.7 MB, free: 23.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000796/0.2692, allocations: 0.771 MB / 469.4 MB, free: 23.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000368/0.2696, allocations: 289.5 kB / 469.7 MB, free: 23.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005381/0.2701, allocations: 447.5 kB / 470.1 MB, free: 22.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006078/0.2708, allocations: 466.8 kB / 470.6 MB, free: 22.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.993e-05/0.2709, allocations: 42.38 kB / 470.6 MB, free: 22.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.271, allocations: 42.78 kB / 470.7 MB, free: 22.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003343/0.2713, allocations: 331 kB / 471 MB, free: 22.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.2715, allocations: 177.5 kB / 471.2 MB, free: 22.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008579/0.2724, allocations: 0.8907 MB / 472.1 MB, free: 22.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.2724, allocations: 0 / 472.1 MB, free: 22.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2724, allocations: 0 / 472.1 MB, free: 22.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.2724, allocations: 0 / 472.1 MB, free: 22.34 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.002195/0.2746, allocations: 1.184 MB / 473.3 MB, free: 21.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.2746, allocations: 9.062 kB / 473.3 MB, free: 21.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.2748, allocations: 95.09 kB / 473.4 MB, free: 21.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.2761, allocations: 0.6798 MB / 474 MB, free: 21.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003529/0.2765, allocations: 356.7 kB / 474.4 MB, free: 20.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.2766, allocations: 64.66 kB / 474.4 MB, free: 20.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002229/0.2788, allocations: 1.195 MB / 475.6 MB, free: 20.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.2789, allocations: 0.8438 kB / 475.6 MB, free: 20.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.777e-05/0.2789, allocations: 21.81 kB / 475.7 MB, free: 20.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001116/0.2791, allocations: 43.16 kB / 475.7 MB, free: 20.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002938/0.282, allocations: 1.288 MB / 477 MB, free: 19.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004959/0.287, allocations: 3.559 MB / 480.6 MB, free: 17.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00227/0.2893, allocations: 1.044 MB / 481.6 MB, free: 16.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.437e-05/0.2893, allocations: 10.38 kB / 481.6 MB, free: 16.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001405/0.2907, allocations: 0.7478 MB / 482.4 MB, free: 16.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=59): time 2.505e-06/0.2907, allocations: 1.062 kB / 482.4 MB, free: 16.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.01721/0.308, allocations: 6.849 MB / 489.2 MB, free: 9.527 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.308, allocations: 89.67 kB / 489.3 MB, free: 9.418 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004313/0.3085, allocations: 461.9 kB / 489.7 MB, free: 8.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.084e-05/0.3085, allocations: 41.7 kB / 489.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.3087, allocations: 324.3 kB / 490.1 MB, free: 8.586 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.3089, allocations: 213 kB / 490.3 MB, free: 8.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.3089, allocations: 12 kB / 490.3 MB, free: 8.363 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.333e-05/0.309, allocations: 370.7 kB / 490.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009236/0.3099, allocations: 0.5403 MB / 491.2 MB, free: 7.453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009242/0.3109, allocations: 0.657 MB / 491.9 MB, free: 6.754 MB / 350.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