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.001294/0.001294, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001554/0.001554, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.482/1.482, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.1858/0.1858, allocations: 38.53 MB / 353.2 MB, free: 12.54 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="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.002013/0.002013, allocations: 71.89 kB / 493.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3205, allocations: 62.46 MB / 0.5428 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.00916/0.3296, allocations: 7.198 MB / 0.5498 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004773/0.3344, allocations: 2.44 MB / 0.5522 GB, free: 8.852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005479/0.335, allocations: 43 kB / 0.5522 GB, free: 8.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001563/0.3365, allocations: 0.5352 MB / 0.5528 GB, free: 8.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001578/0.3381, allocations: 0.6091 MB / 0.5533 GB, free: 7.934 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.3394, allocations: 0.5131 MB / 0.5538 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002362/0.3417, allocations: 1.998 MB / 0.5558 GB, free: 6.363 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009356/0.3427, allocations: 0.6098 MB / 0.5564 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00144/0.3441, allocations: 0.8211 MB / 0.5572 GB, free: 5.484 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001588/0.3457, allocations: 1.004 MB / 0.5582 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002522/0.346, allocations: 160 kB / 0.5583 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/0.3472, allocations: 0.6904 MB / 0.559 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006937/0.3479, allocations: 0.6509 MB / 0.5596 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008064/0.3487, allocations: 0.6924 MB / 0.5603 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002393/0.3511, allocations: 2.083 MB / 0.5623 GB, free: 408 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.3511, allocations: 0 / 0.5623 GB, free: 408 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3511, allocations: 4 kB / 0.5624 GB, free: 404 kB / 398.1 MB Notification: Performance of Transformations before backend: time 2.886e-05/0.3512, allocations: 0 / 0.5624 GB, free: 404 kB / 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.004764/0.3559, allocations: 1.839 MB / 0.5641 GB, free: 14.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.356, allocations: 15.98 kB / 0.5642 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.373e-05/0.356, allocations: 22.19 kB / 0.5642 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002496/0.3563, allocations: 176.7 kB / 0.5644 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.3573, allocations: 220.1 kB / 0.5646 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002134/0.3594, allocations: 0.8565 MB / 0.5654 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001094/0.3605, allocations: 1.128 MB / 0.5665 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003404/0.3609, allocations: 111.9 kB / 0.5666 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004667/0.3655, allocations: 2.036 MB / 0.5686 GB, free: 9.617 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.541e-05/0.3656, allocations: 7.984 kB / 0.5686 GB, free: 9.609 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/0.3657, allocations: 36 kB / 0.5686 GB, free: 9.574 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002535/0.366, allocations: 93.88 kB / 0.5687 GB, free: 9.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005725/0.3717, allocations: 2.252 MB / 0.5709 GB, free: 7.227 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01111/0.3828, allocations: 5.695 MB / 0.5765 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004595/0.3874, allocations: 1.51 MB / 0.578 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002878/0.3903, allocations: 1.047 MB / 0.579 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.3904, allocations: 10.25 kB / 0.579 GB, free: 14.81 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00313/0.3935, allocations: 1.316 MB / 0.5803 GB, free: 13.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=116): time 4.809e-06/0.3935, allocations: 7.984 kB / 0.5803 GB, free: 13.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.02925/0.4228, allocations: 8.368 MB / 0.5885 GB, free: 5.059 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.4229, allocations: 102.1 kB / 0.5886 GB, free: 4.938 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007476/0.4236, allocations: 0.5144 MB / 0.5891 GB, free: 4.414 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002694/0.4239, allocations: 53.7 kB / 0.5891 GB, free: 4.355 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003684/0.4243, allocations: 417.2 kB / 0.5895 GB, free: 3.941 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004837/0.4248, allocations: 412.5 kB / 0.5899 GB, free: 3.535 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004448/0.4252, allocations: 222.8 kB / 0.5901 GB, free: 3.309 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002021/0.4254, allocations: 394.8 kB / 0.5905 GB, free: 2.914 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00211/0.4275, allocations: 0.9706 MB / 0.5914 GB, free: 1.945 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002278/0.4298, allocations: 1.17 MB / 0.5926 GB, free: 0.7188 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.01352/0.4433, allocations: 5.018 MB / 0.5975 GB, free: 11.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.806e-06/0.4433, allocations: 0 / 0.5975 GB, free: 11.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01455/0.4579, allocations: 4.336 MB / 0.6017 GB, free: 7.273 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.458, allocations: 65.67 kB / 0.6018 GB, free: 7.203 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.002663/0.4606, allocations: 1.05 MB / 0.6028 GB, free: 6.145 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.0588834619848058] Failed to read output from testmodel.py, exit status != 0: 0.4681232859729789 0.48445977999999995 0.129944691 Calling exit ...