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.0008893/0.0008893, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001089/0.001089, allocations: 174.3 kB / 24.92 MB, free: 8.715 MB / 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 1.006/1.006, allocations: 177.1 MB / 205.3 MB, free: 5.434 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.2391/0.2391, allocations: 29.42 MB / 291.2 MB, free: 2.461 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 1.623e-06/1.623e-06, allocations: 0 / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.66e-05/1.822e-05, allocations: 5.016 kB / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.005644/0.005662, allocations: 6.126 MB / 323 MB, free: 9.801 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003171/0.008833, allocations: 2.376 MB / 325.4 MB, free: 7.418 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003638/0.009197, allocations: 43.62 kB / 325.4 MB, free: 7.375 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006276/0.009824, allocations: 254.4 kB / 325.7 MB, free: 7.125 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008567/0.01068, allocations: 0.606 MB / 326.3 MB, free: 6.516 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007862/0.01147, allocations: 0.5261 MB / 326.8 MB, free: 5.988 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001744/0.01321, allocations: 1.995 MB / 328.8 MB, free: 3.988 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006224/0.01383, allocations: 0.6349 MB / 329.4 MB, free: 3.336 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.01506, allocations: 1.134 MB / 330.6 MB, free: 2.199 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008766/0.01593, allocations: 0.8341 MB / 331.4 MB, free: 1.363 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001764/0.01611, allocations: 140 kB / 331.5 MB, free: 1.227 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007913/0.0169, allocations: 0.6551 MB / 332.2 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004289/0.01733, allocations: 0.6625 MB / 332.9 MB, free: 15.9 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003867/0.01772, allocations: 495 kB / 333.3 MB, free: 15.42 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.01889, allocations: 1.476 MB / 334.8 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.01889, allocations: 4 kB / 334.8 MB, free: 13.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.0189, allocations: 0 / 334.8 MB, free: 13.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.677e-05/0.01891, allocations: 0 / 334.8 MB, free: 13.93 MB / 314.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.00226/0.02117, allocations: 1.596 MB / 336.4 MB, free: 12.28 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.0212, allocations: 15.98 kB / 336.4 MB, free: 12.26 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006635/0.02187, allocations: 280.6 kB / 336.7 MB, free: 11.99 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007796/0.02265, allocations: 0.6664 MB / 337.4 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004881/0.02314, allocations: 1.09 MB / 338.5 MB, free: 9.984 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000187/0.02332, allocations: 104.7 kB / 338.6 MB, free: 9.883 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.02449, allocations: 1.036 MB / 339.6 MB, free: 8.785 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.02452, allocations: 11.89 kB / 339.6 MB, free: 8.773 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-05/0.0246, allocations: 32 kB / 339.6 MB, free: 8.742 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001137/0.02472, allocations: 85.95 kB / 339.7 MB, free: 8.656 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008145/0.02553, allocations: 0.5395 MB / 340.3 MB, free: 8.117 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004412/0.02994, allocations: 3.558 MB / 343.8 MB, free: 4.453 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007661/0.03071, allocations: 0.5355 MB / 344.4 MB, free: 3.895 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003743/0.03108, allocations: 291.4 kB / 344.6 MB, free: 3.602 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-05/0.03115, allocations: 24.88 kB / 344.7 MB, free: 3.578 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005775/0.03172, allocations: 0.5694 MB / 345.2 MB, free: 2.992 MB / 314.7 MB Notification: Performance of pre-optimization done (n=116): time 2.265e-06/0.03173, allocations: 0 / 345.2 MB, free: 2.992 MB / 314.7 MB Notification: Performance of matching and sorting (n=118): time 0.006571/0.0383, allocations: 3.451 MB / 348.7 MB, free: 15.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.03835, allocations: 98.09 kB / 348.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.03859, allocations: 422.9 kB / 349.2 MB, free: 14.96 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.039e-05/0.03867, allocations: 57.69 kB / 349.3 MB, free: 14.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004432/0.03912, allocations: 362.1 kB / 349.6 MB, free: 14.54 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.03934, allocations: 404.5 kB / 350 MB, free: 14.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/0.03958, allocations: 198.8 kB / 350.2 MB, free: 13.94 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.03969, allocations: 394.6 kB / 350.6 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003462/0.04004, allocations: 291.1 kB / 350.9 MB, free: 13.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003777/0.04041, allocations: 455.9 kB / 351.3 MB, free: 12.75 MB / 330.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.001039/0.04145, allocations: 1.046 MB / 352.4 MB, free: 11.63 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.04146, allocations: 0 / 352.4 MB, free: 11.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00324/0.0447, allocations: 1.965 MB / 354.3 MB, free: 9.645 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.887e-05/0.04474, allocations: 61.67 kB / 354.4 MB, free: 9.578 MB / 330.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.0004347/0.04518, allocations: 359.5 kB / 354.7 MB, free: 9.219 MB / 330.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.774048191960901]