Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.Vsource.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.001803/0.001803, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.002495/0.002495, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.585/1.585, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.1979/0.1979, allocations: 38.51 MB / 348.7 MB, free: 2.598 MB / 270.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.Generation.Vsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_Vsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.Vsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_Vsource",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.003135/0.003135, allocations: 63.91 kB / 487.1 MB, free: 22.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1325, allocations: 62.41 MB / 0.5367 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.00838/0.1409, allocations: 4.784 MB / 0.5413 GB, free: 2.754 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003566/0.1445, allocations: 1.5 MB / 0.5428 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004369/0.1449, allocations: 19.81 kB / 0.5428 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001342/0.1462, allocations: 406.2 kB / 0.5432 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000891/0.1471, allocations: 282.7 kB / 0.5435 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006615/0.1478, allocations: 219.5 kB / 0.5437 GB, free: 348 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008503/0.1486, allocations: 0.6308 MB / 0.5443 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004537/0.1491, allocations: 233.2 kB / 0.5445 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00056/0.1497, allocations: 302.8 kB / 0.5448 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005809/0.1502, allocations: 338.8 kB / 0.5451 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.772e-05/0.1503, allocations: 35.98 kB / 0.5452 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003973/0.1507, allocations: 155.7 kB / 0.5453 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002522/0.151, allocations: 219.3 kB / 0.5455 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002924/0.1512, allocations: 238.8 kB / 0.5458 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008671/0.1521, allocations: 0.5797 MB / 0.5463 GB, free: 13.63 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.1521, allocations: 4 kB / 0.5463 GB, free: 13.62 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1521, allocations: 0 / 0.5463 GB, free: 13.62 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.1521, allocations: 0 / 0.5463 GB, free: 13.62 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001511/0.1536, allocations: 0.7607 MB / 0.5471 GB, free: 12.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.1537, allocations: 12.03 kB / 0.5471 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001017/0.1538, allocations: 74.72 kB / 0.5472 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008956/0.1547, allocations: 112.5 kB / 0.5473 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008562/0.1555, allocations: 448.4 kB / 0.5477 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.706e-05/0.1556, allocations: 28.94 kB / 0.5477 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002119/0.1558, allocations: 63.91 kB / 0.5478 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008639/0.1567, allocations: 492.8 kB / 0.5482 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.1567, allocations: 0 / 0.5482 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.32e-05/0.1567, allocations: 19.98 kB / 0.5483 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001977/0.1569, allocations: 28.98 kB / 0.5483 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005832/0.1575, allocations: 347.7 kB / 0.5486 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00269/0.1602, allocations: 1.723 MB / 0.5503 GB, free: 9.328 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004363/0.1606, allocations: 301.4 kB / 0.5506 GB, free: 9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.1609, allocations: 145.7 kB / 0.5507 GB, free: 8.852 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.1609, allocations: 4 kB / 0.5507 GB, free: 8.848 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.1609, allocations: 42.5 kB / 0.5508 GB, free: 8.797 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 2.715e-06/0.1609, allocations: 3.938 kB / 0.5508 GB, free: 8.793 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.002245/0.1632, allocations: 1.127 MB / 0.5519 GB, free: 7.605 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.1632, allocations: 85.23 kB / 0.552 GB, free: 7.504 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003952/0.1636, allocations: 333.6 kB / 0.5523 GB, free: 7.172 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.1637, allocations: 29.7 kB / 0.5523 GB, free: 7.137 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.1639, allocations: 252.5 kB / 0.5526 GB, free: 6.883 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.645e-05/0.164, allocations: 103.1 kB / 0.5526 GB, free: 6.781 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.1641, allocations: 73.67 kB / 0.5527 GB, free: 6.703 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.1643, allocations: 346.8 kB / 0.5531 GB, free: 6.355 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/0.1645, allocations: 144.3 kB / 0.5532 GB, free: 6.211 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003018/0.1648, allocations: 231.2 kB / 0.5534 GB, free: 5.945 MB / 414.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.002774/0.1676, allocations: 1.044 MB / 0.5544 GB, free: 4.848 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.1676, allocations: 4 kB / 0.5544 GB, free: 4.844 MB / 414.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001444/0.169, allocations: 0.6561 MB / 0.5551 GB, free: 4.168 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.169, allocations: 4 kB / 0.5551 GB, free: 4.164 MB / 414.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.0002883/0.1693, allocations: 156.4 kB / 0.5552 GB, free: 4.012 MB / 414.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.0207430809969082] Failed to read output from testmodel.py, exit status != 0: 0.17724345900933258 0.19253852700000001 0.037059478 Calling exit ...