Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.0009584/0.0009584, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001044/0.001044, allocations: 170.7 kB / 25.61 MB, free: 8.582 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 0.9455/0.9455, allocations: 177.1 MB / 206 MB, free: 4.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1177/0.1177, allocations: 29.43 MB / 292 MB, free: 2.633 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i.[0-9,]+.|meterAC.p.[0-9,]+.|meterAC.v.[0-9,]+.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i.[0-9,]+.|meterAC.p.[0-9,]+.|meterAC.v.[0-9,]+.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.277e-05, allocations: 5.797 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.004628/0.004651, allocations: 6.059 MB / 376.9 MB, free: 26.23 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002391/0.007042, allocations: 2.329 MB / 379.3 MB, free: 23.9 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002743/0.007317, allocations: 35.69 kB / 379.3 MB, free: 23.86 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006698/0.007986, allocations: 397.8 kB / 379.7 MB, free: 23.47 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007127/0.008699, allocations: 0.6061 MB / 380.3 MB, free: 22.86 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006973/0.009397, allocations: 0.5339 MB / 380.8 MB, free: 22.33 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009896/0.01039, allocations: 1.992 MB / 382.8 MB, free: 20.33 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004623/0.01085, allocations: 0.5998 MB / 383.4 MB, free: 19.72 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009262/0.01177, allocations: 1.138 MB / 384.6 MB, free: 18.58 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006923/0.01247, allocations: 0.873 MB / 385.4 MB, free: 17.7 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.01262, allocations: 140 kB / 385.6 MB, free: 17.57 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005748/0.01319, allocations: 0.6357 MB / 386.2 MB, free: 16.93 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003497/0.01354, allocations: 0.6586 MB / 386.9 MB, free: 16.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003008/0.01384, allocations: 495 kB / 387.4 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009836/0.01482, allocations: 1.48 MB / 388.8 MB, free: 14.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.01483, allocations: 0 / 388.8 MB, free: 14.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01483, allocations: 0 / 388.8 MB, free: 14.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.091e-05/0.01485, allocations: 3.984 kB / 388.8 MB, free: 14.3 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.001992/0.01684, allocations: 1.767 MB / 390.6 MB, free: 12.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.01688, allocations: 16.03 kB / 390.6 MB, free: 12.44 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006627/0.01754, allocations: 308 kB / 390.9 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006486/0.01819, allocations: 0.712 MB / 391.6 MB, free: 11.4 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003035/0.0185, allocations: 1.097 MB / 392.7 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.01866, allocations: 100.7 kB / 392.8 MB, free: 9.988 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009667/0.01963, allocations: 1.05 MB / 393.9 MB, free: 8.863 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.01965, allocations: 3.953 kB / 393.9 MB, free: 8.859 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.601e-05/0.01972, allocations: 47.97 kB / 393.9 MB, free: 8.812 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000101/0.01982, allocations: 81.97 kB / 394 MB, free: 8.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007023/0.02053, allocations: 0.5989 MB / 394.6 MB, free: 8.133 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003454/0.02398, allocations: 4.561 MB / 399.2 MB, free: 3.438 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000676/0.02466, allocations: 0.5446 MB / 399.7 MB, free: 2.867 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003359/0.02499, allocations: 322.1 kB / 400 MB, free: 2.543 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.5e-05/0.02505, allocations: 17 kB / 400.1 MB, free: 2.527 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005073/0.02555, allocations: 0.6011 MB / 400.7 MB, free: 1.906 MB / 314.7 MB Notification: Performance of pre-optimization done (n=116): time 2.275e-06/0.02556, allocations: 0 / 400.7 MB, free: 1.906 MB / 314.7 MB Notification: Performance of matching and sorting (n=118): time 0.00654/0.0321, allocations: 3.674 MB / 404.3 MB, free: 14.19 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.73e-05/0.03216, allocations: 98.11 kB / 404.4 MB, free: 14.08 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/0.03246, allocations: 490.2 kB / 404.9 MB, free: 13.58 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.706e-05/0.03254, allocations: 53.7 kB / 405 MB, free: 13.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.03275, allocations: 471.7 kB / 405.4 MB, free: 13.05 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002433/0.033, allocations: 420.5 kB / 405.8 MB, free: 12.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002596/0.03326, allocations: 228.4 kB / 406 MB, free: 12.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.03342, allocations: 0.5819 MB / 406.6 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003346/0.03375, allocations: 308.1 kB / 406.9 MB, free: 11.51 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004404/0.03419, allocations: 0.5522 MB / 407.5 MB, free: 10.88 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.001053/0.03524, allocations: 1.132 MB / 408.6 MB, free: 9.645 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.03525, allocations: 0 / 408.6 MB, free: 9.645 MB / 330.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003554/0.0388, allocations: 2.191 MB / 410.8 MB, free: 7.434 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.819e-05/0.03885, allocations: 57.67 kB / 410.9 MB, free: 7.371 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.0004245/0.03927, allocations: 375.3 kB / 411.2 MB, free: 7 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.8639459763653576]