Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009868/0.0009868, allocations: 114.3 kB / 17.75 MB, free: 5.332 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.001035/0.001035, allocations: 185.3 kB / 18.68 MB, free: 4.41 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.327/1.327, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1811/0.1811, allocations: 38.03 MB / 330.6 MB, free: 8.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.89 kB / 458.8 MB, free: 6.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2816, allocations: 58.06 MB / 0.5048 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.006691/0.2883, allocations: 6.992 MB / 0.5116 GB, free: 2.977 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003616/0.2919, allocations: 2.371 MB / 0.5139 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000455/0.2924, allocations: 29.81 kB / 0.5139 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.2938, allocations: 0.5227 MB / 0.5144 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001254/0.295, allocations: 0.6094 MB / 0.515 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.2961, allocations: 0.5044 MB / 0.5155 GB, free: 460 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002035/0.2982, allocations: 1.998 MB / 0.5175 GB, free: 15.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/0.2995, allocations: 0.9159 MB / 0.5184 GB, free: 15.17 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001446/0.3009, allocations: 0.7997 MB / 0.5192 GB, free: 14.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001359/0.3023, allocations: 0.9442 MB / 0.5201 GB, free: 14.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000285/0.3026, allocations: 159.9 kB / 0.5202 GB, free: 14.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001222/0.3039, allocations: 0.6521 MB / 0.5209 GB, free: 14.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007412/0.3046, allocations: 0.6458 MB / 0.5215 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008542/0.3055, allocations: 0.6914 MB / 0.5222 GB, free: 13.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002457/0.3079, allocations: 2.061 MB / 0.5242 GB, free: 12.99 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.308, allocations: 0 / 0.5242 GB, free: 12.99 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.308, allocations: 0 / 0.5242 GB, free: 12.99 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.606e-05/0.308, allocations: 0 / 0.5242 GB, free: 12.99 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.004991/0.313, allocations: 1.877 MB / 0.526 GB, free: 11.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.313, allocations: 16.64 kB / 0.526 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009333/0.314, allocations: 183.3 kB / 0.5262 GB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002235/0.3162, allocations: 0.9308 MB / 0.5271 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006145/0.3169, allocations: 0.499 MB / 0.5276 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000294/0.3172, allocations: 108.5 kB / 0.5277 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004472/0.3216, allocations: 2.043 MB / 0.5297 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.012e-05/0.3217, allocations: 1.188 kB / 0.5297 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001671/0.3219, allocations: 44.47 kB / 0.5297 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002437/0.3221, allocations: 89.27 kB / 0.5298 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005262/0.3274, allocations: 2.249 MB / 0.532 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009821/0.3372, allocations: 5.756 MB / 0.5377 GB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004347/0.3416, allocations: 1.609 MB / 0.5392 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002636/0.3443, allocations: 1.117 MB / 0.5403 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.499e-05/0.3444, allocations: 25.23 kB / 0.5403 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00292/0.3473, allocations: 1.309 MB / 0.5416 GB, free: 2.156 MB / 398.1 MB Notification: Performance of pre-optimization done (n=116): time 3.046e-06/0.3473, allocations: 0 / 0.5416 GB, free: 2.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=118): time 0.02871/0.376, allocations: 8.581 MB / 0.55 GB, free: 9.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.049e-05/0.3761, allocations: 98.11 kB / 0.5501 GB, free: 9.637 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000643/0.3768, allocations: 0.5143 MB / 0.5506 GB, free: 9.113 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002162/0.377, allocations: 61.67 kB / 0.5506 GB, free: 9.047 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/0.3773, allocations: 400.2 kB / 0.551 GB, free: 8.648 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004247/0.3778, allocations: 394.5 kB / 0.5514 GB, free: 8.258 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004476/0.3782, allocations: 226.7 kB / 0.5516 GB, free: 8.027 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.3784, allocations: 402.7 kB / 0.552 GB, free: 7.625 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002052/0.3805, allocations: 0.9706 MB / 0.553 GB, free: 6.656 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002202/0.3827, allocations: 1.164 MB / 0.5541 GB, free: 5.438 MB / 414.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01293/0.3956, allocations: 5.01 MB / 0.559 GB, free: 360 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.3956, allocations: 0 / 0.559 GB, free: 360 kB / 414.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01403/0.4097, allocations: 4.359 MB / 0.5632 GB, free: 11.97 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.145e-05/0.4098, allocations: 61.67 kB / 0.5633 GB, free: 11.91 MB / 430.1 MB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002394/0.4122, allocations: 1.054 MB / 0.5643 GB, free: 10.84 MB / 430.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated Error: Internal error SimCode DAEmode: The model PowerSystems.Examples.AC3ph.Inverters.InverterToGrid could not be translated