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.001391/0.001391, allocations: 108.2 kB / 16.92 MB, free: 6.145 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.001619/0.001619, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.303/1.303, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1741/0.1741, allocations: 38.05 MB / 329.7 MB, free: 8.828 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 61.5 kB / 398.9 MB, free: 33.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09002/0.09123, allocations: 58.06 MB / 457 MB, free: 7.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.006038/0.09731, allocations: 4.728 MB / 461.7 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002293/0.09963, allocations: 1.433 MB / 463.1 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002035/0.09985, allocations: 15.94 kB / 463.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001179/0.101, allocations: 402.3 kB / 463.5 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006108/0.1017, allocations: 282.6 kB / 463.8 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005481/0.1022, allocations: 219.5 kB / 464 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000677/0.1029, allocations: 0.623 MB / 464.7 MB, free: 228 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004615/0.1034, allocations: 297.2 kB / 464.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004172/0.1038, allocations: 278.9 kB / 465.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000544/0.1044, allocations: 314.9 kB / 465.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.801e-05/0.1044, allocations: 36 kB / 465.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000303/0.1048, allocations: 143.8 kB / 465.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000219/0.105, allocations: 211.4 kB / 465.9 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000288/0.1053, allocations: 242.8 kB / 466.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000648/0.1059, allocations: 0.5645 MB / 466.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.106, allocations: 3.938 kB / 466.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.106, allocations: 0 / 466.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.106, allocations: 0 / 466.7 MB, free: 14.16 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.001354/0.1073, allocations: 0.7495 MB / 467.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.1074, allocations: 11.89 kB / 467.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001087/0.1075, allocations: 78.72 kB / 467.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008758/0.1084, allocations: 96.3 kB / 467.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008016/0.1092, allocations: 428.1 kB / 468.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.28e-05/0.1092, allocations: 32.94 kB / 468.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/0.1094, allocations: 67.8 kB / 468.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007471/0.1102, allocations: 492.8 kB / 468.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.1102, allocations: 0 / 468.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.265e-05/0.1103, allocations: 19.98 kB / 468.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001884/0.1105, allocations: 24.98 kB / 468.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005561/0.111, allocations: 355.7 kB / 469 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002426/0.1135, allocations: 1.723 MB / 470.8 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003929/0.1139, allocations: 310.4 kB / 471.1 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.1141, allocations: 153.7 kB / 471.2 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.373e-05/0.1141, allocations: 4 kB / 471.2 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.1142, allocations: 38.5 kB / 471.3 MB, free: 9.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.653e-06/0.1142, allocations: 4 kB / 471.3 MB, free: 9.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.00199/0.1162, allocations: 1.124 MB / 472.4 MB, free: 8.156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.1162, allocations: 81.05 kB / 472.5 MB, free: 8.059 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003204/0.1166, allocations: 337.8 kB / 472.8 MB, free: 7.723 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.1166, allocations: 29.7 kB / 472.8 MB, free: 7.688 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.1168, allocations: 243.9 kB / 473.1 MB, free: 7.441 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.417e-05/0.1169, allocations: 98.64 kB / 473.2 MB, free: 7.344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.117, allocations: 69.69 kB / 473.2 MB, free: 7.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1171, allocations: 350.8 kB / 473.6 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.1174, allocations: 144.2 kB / 473.7 MB, free: 6.773 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/0.1176, allocations: 235.2 kB / 473.9 MB, free: 6.504 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.002526/0.1202, allocations: 1.049 MB / 475 MB, free: 5.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1202, allocations: 0 / 475 MB, free: 5.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001318/0.1215, allocations: 0.6526 MB / 475.6 MB, free: 4.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1215, allocations: 4 kB / 475.6 MB, free: 4.727 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.0002516/0.1218, allocations: 163.8 kB / 475.8 MB, free: 4.566 MB / 350.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated