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.001467/0.001467, allocations: 67.77 kB / 21.69 MB, free: 2.848 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.00155/0.00155, allocations: 165.2 kB / 24.99 MB, free: 8.789 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.9696/0.9696, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.2554/0.2554, allocations: 29.42 MB / 291.2 MB, free: 2.512 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.724e-06/1.724e-06, allocations: 0 / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.363e-05, allocations: 5.406 kB / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.009152/0.009176, allocations: 7.08 MB / 376.7 MB, free: 4.207 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003623/0.0128, allocations: 2.329 MB / 379 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005134/0.01331, allocations: 35.69 kB / 379.1 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.01439, allocations: 0.5325 MB / 379.6 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001022/0.01541, allocations: 0.6178 MB / 380.2 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.01647, allocations: 0.5378 MB / 380.7 MB, free: 144 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002206/0.01868, allocations: 1.999 MB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007409/0.01942, allocations: 0.592 MB / 383.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00128/0.0207, allocations: 1.083 MB / 384.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.02172, allocations: 0.9394 MB / 385.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000222/0.02195, allocations: 156 kB / 385.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008818/0.02283, allocations: 0.6629 MB / 386.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004948/0.02332, allocations: 0.6821 MB / 386.9 MB, free: 10 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004673/0.02379, allocations: 0.5146 MB / 387.4 MB, free: 9.488 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001637/0.02543, allocations: 1.566 MB / 388.9 MB, free: 7.918 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.02543, allocations: 0 / 388.9 MB, free: 7.918 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.02543, allocations: 0 / 388.9 MB, free: 7.918 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.085e-05/0.02545, allocations: 0 / 388.9 MB, free: 7.918 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.002998/0.02845, allocations: 1.889 MB / 390.8 MB, free: 5.961 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.02849, allocations: 15.98 kB / 390.8 MB, free: 5.945 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007915/0.02929, allocations: 335.9 kB / 391.2 MB, free: 5.617 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.03046, allocations: 0.8663 MB / 392 MB, free: 4.723 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000502/0.03096, allocations: 1.097 MB / 393.1 MB, free: 3.406 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001888/0.03115, allocations: 104.7 kB / 393.2 MB, free: 3.305 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.03264, allocations: 1.168 MB / 394.4 MB, free: 2.062 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.03266, allocations: 3.938 kB / 394.4 MB, free: 2.059 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.814e-05/0.03275, allocations: 36 kB / 394.4 MB, free: 2.023 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001337/0.03288, allocations: 93.94 kB / 394.5 MB, free: 1.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.03411, allocations: 0.7845 MB / 395.3 MB, free: 1.145 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004838/0.03895, allocations: 4.719 MB / 400 MB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.03998, allocations: 0.642 MB / 400.7 MB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005693/0.04055, allocations: 394.2 kB / 401.1 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.282e-05/0.04062, allocations: 21 kB / 401.1 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007733/0.04139, allocations: 0.6676 MB / 401.8 MB, free: 10.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=116): time 2.134e-06/0.04139, allocations: 0 / 401.8 MB, free: 10.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=118): time 0.008153/0.04955, allocations: 4.27 MB / 406 MB, free: 6.211 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.0496, allocations: 98.11 kB / 406.1 MB, free: 6.098 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003803/0.04998, allocations: 494.5 kB / 406.6 MB, free: 5.598 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.92e-05/0.05006, allocations: 53.7 kB / 406.7 MB, free: 5.539 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/0.05029, allocations: 463.9 kB / 407.1 MB, free: 5.078 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/0.05054, allocations: 420.5 kB / 407.5 MB, free: 4.664 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002639/0.0508, allocations: 232.5 kB / 407.7 MB, free: 4.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.05096, allocations: 0.5703 MB / 408.3 MB, free: 3.848 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005232/0.05148, allocations: 404.1 kB / 408.7 MB, free: 3.445 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006198/0.0521, allocations: 0.65 MB / 409.4 MB, free: 2.715 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.001513/0.05362, allocations: 1.346 MB / 410.7 MB, free: 1.273 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.05362, allocations: 4 kB / 410.7 MB, free: 1.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004297/0.05792, allocations: 2.444 MB / 413.2 MB, free: 14.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.519e-05/0.05797, allocations: 61.89 kB / 413.2 MB, free: 14.73 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.0006154/0.05859, allocations: 459.3 kB / 413.7 MB, free: 14.28 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.9041403969749808]