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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.001192/0.001196, allocations: 97.64 kB / 16.5 MB, free: 6.641 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.00121/0.00121, allocations: 195.1 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.1 MB / 223.3 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.17/0.17, allocations: 38 MB / 308.6 MB, free: 6.238 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 68.23 kB / 374.7 MB, free: 4.016 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.283, allocations: 55.25 MB / 430 MB, free: 19.89 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.005391/0.2885, allocations: 5.372 MB / 435.3 MB, free: 14.49 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00215/0.2907, allocations: 1.672 MB / 437 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002148/0.2909, allocations: 31.81 kB / 437 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009657/0.2919, allocations: 377.5 kB / 437.4 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004474/0.2923, allocations: 254.9 kB / 437.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.2927, allocations: 199.7 kB / 437.9 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005291/0.2932, allocations: 0.9116 MB / 438.8 MB, free: 11.05 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003836/0.2936, allocations: 284.8 kB / 439 MB, free: 10.78 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002463/0.2939, allocations: 246.8 kB / 439.3 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003864/0.2943, allocations: 323 kB / 439.6 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.391e-05/0.2943, allocations: 28 kB / 439.6 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002327/0.2946, allocations: 155.7 kB / 439.8 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.2947, allocations: 199.5 kB / 440 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.2949, allocations: 234.7 kB / 440.2 MB, free: 9.613 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004533/0.2954, allocations: 0.5645 MB / 440.8 MB, free: 9.047 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.2954, allocations: 4 kB / 440.8 MB, free: 9.043 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2954, allocations: 0 / 440.8 MB, free: 9.043 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.2954, allocations: 0 / 440.8 MB, free: 9.043 MB / 318.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.001125/0.2965, allocations: 0.7495 MB / 441.5 MB, free: 8.238 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.2966, allocations: 12.03 kB / 441.5 MB, free: 8.227 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.267e-05/0.2966, allocations: 78.7 kB / 441.6 MB, free: 8.141 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000697/0.2974, allocations: 100.3 kB / 441.7 MB, free: 8.043 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000524/0.2979, allocations: 424.1 kB / 442.1 MB, free: 7.594 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.2979, allocations: 28.94 kB / 442.2 MB, free: 7.566 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.2981, allocations: 59.91 kB / 442.2 MB, free: 7.508 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005567/0.2986, allocations: 0.4891 MB / 442.7 MB, free: 6.988 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.2987, allocations: 11.84 kB / 442.7 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/0.2987, allocations: 8 kB / 442.7 MB, free: 6.969 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001635/0.2989, allocations: 32.98 kB / 442.7 MB, free: 6.938 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000426/0.2993, allocations: 343.7 kB / 443.1 MB, free: 6.602 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/0.3011, allocations: 1.742 MB / 444.8 MB, free: 4.758 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000285/0.3014, allocations: 302.4 kB / 445.1 MB, free: 4.426 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.3016, allocations: 165.5 kB / 445.3 MB, free: 4.258 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.3016, allocations: 0 / 445.3 MB, free: 4.258 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.3017, allocations: 42.56 kB / 445.3 MB, free: 4.207 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.232e-06/0.3017, allocations: 0 / 445.3 MB, free: 4.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=27): time 0.001611/0.3033, allocations: 1.113 MB / 446.4 MB, free: 3.031 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.3033, allocations: 85.23 kB / 446.5 MB, free: 2.93 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.3036, allocations: 325.7 kB / 446.8 MB, free: 2.605 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.3036, allocations: 33.7 kB / 446.9 MB, free: 2.566 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.3037, allocations: 247.9 kB / 447.1 MB, free: 2.32 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.568e-05/0.3038, allocations: 94.64 kB / 447.2 MB, free: 2.227 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.733e-05/0.3039, allocations: 77.69 kB / 447.3 MB, free: 2.145 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.404e-05/0.304, allocations: 342.8 kB / 447.6 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.3041, allocations: 144.3 kB / 447.8 MB, free: 1.656 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.3043, allocations: 238.9 kB / 448 MB, free: 1.387 MB / 318.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.002095/0.3064, allocations: 1.034 MB / 449 MB, free: 308 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3065, allocations: 0 / 449 MB, free: 308 kB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001177/0.3076, allocations: 0.656 MB / 449.7 MB, free: 15.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3077, allocations: 11.94 kB / 449.7 MB, free: 15.61 MB / 334.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.0002681/0.3079, allocations: 159.8 kB / 449.9 MB, free: 15.45 MB / 334.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated