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.001209/0.001209, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001223/0.001223, allocations: 169.9 kB / 24.91 MB, free: 9.191 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.061/1.061, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2454/0.2454, allocations: 29.42 MB / 291.2 MB, free: 2.5 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.284e-06/2.284e-06, allocations: 3.938 kB / 316.8 MB, free: 28 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.725e-05/2.954e-05, allocations: 9.234 kB / 316.8 MB, free: 20 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.00674/0.00677, allocations: 6.074 MB / 322.9 MB, free: 9.914 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004065/0.01083, allocations: 2.372 MB / 325.3 MB, free: 7.535 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006201/0.01146, allocations: 47.62 kB / 325.3 MB, free: 7.488 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008322/0.01229, allocations: 254.4 kB / 325.6 MB, free: 7.238 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001227/0.01351, allocations: 0.6139 MB / 326.2 MB, free: 6.621 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.01465, allocations: 0.5378 MB / 326.7 MB, free: 6.082 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002017/0.01667, allocations: 1.995 MB / 328.7 MB, free: 4.082 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008578/0.01752, allocations: 0.6271 MB / 329.4 MB, free: 3.438 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001933/0.01946, allocations: 1.138 MB / 330.5 MB, free: 2.297 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001423/0.02088, allocations: 0.838 MB / 331.3 MB, free: 1.457 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003829/0.02126, allocations: 144 kB / 331.5 MB, free: 1.316 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.02229, allocations: 0.6434 MB / 332.1 MB, free: 0.668 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006322/0.02293, allocations: 0.6548 MB / 332.8 MB, free: 12 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009755/0.0239, allocations: 0.4913 MB / 333.3 MB, free: 15.52 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002297/0.0262, allocations: 1.476 MB / 334.7 MB, free: 14.04 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.0262, allocations: 4 kB / 334.7 MB, free: 14.03 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.02621, allocations: 0 / 334.7 MB, free: 14.03 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.743e-05/0.02626, allocations: 0 / 334.7 MB, free: 14.03 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.003024/0.02929, allocations: 1.6 MB / 336.3 MB, free: 12.37 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.02934, allocations: 11.98 kB / 336.4 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009119/0.03025, allocations: 284.6 kB / 336.6 MB, free: 12.08 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009998/0.03125, allocations: 0.6547 MB / 337.3 MB, free: 11.4 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006109/0.03186, allocations: 1.097 MB / 338.4 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002266/0.03209, allocations: 104.7 kB / 338.5 MB, free: 9.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.03353, allocations: 1.036 MB / 339.5 MB, free: 8.883 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.285e-05/0.03356, allocations: 11.89 kB / 339.5 MB, free: 8.871 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.245e-05/0.03366, allocations: 36 kB / 339.6 MB, free: 8.836 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001489/0.03381, allocations: 81.95 kB / 339.6 MB, free: 8.754 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009492/0.03475, allocations: 0.5356 MB / 340.2 MB, free: 8.219 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005585/0.04034, allocations: 3.566 MB / 343.8 MB, free: 4.547 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009955/0.04134, allocations: 0.5355 MB / 344.3 MB, free: 3.988 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007824/0.04212, allocations: 283.4 kB / 344.6 MB, free: 3.703 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-05/0.04221, allocations: 24.94 kB / 344.6 MB, free: 3.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007354/0.04294, allocations: 0.5694 MB / 345.2 MB, free: 3.094 MB / 314.7 MB Notification: Performance of pre-optimization done (n=116): time 5.169e-06/0.04295, allocations: 0 / 345.2 MB, free: 3.094 MB / 314.7 MB Notification: Performance of matching and sorting (n=118): time 0.00786/0.05081, allocations: 3.447 MB / 348.6 MB, free: 15.61 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/0.05088, allocations: 102 kB / 348.7 MB, free: 15.49 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003447/0.05122, allocations: 418.9 kB / 349.1 MB, free: 15.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.05134, allocations: 57.69 kB / 349.2 MB, free: 15 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002306/0.05157, allocations: 362.1 kB / 349.5 MB, free: 14.64 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002732/0.05184, allocations: 404.5 kB / 349.9 MB, free: 14.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000282/0.05212, allocations: 206.8 kB / 350.1 MB, free: 14.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.05226, allocations: 394.6 kB / 350.5 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003861/0.05265, allocations: 283.1 kB / 350.8 MB, free: 13.36 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004095/0.05306, allocations: 459.8 kB / 351.2 MB, free: 12.85 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.001113/0.05417, allocations: 1.046 MB / 352.3 MB, free: 11.74 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.05418, allocations: 4 kB / 352.3 MB, free: 11.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003518/0.05769, allocations: 1.957 MB / 354.2 MB, free: 9.754 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.952e-05/0.05776, allocations: 61.89 kB / 354.3 MB, free: 9.688 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.0004829/0.05825, allocations: 367.3 kB / 354.7 MB, free: 9.32 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.885425912681967]