Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00157/0.00157, allocations: 183 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.991/1.991, allocations: 205.4 MB / 221.9 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 98.77 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2579/0.2579, allocations: 38.06 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004509/0.0004509, allocations: 12 kB / 422.7 MB, free: 26.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1095, allocations: 56.33 MB / 479 MB, free: 2.027 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5287/0.6382, allocations: 114.9 MB / 0.58 GB, free: 1.27 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003407/0.6386, allocations: 99.64 kB / 0.5801 GB, free: 1.219 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1375/0.7761, allocations: 28.96 MB / 0.6084 GB, free: 8.035 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.2e-06/0.7762, allocations: 3.984 kB / 0.6084 GB, free: 8.031 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.332e-05/0.7763, allocations: 20 kB / 0.6084 GB, free: 8.012 MB / 410.7 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.007872/0.7842, allocations: 1.739 MB / 0.6101 GB, free: 6.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.7842, allocations: 8.031 kB / 0.6101 GB, free: 6.262 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001884/0.7861, allocations: 182.5 kB / 0.6103 GB, free: 6.082 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008251/0.7944, allocations: 1.637 MB / 0.6119 GB, free: 4.676 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001203/0.7957, allocations: 0.5233 MB / 0.6124 GB, free: 4.129 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006293/0.7963, allocations: 95.22 kB / 0.6125 GB, free: 4.062 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008183/0.8045, allocations: 2.126 MB / 0.6145 GB, free: 2.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.079e-05/0.8046, allocations: 0 / 0.6145 GB, free: 2.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002252/0.8049, allocations: 41.34 kB / 0.6146 GB, free: 2.414 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002748/0.8052, allocations: 81.09 kB / 0.6147 GB, free: 2.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01017/0.8153, allocations: 2.378 MB / 0.617 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01827/0.8337, allocations: 5.799 MB / 0.6226 GB, free: 11.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008338/0.842, allocations: 1.759 MB / 0.6244 GB, free: 10.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002335/0.8423, allocations: 14.3 kB / 0.6244 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005815/0.8482, allocations: 1.441 MB / 0.6258 GB, free: 9.457 MB / 426.7 MB Notification: Performance of pre-optimization done (n=120): time 5.54e-06/0.8482, allocations: 0 / 0.6258 GB, free: 9.457 MB / 426.7 MB Notification: Performance of matching and sorting (n=122): time 0.05865/0.9069, allocations: 10.74 MB / 0.6363 GB, free: 14.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.907, allocations: 114 kB / 0.6364 GB, free: 14.66 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009373/0.908, allocations: 450 kB / 0.6368 GB, free: 14.22 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004133/0.9084, allocations: 49.7 kB / 0.6368 GB, free: 14.16 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000441/0.9089, allocations: 434.8 kB / 0.6373 GB, free: 13.73 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007055/0.9096, allocations: 394.3 kB / 0.6376 GB, free: 13.34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/0.9098, allocations: 27.98 kB / 0.6377 GB, free: 13.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.91, allocations: 358.8 kB / 0.638 GB, free: 12.96 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004149/0.9142, allocations: 1.091 MB / 0.6391 GB, free: 11.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004502/0.9187, allocations: 1.256 MB / 0.6403 GB, free: 10.56 MB / 442.7 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.02636/0.9451, allocations: 4.613 MB / 0.6448 GB, free: 5.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.9451, allocations: 0 / 0.6448 GB, free: 5.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=159) (initialization): time 0.02783/0.973, allocations: 5.247 MB / 0.6499 GB, free: 0.668 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001329/0.9732, allocations: 57.67 kB / 0.65 GB, free: 0.6055 MB / 442.7 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.004755/0.9779, allocations: 1.179 MB / 0.6511 GB, free: 15.42 MB / 458.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated