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.001192/0.001192, allocations: 112.8 kB / 17.06 MB, free: 5.969 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.001087/0.001087, allocations: 200 kB / 18.01 MB, free: 5.047 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.289/1.289, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1748/0.1748, allocations: 38.03 MB / 329.9 MB, free: 8.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 71.88 kB / 457.6 MB, free: 7.316 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2916, allocations: 58.06 MB / 0.5036 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.005091/0.2967, allocations: 4.721 MB / 0.5082 GB, free: 4.199 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.2987, allocations: 1.432 MB / 0.5096 GB, free: 3.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.2989, allocations: 12.44 kB / 0.5096 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.3, allocations: 403.2 kB / 0.51 GB, free: 2.957 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005562/0.3006, allocations: 286.8 kB / 0.5103 GB, free: 2.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005147/0.3011, allocations: 211.4 kB / 0.5105 GB, free: 2.695 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005972/0.3017, allocations: 0.6317 MB / 0.5111 GB, free: 2.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004126/0.3021, allocations: 290.5 kB / 0.5114 GB, free: 2.309 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003612/0.3025, allocations: 285.5 kB / 0.5117 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004774/0.303, allocations: 319.8 kB / 0.512 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.626e-05/0.303, allocations: 33.34 kB / 0.512 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002804/0.3033, allocations: 138.7 kB / 0.5121 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002067/0.3035, allocations: 212.7 kB / 0.5123 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002345/0.3038, allocations: 243.8 kB / 0.5126 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006499/0.3044, allocations: 0.575 MB / 0.5131 GB, free: 1.594 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3045, allocations: 0 / 0.5131 GB, free: 1.594 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3045, allocations: 4 kB / 0.5131 GB, free: 1.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.3045, allocations: 0.75 kB / 0.5131 GB, free: 1.59 MB / 382.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.001126/0.3056, allocations: 0.7565 MB / 0.5139 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.3057, allocations: 13.11 kB / 0.5139 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.335e-05/0.3057, allocations: 78.27 kB / 0.514 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007981/0.3065, allocations: 107.8 kB / 0.5141 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000698/0.3072, allocations: 454.7 kB / 0.5145 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.3073, allocations: 31.75 kB / 0.5145 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.3075, allocations: 56.17 kB / 0.5146 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006894/0.3082, allocations: 489.7 kB / 0.5151 GB, free: 332 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.3082, allocations: 5.297 kB / 0.5151 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.924e-05/0.3082, allocations: 23.11 kB / 0.5151 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001881/0.3084, allocations: 39.52 kB / 0.5151 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005176/0.3089, allocations: 352.6 kB / 0.5155 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002647/0.3116, allocations: 1.725 MB / 0.5171 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004772/0.3121, allocations: 308.7 kB / 0.5174 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/0.3124, allocations: 155.1 kB / 0.5176 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.3124, allocations: 3.156 kB / 0.5176 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.3125, allocations: 40.72 kB / 0.5176 GB, free: 14.69 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.674e-06/0.3125, allocations: 0 / 0.5176 GB, free: 14.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.002074/0.3145, allocations: 1.128 MB / 0.5187 GB, free: 14.03 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.3146, allocations: 85.25 kB / 0.5188 GB, free: 13.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/0.315, allocations: 329.8 kB / 0.5191 GB, free: 13.76 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.315, allocations: 26.8 kB / 0.5191 GB, free: 13.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.3152, allocations: 258.5 kB / 0.5194 GB, free: 13.51 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.265e-05/0.3152, allocations: 99.53 kB / 0.5195 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.3154, allocations: 79.23 kB / 0.5196 GB, free: 13.39 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3155, allocations: 347.4 kB / 0.5199 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/0.3158, allocations: 143.1 kB / 0.52 GB, free: 13.01 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002746/0.316, allocations: 232 kB / 0.5203 GB, free: 12.85 MB / 398.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.002481/0.3185, allocations: 1.045 MB / 0.5213 GB, free: 12.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3185, allocations: 0 / 0.5213 GB, free: 12.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001308/0.3199, allocations: 0.6553 MB / 0.5219 GB, free: 12.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3199, allocations: 6.25 kB / 0.5219 GB, free: 12.09 MB / 398.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.0002619/0.3201, allocations: 164 kB / 0.5221 GB, free: 12.02 MB / 398.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated