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.001291/0.001291, 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.001979/0.001979, allocations: 214 kB / 24.52 MB, free: 3.914 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.515/1.515, allocations: 230.6 MB / 258.3 MB, free: 7.766 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.1879/0.1879, allocations: 38.54 MB / 353.2 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 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_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.001992/0.001992, allocations: 55.91 kB / 493.3 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3429, allocations: 62.47 MB / 0.5427 GB, free: 244 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.008863/0.3518, allocations: 6.676 MB / 0.5492 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004359/0.3562, allocations: 2.271 MB / 0.5514 GB, free: 9.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004331/0.3566, allocations: 43.38 kB / 0.5515 GB, free: 9.379 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.3581, allocations: 0.5008 MB / 0.552 GB, free: 8.992 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001396/0.3595, allocations: 0.6085 MB / 0.5526 GB, free: 8.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.3607, allocations: 0.5133 MB / 0.5531 GB, free: 8.121 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002247/0.3629, allocations: 2.001 MB / 0.555 GB, free: 6.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009414/0.3639, allocations: 0.6051 MB / 0.5556 GB, free: 6.535 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001534/0.3654, allocations: 0.8332 MB / 0.5564 GB, free: 6.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001564/0.367, allocations: 1.004 MB / 0.5574 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002723/0.3672, allocations: 160 kB / 0.5576 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.3685, allocations: 0.6631 MB / 0.5582 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007341/0.3692, allocations: 0.6547 MB / 0.5588 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008329/0.37, allocations: 0.5759 MB / 0.5594 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002694/0.3727, allocations: 2.107 MB / 0.5615 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3727, allocations: 0 / 0.5615 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3727, allocations: 0 / 0.5615 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.099e-05/0.3728, allocations: 0 / 0.5615 GB, free: 0.9961 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.004869/0.3776, allocations: 1.843 MB / 0.5633 GB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.3777, allocations: 15.98 kB / 0.5633 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.624e-05/0.3777, allocations: 26.19 kB / 0.5633 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002563/0.378, allocations: 172.7 kB / 0.5635 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.3791, allocations: 208.1 kB / 0.5637 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002042/0.3811, allocations: 0.872 MB / 0.5645 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001139/0.3823, allocations: 1.117 MB / 0.5656 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003061/0.3826, allocations: 104 kB / 0.5657 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004437/0.387, allocations: 2.047 MB / 0.5677 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.578e-05/0.3871, allocations: 3.938 kB / 0.5677 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001499/0.3872, allocations: 39.98 kB / 0.5678 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002705/0.3875, allocations: 89.94 kB / 0.5678 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005139/0.3926, allocations: 2.248 MB / 0.57 GB, free: 7.836 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00976/0.4024, allocations: 5.375 MB / 0.5753 GB, free: 2.328 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004125/0.4065, allocations: 1.51 MB / 0.5768 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002545/0.409, allocations: 1.046 MB / 0.5778 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.017e-05/0.4091, allocations: 9 kB / 0.5778 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002879/0.412, allocations: 1.314 MB / 0.5791 GB, free: 14.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=116): time 3.307e-06/0.412, allocations: 0 / 0.5791 GB, free: 14.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.02695/0.439, allocations: 8.368 MB / 0.5872 GB, free: 6.004 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.4391, allocations: 102.1 kB / 0.5873 GB, free: 5.883 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007824/0.4399, allocations: 0.5183 MB / 0.5878 GB, free: 5.355 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000227/0.4401, allocations: 57.69 kB / 0.5879 GB, free: 5.293 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004097/0.4405, allocations: 409.2 kB / 0.5883 GB, free: 4.887 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004562/0.4409, allocations: 412.6 kB / 0.5887 GB, free: 4.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004363/0.4414, allocations: 218.8 kB / 0.5889 GB, free: 4.258 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002265/0.4416, allocations: 398.7 kB / 0.5893 GB, free: 3.859 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002014/0.4436, allocations: 1.023 MB / 0.5903 GB, free: 2.832 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002164/0.4458, allocations: 1.21 MB / 0.5915 GB, free: 1.559 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.01256/0.4583, allocations: 5.01 MB / 0.5963 GB, free: 12.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.4584, allocations: 0 / 0.5963 GB, free: 12.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01277/0.4711, allocations: 4.389 MB / 0.6006 GB, free: 8.062 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001117/0.4712, allocations: 57.72 kB / 0.6007 GB, free: 8 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.002408/0.4736, allocations: 1.026 MB / 0.6017 GB, free: 6.965 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.13098635408096] Failed to read output from testmodel.py, exit status != 0: 0.48219624103512615 0.500143388 0.124004553 Calling exit ...