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.0008475/0.0008475, allocations: 89.77 kB / 16.32 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.0009274/0.0009275, allocations: 178.9 kB / 17.21 MB, free: 6.328 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.212/1.212, allocations: 223.3 MB / 241.2 MB, free: 328 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.159/0.159, allocations: 38.09 MB / 330.4 MB, free: 8.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002617/0.0002617, allocations: 8 kB / 400.1 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08523/0.0855, allocations: 59.17 MB / 459.2 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid): time 0.006416/0.09196, allocations: 6.941 MB / 466.2 MB, free: 488 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002785/0.09477, allocations: 1.953 MB / 468.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003367/0.09512, allocations: 47.69 kB / 468.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003999/0.09553, allocations: 166.8 kB / 468.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007962/0.09634, allocations: 493.5 kB / 468.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005763/0.09693, allocations: 327.6 kB / 469.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0013/0.09824, allocations: 1.617 MB / 470.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003556/0.09861, allocations: 293.7 kB / 471.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000553/0.09917, allocations: 498 kB / 471.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007576/0.09993, allocations: 0.6115 MB / 472.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.968e-05/0.1, allocations: 44 kB / 472.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.1002, allocations: 44 kB / 472.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003423/0.1005, allocations: 359.1 kB / 472.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.1007, allocations: 173.3 kB / 472.8 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007058/0.1014, allocations: 0.9001 MB / 473.7 MB, free: 8.973 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1014, allocations: 0 / 473.7 MB, free: 8.973 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1014, allocations: 0 / 473.7 MB, free: 8.973 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.1014, allocations: 0 / 473.7 MB, free: 8.973 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.002135/0.1036, allocations: 1.188 MB / 474.9 MB, free: 7.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.802e-05/0.1036, allocations: 12.03 kB / 474.9 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/0.1038, allocations: 98.91 kB / 475 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.1049, allocations: 0.6811 MB / 475.6 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004034/0.1053, allocations: 350.9 kB / 476 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.1055, allocations: 64 kB / 476 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00208/0.1076, allocations: 1.2 MB / 477.2 MB, free: 5.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.1076, allocations: 15.92 kB / 477.3 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.961e-05/0.1077, allocations: 24 kB / 477.3 MB, free: 5.156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.609e-05/0.1078, allocations: 37.28 kB / 477.3 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002536/0.1103, allocations: 1.285 MB / 478.6 MB, free: 3.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004511/0.1148, allocations: 3.551 MB / 482.2 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00227/0.1171, allocations: 1.043 MB / 483.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001491/0.1186, allocations: 0.7372 MB / 483.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.647e-05/0.1187, allocations: 8.562 kB / 483.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001418/0.1201, allocations: 0.7397 MB / 484.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=59): time 2.244e-06/0.1201, allocations: 0 / 484.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=61): time 0.01831/0.1384, allocations: 6.995 MB / 491.7 MB, free: 6.535 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/0.1385, allocations: 101.6 kB / 491.8 MB, free: 6.418 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004673/0.139, allocations: 457.9 kB / 492.2 MB, free: 5.961 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.232e-05/0.1391, allocations: 45.7 kB / 492.3 MB, free: 5.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/0.1393, allocations: 320.2 kB / 492.6 MB, free: 5.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.1395, allocations: 205.1 kB / 492.8 MB, free: 5.387 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.515e-05/0.1395, allocations: 16 kB / 492.8 MB, free: 5.371 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1397, allocations: 374.7 kB / 493.2 MB, free: 4.996 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.1408, allocations: 0.5442 MB / 493.7 MB, free: 4.453 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/0.1419, allocations: 0.6648 MB / 494.4 MB, free: 3.746 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