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: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001533/0.001537, allocations: 190.7 kB / 15.77 MB, free: 5.988 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.965/1.965, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001203/0.001203, allocations: 94.84 kB / 270.2 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.3434/0.3434, allocations: 38.05 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004705/0.0004706, allocations: 12 kB / 422.7 MB, free: 26.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1093, allocations: 56.33 MB / 479 MB, free: 2.043 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid): time 0.01078/0.1201, allocations: 6.634 MB / 485.7 MB, free: 11.38 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005254/0.1254, allocations: 2.032 MB / 487.7 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008379/0.1263, allocations: 51.62 kB / 487.8 MB, free: 9.289 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007005/0.127, allocations: 163 kB / 487.9 MB, free: 9.129 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001544/0.1286, allocations: 386.8 kB / 488.3 MB, free: 8.75 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.1299, allocations: 315.4 kB / 488.6 MB, free: 8.441 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001648/0.1315, allocations: 0.7681 MB / 489.4 MB, free: 7.672 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006081/0.1322, allocations: 293.7 kB / 489.7 MB, free: 7.383 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.1333, allocations: 458.5 kB / 490.1 MB, free: 6.934 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001102/0.1345, allocations: 462.6 kB / 490.6 MB, free: 6.48 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001963/0.1347, allocations: 44 kB / 490.6 MB, free: 6.438 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002296/0.1349, allocations: 40 kB / 490.6 MB, free: 6.398 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005459/0.1355, allocations: 331.2 kB / 491 MB, free: 6.074 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003007/0.1358, allocations: 177.3 kB / 491.1 MB, free: 5.895 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001362/0.1372, allocations: 0.8923 MB / 492 MB, free: 5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1372, allocations: 0 / 492 MB, free: 5 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1372, allocations: 4 kB / 492 MB, free: 4.996 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.9e-05/0.1372, allocations: 0 / 492 MB, free: 4.996 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.00417/0.1414, allocations: 1.177 MB / 493.2 MB, free: 3.758 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.1415, allocations: 12.03 kB / 493.2 MB, free: 3.746 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003514/0.1418, allocations: 94.97 kB / 493.3 MB, free: 3.652 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002328/0.1442, allocations: 0.6888 MB / 494 MB, free: 2.922 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007127/0.1449, allocations: 350.9 kB / 494.3 MB, free: 2.527 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002583/0.1452, allocations: 67.98 kB / 494.4 MB, free: 2.461 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004372/0.1496, allocations: 1.192 MB / 495.6 MB, free: 1.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/0.1497, allocations: 0 / 495.6 MB, free: 1.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/0.1498, allocations: 35.94 kB / 495.6 MB, free: 1.195 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001996/0.15, allocations: 37.28 kB / 495.7 MB, free: 1.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005627/0.1557, allocations: 1.285 MB / 497 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009717/0.1654, allocations: 3.543 MB / 0.4888 GB, free: 12.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004913/0.1704, allocations: 1.058 MB / 0.4898 GB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.1706, allocations: 4.625 kB / 0.4898 GB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003034/0.1736, allocations: 0.7435 MB / 0.4905 GB, free: 10.38 MB / 346.7 MB Notification: Performance of pre-optimization done (n=59): time 3.778e-06/0.1737, allocations: 3.938 kB / 0.4905 GB, free: 10.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=61): time 0.04014/0.2138, allocations: 6.851 MB / 0.4972 GB, free: 3.445 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.288e-05/0.2139, allocations: 89.66 kB / 0.4973 GB, free: 3.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008272/0.2148, allocations: 461.9 kB / 0.4978 GB, free: 2.879 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001884/0.215, allocations: 45.7 kB / 0.4978 GB, free: 2.828 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003218/0.2153, allocations: 358.7 kB / 0.4981 GB, free: 2.473 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002923/0.2156, allocations: 201.1 kB / 0.4983 GB, free: 2.273 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.12e-05/0.2157, allocations: 16 kB / 0.4983 GB, free: 2.258 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.2159, allocations: 338.8 kB / 0.4987 GB, free: 1.918 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002195/0.2181, allocations: 0.5364 MB / 0.4992 GB, free: 1.383 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002347/0.2205, allocations: 0.6648 MB / 0.4998 GB, free: 0.6719 MB / 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