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.001598/0.001598, allocations: 115.3 kB / 20.44 MB, free: 4.586 MB / 13.93 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.001298/0.001298, allocations: 217.5 kB / 23.73 MB, free: 2.133 MB / 13.93 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.996/0.996, allocations: 230.6 MB / 257.5 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1493/0.1493, allocations: 38.6 MB / 352.5 MB, free: 11.46 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 80.16 kB / 494.1 MB, free: 3.812 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1068, allocations: 62.49 MB / 0.5435 GB, free: 5.211 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.00651/0.1133, allocations: 6.691 MB / 0.5501 GB, free: 14.48 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003165/0.1165, allocations: 2.275 MB / 0.5523 GB, free: 12.2 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00042/0.1169, allocations: 39.69 kB / 0.5523 GB, free: 12.16 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.1179, allocations: 0.5015 MB / 0.5528 GB, free: 11.66 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.1193, allocations: 0.6106 MB / 0.5534 GB, free: 11.04 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008644/0.1201, allocations: 0.5108 MB / 0.5539 GB, free: 10.53 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001576/0.1217, allocations: 2 MB / 0.5559 GB, free: 8.527 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006426/0.1224, allocations: 0.6037 MB / 0.5565 GB, free: 7.91 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.1234, allocations: 0.8258 MB / 0.5573 GB, free: 7.082 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.1244, allocations: 0.9699 MB / 0.5582 GB, free: 6.109 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002418/0.1246, allocations: 160 kB / 0.5584 GB, free: 5.953 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007398/0.1254, allocations: 0.6514 MB / 0.559 GB, free: 5.301 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004152/0.1258, allocations: 0.6548 MB / 0.5596 GB, free: 4.645 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000478/0.1262, allocations: 0.5798 MB / 0.5602 GB, free: 4.062 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001624/0.1279, allocations: 2.099 MB / 0.5623 GB, free: 1.957 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1279, allocations: 3.938 kB / 0.5623 GB, free: 1.953 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.1279, allocations: 0 / 0.5623 GB, free: 1.953 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.045e-05/0.1279, allocations: 0 / 0.5623 GB, free: 1.953 MB / 426.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.003028/0.1309, allocations: 1.839 MB / 0.5641 GB, free: 48 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.131, allocations: 8.031 kB / 0.5641 GB, free: 40 kB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.2214/0.3524, allocations: 166.4 kB / 0.5642 GB, free: 28.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008912/0.3533, allocations: 213.6 kB / 0.5644 GB, free: 28.28 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001442/0.3547, allocations: 0.8619 MB / 0.5653 GB, free: 28.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004004/0.3551, allocations: 1.121 MB / 0.5664 GB, free: 26.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000218/0.3553, allocations: 105 kB / 0.5665 GB, free: 26.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002485/0.3578, allocations: 2.047 MB / 0.5685 GB, free: 26.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.3578, allocations: 7.469 kB / 0.5685 GB, free: 26.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.371e-05/0.3579, allocations: 37.19 kB / 0.5685 GB, free: 26.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001429/0.358, allocations: 89.42 kB / 0.5686 GB, free: 26.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003195/0.3612, allocations: 2.243 MB / 0.5708 GB, free: 26.26 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006202/0.3674, allocations: 5.388 MB / 0.576 GB, free: 23.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00242/0.3699, allocations: 1.508 MB / 0.5775 GB, free: 22.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001428/0.3713, allocations: 1.043 MB / 0.5785 GB, free: 22.62 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.965e-05/0.3714, allocations: 13.95 kB / 0.5785 GB, free: 22.62 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001699/0.3731, allocations: 1.321 MB / 0.5798 GB, free: 22.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=116): time 2.685e-06/0.3731, allocations: 0 / 0.5798 GB, free: 22.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=118): time 0.01491/0.388, allocations: 8.354 MB / 0.588 GB, free: 19.56 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.388, allocations: 110.4 kB / 0.5881 GB, free: 19.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004589/0.3885, allocations: 0.522 MB / 0.5886 GB, free: 19.13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.3886, allocations: 56.2 kB / 0.5887 GB, free: 19.08 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.3887, allocations: 417.2 kB / 0.5891 GB, free: 18.72 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001819/0.3889, allocations: 416 kB / 0.5895 GB, free: 18.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002515/0.3892, allocations: 215.5 kB / 0.5897 GB, free: 18.26 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.374e-05/0.3892, allocations: 394.5 kB / 0.59 GB, free: 17.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.3904, allocations: 1.026 MB / 0.591 GB, free: 17.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.3916, allocations: 1.2 MB / 0.5922 GB, free: 16.64 MB / 426.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.006761/0.3983, allocations: 5.001 MB / 0.5971 GB, free: 14.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/0.3983, allocations: 3.891 kB / 0.5971 GB, free: 14.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.006574/0.4049, allocations: 4.389 MB / 0.6014 GB, free: 11.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.639e-05/0.405, allocations: 65.61 kB / 0.6014 GB, free: 11.28 MB / 426.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.001129/0.4061, allocations: 1.011 MB / 0.6024 GB, free: 10.26 MB / 426.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: 2.4329449981451035]