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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001/0.001, allocations: 79.75 kB / 21.18 MB, free: 3.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 161 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9698/0.9698, allocations: 177.1 MB / 205 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2314/0.2314, allocations: 29.42 MB / 290.9 MB, free: 2.508 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.103e-06/2.103e-06, allocations: 0 / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.059e-05/3.269e-05, allocations: 2.312 kB / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.006051/0.006084, allocations: 6.106 MB / 375.7 MB, free: 4.844 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002711/0.008795, allocations: 2.345 MB / 378.1 MB, free: 2.492 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002758/0.009071, allocations: 39.69 kB / 378.1 MB, free: 2.453 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006781/0.009749, allocations: 250.3 kB / 378.4 MB, free: 2.207 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007311/0.01048, allocations: 0.6178 MB / 379 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007843/0.01126, allocations: 0.5377 MB / 379.5 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001414/0.01268, allocations: 1.995 MB / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005356/0.01321, allocations: 0.5998 MB / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009264/0.01414, allocations: 1.131 MB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000705/0.01484, allocations: 0.8691 MB / 384.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001513/0.015, allocations: 144 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000623/0.01562, allocations: 0.6357 MB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003944/0.01601, allocations: 0.6586 MB / 385.6 MB, free: 10.99 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003579/0.01637, allocations: 495 kB / 386 MB, free: 10.51 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.01749, allocations: 1.496 MB / 387.5 MB, free: 9.008 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.01749, allocations: 0 / 387.5 MB, free: 9.008 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.01749, allocations: 0 / 387.5 MB, free: 9.008 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.0175, allocations: 0 / 387.5 MB, free: 9.008 MB / 362.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.002369/0.01987, allocations: 1.858 MB / 389.4 MB, free: 7.082 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.01992, allocations: 15.98 kB / 389.4 MB, free: 7.066 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008495/0.02077, allocations: 339.9 kB / 389.7 MB, free: 6.734 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.02206, allocations: 0.7551 MB / 390.5 MB, free: 5.953 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005453/0.02261, allocations: 1.097 MB / 391.6 MB, free: 4.633 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001866/0.02279, allocations: 104.7 kB / 391.7 MB, free: 4.531 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/0.02432, allocations: 1.179 MB / 392.9 MB, free: 3.281 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.02434, allocations: 0 / 392.9 MB, free: 3.281 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-05/0.02442, allocations: 43.98 kB / 392.9 MB, free: 3.238 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001209/0.02455, allocations: 89.94 kB / 393 MB, free: 3.152 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.02587, allocations: 0.7844 MB / 393.8 MB, free: 2.363 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004921/0.03079, allocations: 4.707 MB / 398.5 MB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009738/0.03176, allocations: 0.6369 MB / 399.1 MB, free: 12.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005307/0.03229, allocations: 398.2 kB / 399.5 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.648e-05/0.03236, allocations: 21 kB / 399.5 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007415/0.0331, allocations: 0.6637 MB / 400.2 MB, free: 11.76 MB / 378.7 MB Notification: Performance of pre-optimization done (n=116): time 2.394e-06/0.0331, allocations: 0 / 400.2 MB, free: 11.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=118): time 0.007704/0.04081, allocations: 4.267 MB / 404.5 MB, free: 7.453 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003306/0.04114, allocations: 98.11 kB / 404.6 MB, free: 7.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003573/0.0415, allocations: 498.4 kB / 405.1 MB, free: 6.836 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.151e-05/0.04158, allocations: 61.67 kB / 405.1 MB, free: 6.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.04179, allocations: 455.9 kB / 405.6 MB, free: 6.316 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002565/0.04204, allocations: 420.5 kB / 406 MB, free: 5.902 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000267/0.04231, allocations: 232.5 kB / 406.2 MB, free: 5.668 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.04247, allocations: 0.5703 MB / 406.8 MB, free: 5.086 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005323/0.04301, allocations: 412.1 kB / 407.2 MB, free: 4.676 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006176/0.04362, allocations: 0.6461 MB / 407.8 MB, free: 3.949 MB / 378.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.001518/0.04514, allocations: 1.35 MB / 409.2 MB, free: 2.504 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.04515, allocations: 0 / 409.2 MB, free: 2.504 MB / 378.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004292/0.04944, allocations: 2.437 MB / 411.6 MB, free: 44 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.312e-05/0.0495, allocations: 61.67 kB / 411.7 MB, free: 15.98 MB / 394.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.0005867/0.05009, allocations: 459.2 kB / 412.1 MB, free: 15.52 MB / 394.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.838740580715239]