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.001417/0.001417, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001875/0.001875, allocations: 216.8 kB / 24.52 MB, free: 3.91 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.465/1.465, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.1854/0.1854, allocations: 38.55 MB / 353.2 MB, free: 12.32 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.001985/0.001985, allocations: 63.84 kB / 493.3 MB, free: 4.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3148, allocations: 62.47 MB / 0.5427 GB, free: 264 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.009249/0.324, allocations: 6.677 MB / 0.5492 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004452/0.3285, allocations: 2.264 MB / 0.5514 GB, free: 9.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004625/0.3289, allocations: 42.47 kB / 0.5515 GB, free: 9.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001481/0.3304, allocations: 0.5086 MB / 0.552 GB, free: 9.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001432/0.3319, allocations: 0.6088 MB / 0.5526 GB, free: 8.535 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.3331, allocations: 0.5146 MB / 0.5531 GB, free: 8.137 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002369/0.3355, allocations: 1.996 MB / 0.555 GB, free: 6.965 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009156/0.3364, allocations: 0.6066 MB / 0.5556 GB, free: 6.555 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001368/0.3377, allocations: 0.8364 MB / 0.5564 GB, free: 6.074 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.3392, allocations: 1.006 MB / 0.5574 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002798/0.3395, allocations: 160 kB / 0.5576 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.3407, allocations: 0.6554 MB / 0.5582 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006975/0.3414, allocations: 0.6547 MB / 0.5588 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007313/0.3422, allocations: 0.5837 MB / 0.5594 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002353/0.3445, allocations: 2.091 MB / 0.5615 GB, free: 1.027 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3445, allocations: 4 kB / 0.5615 GB, free: 1.023 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3445, allocations: 3.938 kB / 0.5615 GB, free: 1.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.152e-05/0.3446, allocations: 3.938 kB / 0.5615 GB, free: 1.016 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.004436/0.349, allocations: 1.836 MB / 0.5633 GB, free: 15.11 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.349, allocations: 19.98 kB / 0.5633 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.28e-05/0.3491, allocations: 22.19 kB / 0.5633 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002415/0.3493, allocations: 172.7 kB / 0.5635 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.3503, allocations: 212.1 kB / 0.5637 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002029/0.3524, allocations: 0.872 MB / 0.5645 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001004/0.3534, allocations: 1.124 MB / 0.5656 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003187/0.3537, allocations: 99.98 kB / 0.5657 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004604/0.3583, allocations: 2.044 MB / 0.5677 GB, free: 10.24 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.343e-05/0.3583, allocations: 7.938 kB / 0.5677 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001442/0.3585, allocations: 35.98 kB / 0.5677 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002567/0.3587, allocations: 89.95 kB / 0.5678 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005112/0.3638, allocations: 2.252 MB / 0.57 GB, free: 7.855 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009846/0.3737, allocations: 5.375 MB / 0.5753 GB, free: 2.348 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004207/0.3779, allocations: 1.51 MB / 0.5768 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002642/0.3805, allocations: 1.04 MB / 0.5778 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.43e-05/0.3806, allocations: 16.98 kB / 0.5778 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002889/0.3835, allocations: 1.312 MB / 0.5791 GB, free: 14.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=116): time 3.576e-06/0.3835, allocations: 0 / 0.5791 GB, free: 14.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.02684/0.4103, allocations: 8.368 MB / 0.5872 GB, free: 6.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.4104, allocations: 102.1 kB / 0.5873 GB, free: 5.898 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007738/0.4112, allocations: 0.5183 MB / 0.5878 GB, free: 5.371 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002968/0.4115, allocations: 57.69 kB / 0.5879 GB, free: 5.309 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000386/0.4119, allocations: 409.2 kB / 0.5883 GB, free: 4.902 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005157/0.4124, allocations: 412.6 kB / 0.5887 GB, free: 4.496 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004651/0.4129, allocations: 218.8 kB / 0.5889 GB, free: 4.273 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002256/0.4131, allocations: 394.8 kB / 0.5893 GB, free: 3.879 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002124/0.4152, allocations: 1.023 MB / 0.5903 GB, free: 2.852 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002198/0.4174, allocations: 1.205 MB / 0.5914 GB, free: 1.586 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.01281/0.4302, allocations: 5.007 MB / 0.5963 GB, free: 12.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/0.4303, allocations: 4 kB / 0.5963 GB, free: 12.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01283/0.4431, allocations: 4.393 MB / 0.6006 GB, free: 8.086 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.906e-05/0.4432, allocations: 57.7 kB / 0.6007 GB, free: 8.023 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.002413/0.4456, allocations: 1.018 MB / 0.6017 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.0724306240445003] Failed to read output from testmodel.py, exit status != 0: 0.45334335800725967 0.470415136 0.12260631200000001 Calling exit ...