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.002604/0.002604, allocations: 357.3 kB / 17.21 MB, free: 4.91 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.668/3.668, allocations: 388.9 MB / 406.8 MB, free: 11.99 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.003516/0.003516, allocations: 235.7 kB / 452.2 MB, free: 14.57 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.7227/0.7227, allocations: 76 MB / 0.56 GB, free: 177.7 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004592/0.0004594, allocations: 16 kB / 0.6222 GB, free: 114.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0932/0.09368, allocations: 53.23 MB / 0.6742 GB, free: 60.94 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.01279/0.1065, allocations: 7.344 MB / 0.6814 GB, free: 53.56 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007495/0.1141, allocations: 2.636 MB / 0.684 GB, free: 50.92 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008186/0.115, allocations: 55.56 kB / 0.684 GB, free: 50.86 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007595/0.1157, allocations: 174.8 kB / 0.6842 GB, free: 50.69 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002262/0.118, allocations: 0.6025 MB / 0.6848 GB, free: 50.09 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001859/0.1199, allocations: 459.1 kB / 0.6852 GB, free: 49.64 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003039/0.123, allocations: 2.046 MB / 0.6872 GB, free: 47.59 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0021/0.1251, allocations: 0.9375 MB / 0.6881 GB, free: 46.61 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/0.1264, allocations: 0.6188 MB / 0.6887 GB, free: 45.98 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001968/0.1284, allocations: 0.9 MB / 0.6896 GB, free: 45.08 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003032/0.1287, allocations: 68 kB / 0.6897 GB, free: 45.02 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001766/0.1305, allocations: 0.5576 MB / 0.6902 GB, free: 44.46 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009406/0.1314, allocations: 0.5573 MB / 0.6908 GB, free: 43.9 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004301/0.1319, allocations: 233.1 kB / 0.691 GB, free: 43.66 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002442/0.1343, allocations: 1.559 MB / 0.6925 GB, free: 42.1 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1344, allocations: 0 / 0.6925 GB, free: 42.1 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.1344, allocations: 4 kB / 0.6925 GB, free: 42.1 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.1344, allocations: 0 / 0.6925 GB, free: 42.1 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.00779/0.1422, allocations: 1.682 MB / 0.6942 GB, free: 40.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.1423, allocations: 8.031 kB / 0.6942 GB, free: 40.33 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/0.144, allocations: 186.5 kB / 0.6943 GB, free: 40.14 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003688/0.1477, allocations: 0.8765 MB / 0.6952 GB, free: 39.23 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001205/0.149, allocations: 0.5257 MB / 0.6957 GB, free: 38.63 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005752/0.1496, allocations: 99.98 kB / 0.6958 GB, free: 38.53 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007561/0.1571, allocations: 2.137 MB / 0.6979 GB, free: 36.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.099e-05/0.1572, allocations: 0 / 0.6979 GB, free: 36.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002013/0.1574, allocations: 36 kB / 0.6979 GB, free: 36.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003408/0.1578, allocations: 93.94 kB / 0.698 GB, free: 36.21 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008235/0.166, allocations: 2.42 MB / 0.7004 GB, free: 33.79 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01297/0.179, allocations: 5.844 MB / 0.7061 GB, free: 27.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007159/0.1862, allocations: 1.748 MB / 0.7078 GB, free: 26.03 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004325/0.1906, allocations: 1.211 MB / 0.709 GB, free: 24.81 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001394/0.1907, allocations: 13 kB / 0.709 GB, free: 24.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004671/0.1954, allocations: 1.419 MB / 0.7104 GB, free: 23.36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=116): time 4.117e-06/0.1954, allocations: 0 / 0.7104 GB, free: 23.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=118): time 0.03611/0.2315, allocations: 7.904 MB / 0.7181 GB, free: 15.35 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.2316, allocations: 102.1 kB / 0.7182 GB, free: 15.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006974/0.2323, allocations: 0.5066 MB / 0.7187 GB, free: 14.71 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001568/0.2325, allocations: 53.69 kB / 0.7187 GB, free: 14.65 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002873/0.2328, allocations: 408.1 kB / 0.7191 GB, free: 14.25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003777/0.2332, allocations: 390.5 kB / 0.7195 GB, free: 13.86 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.2333, allocations: 24 kB / 0.7195 GB, free: 13.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.2335, allocations: 394.7 kB / 0.7199 GB, free: 13.44 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003269/0.2368, allocations: 1.029 MB / 0.7209 GB, free: 12.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003356/0.2401, allocations: 1.209 MB / 0.7221 GB, free: 11.15 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.01813/0.2583, allocations: 4.378 MB / 0.7264 GB, free: 6.742 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.2583, allocations: 0 / 0.7264 GB, free: 6.742 MB / 442.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01694/0.2753, allocations: 4.144 MB / 0.7304 GB, free: 2.559 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.399e-05/0.2754, allocations: 65.89 kB / 0.7305 GB, free: 2.488 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.003483/0.2789, allocations: 1.108 MB / 0.7316 GB, free: 1.371 MB / 442.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated