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.001255/0.001255, allocations: 114.1 kB / 16.63 MB, free: 6.812 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.001491/0.001491, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.316/1.316, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1734/0.1734, allocations: 38.04 MB / 329.4 MB, free: 9.039 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 62.11 kB / 398.4 MB, free: 34.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1033, allocations: 58.07 MB / 456.5 MB, free: 8.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.005706/0.109, allocations: 5.38 MB / 461.8 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00233/0.1114, allocations: 1.597 MB / 463.4 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002989/0.1117, allocations: 27.81 kB / 463.5 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.1128, allocations: 390.6 kB / 463.8 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005747/0.1134, allocations: 250.9 kB / 464.1 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004632/0.1139, allocations: 199.6 kB / 464.3 MB, free: 480 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006102/0.1145, allocations: 0.6231 MB / 464.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004717/0.115, allocations: 317.2 kB / 465.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003835/0.1154, allocations: 282.9 kB / 465.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005047/0.1159, allocations: 338.9 kB / 465.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.856e-05/0.1159, allocations: 32 kB / 465.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00026/0.1162, allocations: 143.6 kB / 466 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001976/0.1164, allocations: 215.4 kB / 466.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002283/0.1167, allocations: 250.7 kB / 466.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005185/0.1172, allocations: 0.5762 MB / 467 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1172, allocations: 3.938 kB / 467 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1172, allocations: 0 / 467 MB, free: 13.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.1172, allocations: 0 / 467 MB, free: 13.72 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.001138/0.1184, allocations: 0.7417 MB / 467.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.1184, allocations: 11.89 kB / 467.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.279e-05/0.1185, allocations: 70.72 kB / 467.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007714/0.1193, allocations: 108.3 kB / 468 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006169/0.1199, allocations: 424.1 kB / 468.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.1199, allocations: 32.94 kB / 468.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.1201, allocations: 51.89 kB / 468.5 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006726/0.1208, allocations: 0.489 MB / 468.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.1208, allocations: 4 kB / 468.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.1208, allocations: 15.94 kB / 469 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001853/0.121, allocations: 32.97 kB / 469 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00048/0.1215, allocations: 339.7 kB / 469.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002227/0.1237, allocations: 1.738 MB / 471.1 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003384/0.1241, allocations: 314.4 kB / 471.4 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.1243, allocations: 157.6 kB / 471.5 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.1243, allocations: 7.984 kB / 471.5 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.1244, allocations: 34.56 kB / 471.6 MB, free: 8.895 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.763e-06/0.1244, allocations: 4 kB / 471.6 MB, free: 8.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001813/0.1262, allocations: 1.12 MB / 472.7 MB, free: 7.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.1262, allocations: 81.11 kB / 472.8 MB, free: 7.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002899/0.1265, allocations: 337.7 kB / 473.1 MB, free: 7.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.1266, allocations: 29.7 kB / 473.1 MB, free: 7.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.1267, allocations: 240 kB / 473.4 MB, free: 7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.063e-05/0.1268, allocations: 102.6 kB / 473.5 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.1269, allocations: 73.61 kB / 473.5 MB, free: 6.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.127, allocations: 346.8 kB / 473.9 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/0.1272, allocations: 144.2 kB / 474 MB, free: 6.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.1275, allocations: 235.2 kB / 474.2 MB, free: 6.059 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.002326/0.1298, allocations: 1.053 MB / 475.3 MB, free: 4.953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1298, allocations: 0 / 475.3 MB, free: 4.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00122/0.1311, allocations: 0.6522 MB / 476 MB, free: 4.281 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.1311, allocations: 8 kB / 476 MB, free: 4.273 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.0002403/0.1313, allocations: 155.8 kB / 476.1 MB, free: 4.121 MB / 350.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated