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.001707/0.001707, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002064/0.002064, allocations: 208.4 kB / 23.73 MB, free: 4.387 MB / 14.72 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.526/1.526, allocations: 230.6 MB / 257.5 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.1833/0.1833, allocations: 38.56 MB / 352.5 MB, free: 12.3 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me",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.002074/0.002074, allocations: 63.91 kB / 492.5 MB, free: 4.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3133, allocations: 62.46 MB / 0.5419 GB, free: 232 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.009204/0.3225, allocations: 6.684 MB / 0.5485 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004525/0.327, allocations: 2.268 MB / 0.5507 GB, free: 9.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004699/0.3275, allocations: 39.16 kB / 0.5507 GB, free: 9.379 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001589/0.3291, allocations: 0.5202 MB / 0.5512 GB, free: 8.973 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002107/0.3312, allocations: 0.6089 MB / 0.5518 GB, free: 8.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.3329, allocations: 0.5103 MB / 0.5523 GB, free: 8.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002579/0.3355, allocations: 1.996 MB / 0.5543 GB, free: 6.934 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.3365, allocations: 0.5976 MB / 0.5549 GB, free: 6.531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/0.3383, allocations: 0.8288 MB / 0.5557 GB, free: 6.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001594/0.3399, allocations: 0.9702 MB / 0.5566 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002778/0.3401, allocations: 160 kB / 0.5568 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/0.3414, allocations: 0.6514 MB / 0.5574 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006878/0.3421, allocations: 0.647 MB / 0.558 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007896/0.3429, allocations: 0.5876 MB / 0.5586 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002374/0.3453, allocations: 2.095 MB / 0.5607 GB, free: 1.043 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.3453, allocations: 0 / 0.5607 GB, free: 1.043 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3453, allocations: 0 / 0.5607 GB, free: 1.043 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.093e-05/0.3453, allocations: 0 / 0.5607 GB, free: 1.043 MB / 398.1 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.004406/0.3497, allocations: 1.843 MB / 0.5625 GB, free: 15.13 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3497, allocations: 11.98 kB / 0.5625 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002439/0.35, allocations: 176.7 kB / 0.5626 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009945/0.351, allocations: 216.1 kB / 0.5628 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002332/0.3533, allocations: 0.8526 MB / 0.5637 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001049/0.3543, allocations: 1.136 MB / 0.5648 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003028/0.3547, allocations: 103.9 kB / 0.5649 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004376/0.359, allocations: 2.044 MB / 0.5669 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.237e-05/0.3591, allocations: 4 kB / 0.5669 GB, free: 10.28 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.3592, allocations: 39.98 kB / 0.5669 GB, free: 10.24 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002453/0.3594, allocations: 89.95 kB / 0.567 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005232/0.3647, allocations: 2.244 MB / 0.5692 GB, free: 7.906 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0106/0.3753, allocations: 5.371 MB / 0.5744 GB, free: 2.406 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004293/0.3796, allocations: 1.514 MB / 0.5759 GB, free: 0.875 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002682/0.3823, allocations: 1.043 MB / 0.5769 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.159e-05/0.3823, allocations: 9 kB / 0.5769 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003015/0.3853, allocations: 1.32 MB / 0.5782 GB, free: 14.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=116): time 3.737e-06/0.3854, allocations: 0 / 0.5782 GB, free: 14.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.02866/0.414, allocations: 8.361 MB / 0.5864 GB, free: 6.082 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.4141, allocations: 102.1 kB / 0.5865 GB, free: 5.961 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008184/0.4149, allocations: 0.5222 MB / 0.587 GB, free: 5.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002567/0.4152, allocations: 57.69 kB / 0.5871 GB, free: 5.367 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003762/0.4156, allocations: 413.2 kB / 0.5875 GB, free: 4.957 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004517/0.416, allocations: 416.5 kB / 0.5879 GB, free: 4.547 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004379/0.4165, allocations: 222.8 kB / 0.5881 GB, free: 4.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002463/0.4167, allocations: 394.8 kB / 0.5884 GB, free: 3.926 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002315/0.419, allocations: 1.023 MB / 0.5894 GB, free: 2.898 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002332/0.4214, allocations: 1.204 MB / 0.5906 GB, free: 1.633 MB / 430.1 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.01306/0.4344, allocations: 5.007 MB / 0.5955 GB, free: 12.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.4344, allocations: 4 kB / 0.5955 GB, free: 12.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01369/0.4481, allocations: 4.385 MB / 0.5998 GB, free: 8.141 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.4482, allocations: 68.27 kB / 0.5999 GB, free: 8.07 MB / 446.1 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.00241/0.4506, allocations: 1.023 MB / 0.6009 GB, free: 7.035 MB / 446.1 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: 3.1425883839838207] Failed to read output from testmodel.py, exit status != 0: 0.4588237013667822 0.474117463 0.12540842100000002 Calling exit ...