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.001381/0.001381, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.00157/0.00157, allocations: 209.4 kB / 23.73 MB, free: 4.523 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.489/1.489, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.3034/0.3034, allocations: 38.55 MB / 352.5 MB, free: 12.4 MB / 286.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_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.002064/0.002064, allocations: 67.91 kB / 492.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3151, allocations: 62.47 MB / 0.5419 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.009757/0.3249, allocations: 6.68 MB / 0.5485 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005666/0.3305, allocations: 2.272 MB / 0.5507 GB, free: 9.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006787/0.3312, allocations: 38.34 kB / 0.5507 GB, free: 9.398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.3329, allocations: 0.5133 MB / 0.5512 GB, free: 9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001852/0.3348, allocations: 0.6098 MB / 0.5518 GB, free: 8.527 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001344/0.3361, allocations: 0.5134 MB / 0.5523 GB, free: 8.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002607/0.3388, allocations: 1.992 MB / 0.5543 GB, free: 6.961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.3398, allocations: 0.6099 MB / 0.5549 GB, free: 6.547 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001593/0.3414, allocations: 0.8323 MB / 0.5557 GB, free: 6.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001912/0.3433, allocations: 0.9994 MB / 0.5567 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004325/0.3438, allocations: 159.9 kB / 0.5568 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/0.3452, allocations: 0.6709 MB / 0.5575 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008616/0.346, allocations: 0.6509 MB / 0.5581 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009726/0.347, allocations: 0.5798 MB / 0.5587 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002615/0.3496, allocations: 2.099 MB / 0.5607 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3496, allocations: 0 / 0.5607 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3496, allocations: 0 / 0.5607 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.834e-05/0.3497, allocations: 4 kB / 0.5607 GB, free: 0.9922 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.004839/0.3545, allocations: 1.843 MB / 0.5625 GB, free: 15.08 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.3545, allocations: 15.98 kB / 0.5625 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002914/0.3548, allocations: 168.8 kB / 0.5627 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.3559, allocations: 212.1 kB / 0.5629 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002057/0.3579, allocations: 0.872 MB / 0.5637 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001056/0.359, allocations: 1.117 MB / 0.5648 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000284/0.3593, allocations: 112 kB / 0.5649 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004289/0.3635, allocations: 2.043 MB / 0.5669 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.3636, allocations: 0 / 0.5669 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/0.3637, allocations: 43.98 kB / 0.567 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002431/0.364, allocations: 89.94 kB / 0.5671 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00523/0.3692, allocations: 2.248 MB / 0.5693 GB, free: 7.852 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009415/0.3786, allocations: 5.367 MB / 0.5745 GB, free: 2.355 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00436/0.383, allocations: 1.506 MB / 0.576 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002739/0.3857, allocations: 1.046 MB / 0.577 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.58e-05/0.3858, allocations: 17 kB / 0.577 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002992/0.3888, allocations: 1.313 MB / 0.5783 GB, free: 14.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=116): time 3.597e-06/0.3888, allocations: 4 kB / 0.5783 GB, free: 14.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.02849/0.4173, allocations: 8.356 MB / 0.5865 GB, free: 6.035 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.883e-05/0.4174, allocations: 106 kB / 0.5866 GB, free: 5.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007763/0.4181, allocations: 0.5222 MB / 0.5871 GB, free: 5.379 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001745/0.4183, allocations: 57.69 kB / 0.5871 GB, free: 5.316 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003879/0.4187, allocations: 409.2 kB / 0.5875 GB, free: 4.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004413/0.4191, allocations: 420.5 kB / 0.5879 GB, free: 4.496 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004399/0.4196, allocations: 222.8 kB / 0.5881 GB, free: 4.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002224/0.4198, allocations: 394.7 kB / 0.5885 GB, free: 3.875 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002137/0.4219, allocations: 1.015 MB / 0.5895 GB, free: 2.855 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0023/0.4242, allocations: 1.205 MB / 0.5907 GB, free: 1.59 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.01301/0.4373, allocations: 5.018 MB / 0.5956 GB, free: 12.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.4373, allocations: 0 / 0.5956 GB, free: 12.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01378/0.451, allocations: 4.381 MB / 0.5998 GB, free: 8.094 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.186e-05/0.4511, allocations: 61.67 kB / 0.5999 GB, free: 8.027 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.00226/0.4534, allocations: 1.019 MB / 0.6009 GB, free: 6.996 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.24993205582723] Failed to read output from testmodel.py, exit status != 0: 0.46098782680928707 0.47714304 0.12426398500000001 Calling exit ...