Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002595/0.0026, allocations: 363.2 kB / 17.21 MB, free: 4.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.716/3.716, allocations: 388.9 MB / 406.8 MB, free: 12 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003612/0.003612, allocations: 235.8 kB / 452.2 MB, free: 14.59 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.8013/0.8013, allocations: 76 MB / 0.56 GB, free: 177.7 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004424/0.0004427, allocations: 12 kB / 0.6222 GB, free: 114.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09048/0.09095, allocations: 53.22 MB / 0.6742 GB, free: 60.95 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4779/0.5689, allocations: 109.9 MB / 0.7815 GB, free: 80.4 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004222/0.5694, allocations: 99.12 kB / 0.7816 GB, free: 80.39 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1372/0.7066, allocations: 28.92 MB / 0.8098 GB, free: 66.62 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.7067, allocations: 0 / 0.8098 GB, free: 66.62 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.338e-05/0.7067, allocations: 23.94 kB / 0.8099 GB, free: 66.59 MB / 442.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.006745/0.7135, allocations: 1.736 MB / 0.8116 GB, free: 64.85 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.7135, allocations: 11.97 kB / 0.8116 GB, free: 64.84 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001701/0.7153, allocations: 182.5 kB / 0.8118 GB, free: 64.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005746/0.721, allocations: 1.287 MB / 0.813 GB, free: 63.54 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001063/0.7221, allocations: 0.5195 MB / 0.8135 GB, free: 63 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000561/0.7227, allocations: 101.5 kB / 0.8136 GB, free: 62.93 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006638/0.7294, allocations: 2.127 MB / 0.8157 GB, free: 61.29 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.638e-05/0.7295, allocations: 0 / 0.8157 GB, free: 61.29 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002123/0.7297, allocations: 46.73 kB / 0.8157 GB, free: 61.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002248/0.7299, allocations: 84.66 kB / 0.8158 GB, free: 61.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0083/0.7382, allocations: 2.38 MB / 0.8181 GB, free: 59.43 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01497/0.7532, allocations: 5.792 MB / 0.8238 GB, free: 54.84 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007267/0.7606, allocations: 1.768 MB / 0.8255 GB, free: 53.48 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004389/0.765, allocations: 1.241 MB / 0.8267 GB, free: 52.59 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001478/0.7651, allocations: 10.25 kB / 0.8267 GB, free: 52.58 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004676/0.7698, allocations: 1.442 MB / 0.8282 GB, free: 51.45 MB / 442.7 MB Notification: Performance of pre-optimization done (n=120): time 4.528e-06/0.7699, allocations: 0 / 0.8282 GB, free: 51.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=122): time 0.03689/0.8068, allocations: 8.035 MB / 0.836 GB, free: 44.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/0.8069, allocations: 102.1 kB / 0.8361 GB, free: 44.38 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00077/0.8076, allocations: 0.5026 MB / 0.8366 GB, free: 43.87 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003617/0.808, allocations: 61.67 kB / 0.8366 GB, free: 43.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003232/0.8084, allocations: 388.4 kB / 0.837 GB, free: 43.41 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004397/0.8088, allocations: 402.3 kB / 0.8374 GB, free: 43.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.809, allocations: 20 kB / 0.8374 GB, free: 43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.8091, allocations: 394.8 kB / 0.8378 GB, free: 42.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003419/0.8125, allocations: 1.091 MB / 0.8389 GB, free: 41.51 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003526/0.8161, allocations: 1.252 MB / 0.8401 GB, free: 40.21 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.02397/0.8401, allocations: 4.624 MB / 0.8446 GB, free: 35.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.8401, allocations: 4 kB / 0.8446 GB, free: 35.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=159) (initialization): time 0.01789/0.858, allocations: 4.245 MB / 0.8487 GB, free: 31.28 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.8582, allocations: 61.67 kB / 0.8488 GB, free: 31.21 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.003986/0.8622, allocations: 1.17 MB / 0.8499 GB, free: 30.05 MB / 442.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated