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.001296/0.001296, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009924/0.0009924, allocations: 168.8 kB / 24.82 MB, free: 9.27 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.055/1.055, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.2356/0.2356, allocations: 29.42 MB / 291.2 MB, free: 2.473 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.034e-06/2.034e-06, allocations: 0 / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.625e-05/2.828e-05, allocations: 2.312 kB / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.006295/0.006323, allocations: 6.055 MB / 376.1 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003637/0.00996, allocations: 2.317 MB / 378.5 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005098/0.01047, allocations: 39.69 kB / 378.5 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007803/0.01125, allocations: 254.3 kB / 378.8 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001032/0.01228, allocations: 0.6178 MB / 379.4 MB, free: 1.426 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009532/0.01324, allocations: 0.5339 MB / 379.9 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001437/0.01467, allocations: 1.992 MB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000602/0.01527, allocations: 0.6037 MB / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001203/0.01648, allocations: 1.138 MB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008597/0.01734, allocations: 0.8652 MB / 384.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001641/0.0175, allocations: 140 kB / 384.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008097/0.01831, allocations: 0.6474 MB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006658/0.01898, allocations: 0.6625 MB / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003541/0.01933, allocations: 487 kB / 386.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.02051, allocations: 1.476 MB / 387.9 MB, free: 8.863 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.02051, allocations: 0 / 387.9 MB, free: 8.863 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.02051, allocations: 0 / 387.9 MB, free: 8.863 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.02052, allocations: 0 / 387.9 MB, free: 8.863 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.001961/0.02248, allocations: 1.775 MB / 389.7 MB, free: 7.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.02252, allocations: 11.98 kB / 389.7 MB, free: 7.008 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006742/0.0232, allocations: 315.9 kB / 390 MB, free: 6.699 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007223/0.02392, allocations: 0.7082 MB / 390.7 MB, free: 5.965 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004867/0.02441, allocations: 1.093 MB / 391.8 MB, free: 4.648 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/0.02459, allocations: 108.7 kB / 391.9 MB, free: 4.543 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.02597, allocations: 1.058 MB / 393 MB, free: 3.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.02599, allocations: 7.938 kB / 393 MB, free: 3.402 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.708e-05/0.02606, allocations: 35.98 kB / 393 MB, free: 3.367 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001136/0.02618, allocations: 85.95 kB / 393.1 MB, free: 3.285 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007555/0.02693, allocations: 0.5951 MB / 393.7 MB, free: 2.688 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004242/0.03117, allocations: 4.562 MB / 398.2 MB, free: 14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007542/0.03193, allocations: 0.5521 MB / 398.8 MB, free: 13.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003831/0.03231, allocations: 322.2 kB / 399.1 MB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.385e-05/0.03238, allocations: 21 kB / 399.1 MB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000679/0.03305, allocations: 0.5933 MB / 399.7 MB, free: 12.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=116): time 2.644e-06/0.03306, allocations: 4 kB / 399.7 MB, free: 12.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=118): time 0.006712/0.03977, allocations: 3.663 MB / 403.4 MB, free: 8.754 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.03983, allocations: 102.1 kB / 403.5 MB, free: 8.637 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000379/0.04021, allocations: 486.2 kB / 404 MB, free: 8.145 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.699e-05/0.0403, allocations: 65.67 kB / 404 MB, free: 8.074 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000304/0.0406, allocations: 467.8 kB / 404.5 MB, free: 7.609 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002729/0.04087, allocations: 416.5 kB / 404.9 MB, free: 7.199 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002787/0.04115, allocations: 236.4 kB / 405.1 MB, free: 6.961 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.04136, allocations: 0.5741 MB / 405.7 MB, free: 6.375 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00036/0.04172, allocations: 308.1 kB / 406 MB, free: 6.066 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004445/0.04216, allocations: 0.5561 MB / 406.6 MB, free: 5.43 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.00114/0.0433, allocations: 1.135 MB / 407.7 MB, free: 4.199 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.04331, allocations: 4 kB / 407.7 MB, free: 4.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003374/0.04668, allocations: 2.183 MB / 409.9 MB, free: 1.988 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.44e-05/0.04673, allocations: 57.67 kB / 409.9 MB, free: 1.926 MB / 378.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.000417/0.04715, allocations: 379.3 kB / 410.3 MB, free: 1.551 MB / 378.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.9447530778124928]