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.001268/0.001268, allocations: 112.2 kB / 21.22 MB, free: 0.7266 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.001431/0.001431, allocations: 208.2 kB / 24.52 MB, free: 4.066 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.487/1.487, 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 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.1917/0.1917, allocations: 38.53 MB / 353.3 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 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.002003/0.002003, allocations: 63.89 kB / 493.3 MB, free: 4.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.326, 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.01021/0.3362, allocations: 7.2 MB / 0.5498 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005734/0.3419, allocations: 2.439 MB / 0.5522 GB, free: 8.852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009218/0.3429, allocations: 42.22 kB / 0.5522 GB, free: 8.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001727/0.3446, allocations: 0.5394 MB / 0.5528 GB, free: 8.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0021/0.3467, allocations: 0.6092 MB / 0.5533 GB, free: 7.934 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.3481, allocations: 0.5088 MB / 0.5538 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002642/0.3507, allocations: 2.003 MB / 0.5558 GB, free: 6.363 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000979/0.3517, allocations: 0.6139 MB / 0.5564 GB, free: 5.945 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001638/0.3534, allocations: 0.8205 MB / 0.5572 GB, free: 5.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001592/0.3549, allocations: 1.004 MB / 0.5582 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002684/0.3552, allocations: 160 kB / 0.5583 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.3566, allocations: 0.6865 MB / 0.559 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007859/0.3574, allocations: 0.6548 MB / 0.5596 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009428/0.3583, allocations: 0.6768 MB / 0.5603 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002895/0.3612, allocations: 2.091 MB / 0.5623 GB, free: 432 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3612, allocations: 4 kB / 0.5623 GB, free: 428 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3612, allocations: 3.938 kB / 0.5624 GB, free: 424 kB / 398.1 MB Notification: Performance of Transformations before backend: time 3.212e-05/0.3613, allocations: 4 kB / 0.5624 GB, free: 420 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.005091/0.3663, allocations: 1.833 MB / 0.5641 GB, free: 14.51 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.3664, allocations: 19.98 kB / 0.5642 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.256e-05/0.3664, allocations: 22.19 kB / 0.5642 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00026/0.3667, allocations: 172.7 kB / 0.5644 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.3678, allocations: 220 kB / 0.5646 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002122/0.3699, allocations: 0.8604 MB / 0.5654 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001026/0.3709, allocations: 1.119 MB / 0.5665 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003073/0.3713, allocations: 111.9 kB / 0.5666 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004426/0.3757, allocations: 2.044 MB / 0.5686 GB, free: 9.633 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.212e-05/0.3757, allocations: 4 kB / 0.5686 GB, free: 9.629 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/0.3759, allocations: 43.98 kB / 0.5686 GB, free: 9.586 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002422/0.3761, allocations: 93.81 kB / 0.5687 GB, free: 9.492 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005514/0.3816, allocations: 2.256 MB / 0.5709 GB, free: 7.234 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01037/0.392, allocations: 5.679 MB / 0.5765 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004482/0.3965, allocations: 1.513 MB / 0.578 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002758/0.3992, allocations: 1.052 MB / 0.579 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.737e-05/0.3993, allocations: 12.98 kB / 0.579 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003076/0.4024, allocations: 1.316 MB / 0.5803 GB, free: 13.49 MB / 430.1 MB Notification: Performance of pre-optimization done (n=116): time 3.066e-06/0.4024, allocations: 0 / 0.5803 GB, free: 13.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.02961/0.432, allocations: 8.364 MB / 0.5885 GB, free: 5.086 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.4321, allocations: 110.1 kB / 0.5886 GB, free: 4.957 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007622/0.4329, allocations: 0.5105 MB / 0.5891 GB, free: 4.438 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002819/0.4332, allocations: 65.62 kB / 0.5891 GB, free: 4.367 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003525/0.4335, allocations: 405.2 kB / 0.5895 GB, free: 3.965 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004526/0.434, allocations: 412.6 kB / 0.5899 GB, free: 3.559 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004324/0.4344, allocations: 218.9 kB / 0.5901 GB, free: 3.336 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.4346, allocations: 402.7 kB / 0.5905 GB, free: 2.934 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002167/0.4368, allocations: 0.9745 MB / 0.5914 GB, free: 1.961 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002351/0.4391, allocations: 1.162 MB / 0.5926 GB, free: 0.7422 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.01362/0.4527, allocations: 5.018 MB / 0.5975 GB, free: 11.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.4528, allocations: 0 / 0.5975 GB, free: 11.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01406/0.4668, allocations: 4.344 MB / 0.6017 GB, free: 7.289 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001469/0.467, allocations: 61.69 kB / 0.6018 GB, free: 7.223 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.002808/0.4698, allocations: 1.05 MB / 0.6028 GB, free: 6.164 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.0460467480006628] Failed to read output from testmodel.py, exit status != 0: 0.4781242710305378 0.49527939699999995 0.130665613 Calling exit ...