Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.00139/0.00139, allocations: 114.3 kB / 18.49 MB, free: 4.426 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.001734/0.001734, allocations: 221.4 kB / 21.46 MB, free: 1.469 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.54/1.54, allocations: 230.6 MB / 254.8 MB, free: 15.04 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.1869/0.1869, allocations: 38.5 MB / 349.4 MB, free: 2.574 MB / 270.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.Generation.Vsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_Vsource",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.Vsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_Vsource",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.001975/0.001975, allocations: 79.83 kB / 487.9 MB, free: 22.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1201, allocations: 62.41 MB / 0.5374 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.007051/0.1272, allocations: 4.784 MB / 0.542 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002848/0.13, allocations: 1.488 MB / 0.5435 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002557/0.1303, allocations: 19.88 kB / 0.5435 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.1316, allocations: 410.2 kB / 0.5439 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006658/0.1322, allocations: 286.6 kB / 0.5442 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005905/0.1328, allocations: 215.5 kB / 0.5444 GB, free: 320 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000763/0.1336, allocations: 0.6308 MB / 0.545 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000411/0.134, allocations: 241.2 kB / 0.5452 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004416/0.1345, allocations: 290.8 kB / 0.5455 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005035/0.135, allocations: 342.8 kB / 0.5458 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.586e-05/0.135, allocations: 36 kB / 0.5459 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000297/0.1353, allocations: 155.7 kB / 0.546 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.1355, allocations: 203.5 kB / 0.5462 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002555/0.1358, allocations: 254.7 kB / 0.5465 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000734/0.1365, allocations: 0.5837 MB / 0.547 GB, free: 13.6 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1365, allocations: 0 / 0.547 GB, free: 13.6 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1365, allocations: 0 / 0.547 GB, free: 13.6 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.1365, allocations: 0 / 0.547 GB, free: 13.6 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.001372/0.1379, allocations: 0.7606 MB / 0.5478 GB, free: 12.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.1379, allocations: 8.031 kB / 0.5478 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.623e-05/0.138, allocations: 13.19 kB / 0.5478 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.976e-05/0.138, allocations: 74.72 kB / 0.5479 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008638/0.1389, allocations: 112.5 kB / 0.548 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007544/0.1397, allocations: 456.1 kB / 0.5484 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.1397, allocations: 25 kB / 0.5484 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/0.1399, allocations: 55.94 kB / 0.5485 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008339/0.1407, allocations: 0.489 MB / 0.549 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.1407, allocations: 0 / 0.549 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.728e-05/0.1408, allocations: 16 kB / 0.549 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001971/0.141, allocations: 28.97 kB / 0.549 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005942/0.1416, allocations: 343.7 kB / 0.5493 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002623/0.1442, allocations: 1.727 MB / 0.551 GB, free: 9.293 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004108/0.1446, allocations: 294.4 kB / 0.5513 GB, free: 8.969 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002334/0.1448, allocations: 157.5 kB / 0.5514 GB, free: 8.809 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.1449, allocations: 7.984 kB / 0.5515 GB, free: 8.801 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.1449, allocations: 38.56 kB / 0.5515 GB, free: 8.754 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 1.904e-06/0.1449, allocations: 0 / 0.5515 GB, free: 8.754 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.002152/0.147, allocations: 1.139 MB / 0.5526 GB, free: 7.555 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.1471, allocations: 77.11 kB / 0.5527 GB, free: 7.461 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000367/0.1475, allocations: 333.6 kB / 0.553 GB, free: 7.125 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.1475, allocations: 29.7 kB / 0.553 GB, free: 7.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.1477, allocations: 248.5 kB / 0.5533 GB, free: 6.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.711e-05/0.1478, allocations: 111.1 kB / 0.5534 GB, free: 6.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.1479, allocations: 69.73 kB / 0.5534 GB, free: 6.656 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.1481, allocations: 350.8 kB / 0.5538 GB, free: 6.305 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002519/0.1483, allocations: 144.3 kB / 0.5539 GB, free: 6.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/0.1487, allocations: 227.2 kB / 0.5541 GB, free: 5.898 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.002716/0.1514, allocations: 1.044 MB / 0.5551 GB, free: 4.801 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1514, allocations: 0 / 0.5551 GB, free: 4.801 MB / 414.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001443/0.1528, allocations: 0.6447 MB / 0.5558 GB, free: 4.137 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.1528, allocations: 8.062 kB / 0.5558 GB, free: 4.129 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.0002962/0.1531, allocations: 160.3 kB / 0.5559 GB, free: 3.973 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: 2.9035530569963157] Failed to read output from testmodel.py, exit status != 0: 0.15950225002598017 0.17475126500000002 0.035205973 Calling exit ...