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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.Vsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_Vsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.Vsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_Vsource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009926/0.0009927, allocations: 87.88 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 175.1 kB / 17.56 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 223.3 MB / 241.6 MB, free: 108 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1686/0.1686, allocations: 38.1 MB / 330.8 MB, free: 8.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00033/0.0003302, allocations: 9.594 kB / 400.8 MB, free: 34.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1045, allocations: 59.17 MB / 460 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.006196/0.1107, allocations: 4.974 MB / 465 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003163/0.1139, allocations: 1.601 MB / 466.6 MB, free: 340 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004391/0.1144, allocations: 23.88 kB / 466.6 MB, free: 316 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003664/0.1148, allocations: 95.36 kB / 466.7 MB, free: 220 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007341/0.1155, allocations: 254.9 kB / 466.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005359/0.1161, allocations: 195.7 kB / 467.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009646/0.117, allocations: 0.9116 MB / 468 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008978/0.1179, allocations: 0.5544 MB / 468.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003293/0.1183, allocations: 230.9 kB / 468.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004981/0.1188, allocations: 310.9 kB / 469.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.956e-05/0.1188, allocations: 16 kB / 469.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002676/0.1191, allocations: 143.7 kB / 469.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002036/0.1193, allocations: 191.4 kB / 469.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002229/0.1196, allocations: 252.5 kB / 469.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006008/0.1202, allocations: 0.5565 MB / 470.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1202, allocations: 0 / 470.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1202, allocations: 0 / 470.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.1202, allocations: 0 / 470.3 MB, free: 12.59 MB / 350.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.001198/0.1214, allocations: 0.6561 MB / 470.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.1215, allocations: 11.97 kB / 470.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.997e-05/0.1216, allocations: 82.7 kB / 471 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007992/0.1224, allocations: 104.2 kB / 471.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006848/0.1231, allocations: 420.1 kB / 471.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.1231, allocations: 32.94 kB / 471.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/0.1233, allocations: 55.97 kB / 471.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007148/0.124, allocations: 0.489 MB / 472.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.124, allocations: 0 / 472.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.821e-05/0.1241, allocations: 15.98 kB / 472.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000184/0.1243, allocations: 28.98 kB / 472.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005165/0.1248, allocations: 351.7 kB / 472.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002356/0.1272, allocations: 1.742 MB / 474.2 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003832/0.1276, allocations: 302.4 kB / 474.5 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.1278, allocations: 161.6 kB / 474.7 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.1278, allocations: 11.92 kB / 474.7 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.1279, allocations: 30.56 kB / 474.7 MB, free: 7.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.403e-06/0.1279, allocations: 11.94 kB / 474.7 MB, free: 7.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001929/0.1298, allocations: 1.112 MB / 475.8 MB, free: 6.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.1299, allocations: 81.23 kB / 475.9 MB, free: 6.566 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003209/0.1302, allocations: 333.6 kB / 476.2 MB, free: 6.234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.1302, allocations: 33.69 kB / 476.3 MB, free: 6.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.1304, allocations: 252 kB / 476.5 MB, free: 5.941 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.249e-05/0.1305, allocations: 90.66 kB / 476.6 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-05/0.1306, allocations: 41.7 kB / 476.6 MB, free: 5.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1307, allocations: 346.8 kB / 477 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.1309, allocations: 140.3 kB / 477.1 MB, free: 5.316 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002912/0.1312, allocations: 235.1 kB / 477.4 MB, free: 5.047 MB / 350.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.002493/0.1337, allocations: 1.049 MB / 478.4 MB, free: 3.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1337, allocations: 0 / 478.4 MB, free: 3.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001292/0.135, allocations: 0.6522 MB / 479.1 MB, free: 3.273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.1351, allocations: 6.031 kB / 479.1 MB, free: 3.27 MB / 350.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.000273/0.1353, allocations: 155.8 kB / 479.2 MB, free: 3.117 MB / 350.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated