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.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/package.mo", uses=false) 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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001166, allocations: 107.3 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.001186/0.001186, 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.341/1.341, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1773/0.1773, allocations: 38.02 MB / 329.7 MB, free: 8.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001414, allocations: 68.41 kB / 398.9 MB, free: 33.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08921/0.09064, allocations: 58.06 MB / 457 MB, free: 7.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.006621/0.09729, allocations: 4.724 MB / 461.7 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002526/0.09985, allocations: 1.429 MB / 463.1 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002874/0.1002, allocations: 11.94 kB / 463.1 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.1014, allocations: 406.3 kB / 463.5 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000743/0.1022, allocations: 278.6 kB / 463.8 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000551/0.1027, allocations: 219.5 kB / 464 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000716/0.1035, allocations: 0.6269 MB / 464.6 MB, free: 232 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000471/0.1039, allocations: 293.2 kB / 464.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004383/0.1044, allocations: 282.9 kB / 465.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005856/0.105, allocations: 322.8 kB / 465.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.746e-05/0.1051, allocations: 32 kB / 465.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000295/0.1054, allocations: 139.8 kB / 465.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.1056, allocations: 211.4 kB / 465.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002858/0.1059, allocations: 242.8 kB / 466.1 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006133/0.1065, allocations: 0.5646 MB / 466.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1065, allocations: 7.938 kB / 466.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1065, allocations: 0 / 466.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.727e-05/0.1065, 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.001304/0.1079, allocations: 0.7378 MB / 467.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.1079, allocations: 15.89 kB / 467.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/0.108, allocations: 82.69 kB / 467.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008471/0.1089, allocations: 104.3 kB / 467.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006949/0.1096, allocations: 424.1 kB / 468.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.1096, allocations: 36.86 kB / 468.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/0.1098, allocations: 55.89 kB / 468.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007147/0.1105, allocations: 0.489 MB / 468.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.1106, allocations: 4 kB / 468.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.759e-05/0.1106, allocations: 12 kB / 468.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001888/0.1108, allocations: 28.98 kB / 468.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005479/0.1114, allocations: 347.7 kB / 469 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002851/0.1142, allocations: 1.731 MB / 470.7 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004622/0.1147, allocations: 310.4 kB / 471 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002376/0.115, allocations: 153.7 kB / 471.2 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.115, allocations: 3.984 kB / 471.2 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.115, allocations: 38.56 kB / 471.2 MB, free: 9.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.653e-06/0.115, allocations: 3.938 kB / 471.2 MB, free: 9.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.002143/0.1172, allocations: 1.124 MB / 472.4 MB, free: 8.156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.1172, allocations: 81.11 kB / 472.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003432/0.1176, allocations: 329.6 kB / 472.8 MB, free: 7.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.1176, allocations: 33.7 kB / 472.8 MB, free: 7.691 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.1178, allocations: 252 kB / 473 MB, free: 7.438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.668e-05/0.1179, allocations: 90.66 kB / 473.1 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.118, allocations: 77.67 kB / 473.2 MB, free: 7.266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1182, allocations: 346.8 kB / 473.6 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.1184, allocations: 144.2 kB / 473.7 MB, free: 6.773 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/0.1187, allocations: 239.2 kB / 473.9 MB, free: 6.5 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.002461/0.1212, allocations: 1.037 MB / 475 MB, free: 5.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.1212, allocations: 0 / 475 MB, free: 5.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001325/0.1225, allocations: 0.6566 MB / 475.6 MB, free: 4.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.1225, allocations: 12 kB / 475.6 MB, free: 4.723 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.0002652/0.1228, allocations: 163.8 kB / 475.8 MB, free: 4.562 MB / 350.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated