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.001031/0.001031, allocations: 175.9 kB / 15.78 MB, free: 6.348 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.579/1.579, 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.000859/0.0008589, allocations: 102.2 kB / 270.3 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.2028/0.2028, allocations: 38.06 MB / 356.6 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003614, allocations: 15.98 kB / 422.7 MB, free: 26.4 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.108, allocations: 56.33 MB / 479.1 MB, free: 2.02 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid): time 0.007159/0.1152, allocations: 6.928 MB / 486 MB, free: 11.06 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003332/0.1186, allocations: 2.004 MB / 488 MB, free: 9.047 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005578/0.1191, allocations: 47.69 kB / 488 MB, free: 9 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005263/0.1197, allocations: 170.8 kB / 488.2 MB, free: 8.832 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009882/0.1207, allocations: 489.5 kB / 488.7 MB, free: 8.352 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000739/0.1214, allocations: 331.5 kB / 489 MB, free: 8.027 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001422/0.1229, allocations: 1.613 MB / 490.6 MB, free: 6.41 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003943/0.1233, allocations: 297.7 kB / 490.9 MB, free: 6.117 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006453/0.1239, allocations: 498 kB / 491.4 MB, free: 5.629 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007856/0.1247, allocations: 0.6154 MB / 492 MB, free: 5.012 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.798e-05/0.1248, allocations: 47.94 kB / 492.1 MB, free: 4.965 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.125, allocations: 44 kB / 492.1 MB, free: 4.922 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003644/0.1253, allocations: 359.1 kB / 492.5 MB, free: 4.57 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.1255, allocations: 169.3 kB / 492.6 MB, free: 4.398 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007282/0.1263, allocations: 0.9001 MB / 493.5 MB, free: 3.496 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.1263, allocations: 4 kB / 493.5 MB, free: 3.492 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1263, allocations: 0 / 493.5 MB, free: 3.492 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.1263, allocations: 0 / 493.5 MB, free: 3.492 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.002351/0.1287, allocations: 1.181 MB / 494.7 MB, free: 2.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1287, allocations: 8.031 kB / 494.7 MB, free: 2.242 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001663/0.1289, allocations: 94.97 kB / 494.8 MB, free: 2.148 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.1301, allocations: 0.6811 MB / 495.5 MB, free: 1.426 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004051/0.1305, allocations: 354.8 kB / 495.8 MB, free: 1.027 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.1306, allocations: 67.98 kB / 495.9 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002293/0.1329, allocations: 1.2 MB / 497.1 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.133, allocations: 4 kB / 497.1 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/0.1331, allocations: 35.94 kB / 497.1 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001127/0.1332, allocations: 33.3 kB / 497.2 MB, free: 15.65 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002803/0.136, allocations: 1.289 MB / 498.5 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005406/0.1414, allocations: 3.547 MB / 0.4902 GB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002607/0.1441, allocations: 1.054 MB / 0.4913 GB, free: 9.633 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001738/0.1458, allocations: 0.7372 MB / 0.492 GB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.083e-05/0.1459, allocations: 8.562 kB / 0.492 GB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001602/0.1475, allocations: 0.7474 MB / 0.4927 GB, free: 8.117 MB / 346.7 MB Notification: Performance of pre-optimization done (n=59): time 3.276e-06/0.1475, allocations: 3.938 kB / 0.4927 GB, free: 8.113 MB / 346.7 MB Notification: Performance of matching and sorting (n=61): time 0.02156/0.1691, allocations: 6.995 MB / 0.4996 GB, free: 1.039 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.141e-05/0.1692, allocations: 101.6 kB / 0.4997 GB, free: 0.918 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005655/0.1698, allocations: 461.9 kB / 0.5001 GB, free: 468 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.6e-05/0.1699, allocations: 41.7 kB / 0.5001 GB, free: 420 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002431/0.1701, allocations: 324.2 kB / 0.5005 GB, free: 88 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/0.1703, allocations: 201.4 kB / 0.5006 GB, free: 15.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.821e-05/0.1704, allocations: 16 kB / 0.5007 GB, free: 15.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1706, allocations: 370.8 kB / 0.501 GB, free: 15.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.1717, allocations: 0.5442 MB / 0.5015 GB, free: 14.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/0.173, allocations: 0.6609 MB / 0.5022 GB, free: 14.25 MB / 362.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. Use -d=initialization for more information. Error: No system for the symbolic initialization was generated