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.002389/0.002394, allocations: 354.4 kB / 16.57 MB, free: 5.59 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.156/3.156, allocations: 388.9 MB / 406.2 MB, free: 6.844 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003329/0.003329, allocations: 231 kB / 451.6 MB, free: 0.5781 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.6288/0.6288, allocations: 76.02 MB / 0.5594 GB, free: 14.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004944/0.0004946, allocations: 12 kB / 0.6216 GB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2623, allocations: 53.22 MB / 0.6736 GB, free: 62.62 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.007101/0.2694, allocations: 7.345 MB / 0.6808 GB, free: 55.24 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00406/0.2735, allocations: 2.638 MB / 0.6834 GB, free: 52.61 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000424/0.2739, allocations: 51.62 kB / 0.6834 GB, free: 52.56 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004337/0.2744, allocations: 175.2 kB / 0.6836 GB, free: 52.39 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001144/0.2755, allocations: 0.6078 MB / 0.6842 GB, free: 51.79 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.2766, allocations: 462.5 kB / 0.6846 GB, free: 51.34 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001555/0.2782, allocations: 2.058 MB / 0.6866 GB, free: 49.27 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.2794, allocations: 0.9324 MB / 0.6875 GB, free: 48.3 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006994/0.2801, allocations: 0.615 MB / 0.6881 GB, free: 47.69 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009899/0.2811, allocations: 0.8883 MB / 0.689 GB, free: 46.8 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001725/0.2813, allocations: 68 kB / 0.6891 GB, free: 46.73 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009554/0.2823, allocations: 0.5693 MB / 0.6896 GB, free: 46.16 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000524/0.2828, allocations: 0.5534 MB / 0.6902 GB, free: 45.61 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002546/0.2831, allocations: 229.2 kB / 0.6904 GB, free: 45.38 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.2844, allocations: 1.559 MB / 0.6919 GB, free: 43.81 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.022e-06/0.2844, allocations: 0 / 0.6919 GB, free: 43.81 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.87e-06/0.2844, allocations: 0 / 0.6919 GB, free: 43.81 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.2845, allocations: 0 / 0.6919 GB, free: 43.81 MB / 346.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.003692/0.2882, allocations: 1.686 MB / 0.6935 GB, free: 42.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.2882, allocations: 12.03 kB / 0.6936 GB, free: 42.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009946/0.2892, allocations: 178.5 kB / 0.6937 GB, free: 41.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001923/0.2912, allocations: 0.8804 MB / 0.6946 GB, free: 40.94 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006745/0.2919, allocations: 0.5256 MB / 0.6951 GB, free: 40.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003243/0.2922, allocations: 104 kB / 0.6952 GB, free: 40.24 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004497/0.2967, allocations: 2.13 MB / 0.6973 GB, free: 38.05 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.301e-05/0.2968, allocations: 7.938 kB / 0.6973 GB, free: 38.05 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001607/0.2969, allocations: 43.97 kB / 0.6973 GB, free: 38 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002304/0.2972, allocations: 85.95 kB / 0.6974 GB, free: 37.92 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005776/0.303, allocations: 2.412 MB / 0.6998 GB, free: 35.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009622/0.3126, allocations: 5.849 MB / 0.7055 GB, free: 29.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004632/0.3173, allocations: 1.744 MB / 0.7072 GB, free: 27.75 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002889/0.3202, allocations: 1.213 MB / 0.7084 GB, free: 26.54 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.129e-05/0.3203, allocations: 14.23 kB / 0.7084 GB, free: 26.52 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003018/0.3233, allocations: 1.418 MB / 0.7098 GB, free: 25.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=116): time 4.383e-06/0.3233, allocations: 0 / 0.7098 GB, free: 25.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=118): time 0.02193/0.3453, allocations: 7.904 MB / 0.7175 GB, free: 17.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.3454, allocations: 102.1 kB / 0.7176 GB, free: 16.95 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006038/0.346, allocations: 0.5066 MB / 0.7181 GB, free: 16.44 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00012/0.3461, allocations: 65.67 kB / 0.7181 GB, free: 16.37 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/0.3464, allocations: 404.1 kB / 0.7185 GB, free: 15.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002982/0.3467, allocations: 398.4 kB / 0.7189 GB, free: 15.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.3468, allocations: 20 kB / 0.7189 GB, free: 15.55 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3469, allocations: 398.7 kB / 0.7193 GB, free: 15.15 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002242/0.3492, allocations: 1.025 MB / 0.7203 GB, free: 14.13 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002328/0.3515, allocations: 1.213 MB / 0.7215 GB, free: 12.86 MB / 346.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.0122/0.3637, allocations: 4.382 MB / 0.7258 GB, free: 8.445 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.992e-06/0.3638, allocations: 0 / 0.7258 GB, free: 8.445 MB / 346.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01074/0.3745, allocations: 4.132 MB / 0.7298 GB, free: 4.273 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.708e-05/0.3746, allocations: 61.67 kB / 0.7299 GB, free: 4.207 MB / 346.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.002472/0.3771, allocations: 1.112 MB / 0.7309 GB, free: 3.09 MB / 346.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated