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.001759/0.001759, allocations: 107.7 kB / 17.06 MB, free: 5.992 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.001878/0.001878, allocations: 197.3 kB / 18.01 MB, free: 5.066 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.433/1.433, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1791/0.1791, allocations: 38.04 MB / 329.9 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 67.89 kB / 457.7 MB, free: 7.348 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3244, allocations: 58.04 MB / 0.5036 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.005276/0.3297, allocations: 4.734 MB / 0.5082 GB, free: 4.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002047/0.3318, allocations: 1.427 MB / 0.5096 GB, free: 3.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.3319, allocations: 12.06 kB / 0.5097 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.333, allocations: 412.8 kB / 0.51 GB, free: 2.984 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005776/0.3336, allocations: 282 kB / 0.5103 GB, free: 2.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005347/0.3341, allocations: 215.6 kB / 0.5105 GB, free: 2.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006142/0.3348, allocations: 0.6264 MB / 0.5111 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003994/0.3352, allocations: 300.6 kB / 0.5114 GB, free: 2.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003186/0.3355, allocations: 276.1 kB / 0.5117 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005012/0.336, allocations: 312.1 kB / 0.512 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.521e-05/0.3361, allocations: 33.53 kB / 0.512 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002818/0.3364, allocations: 147.3 kB / 0.5122 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001977/0.3366, allocations: 215.3 kB / 0.5124 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002182/0.3368, allocations: 240.5 kB / 0.5126 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000642/0.3375, allocations: 0.5784 MB / 0.5132 GB, free: 1.617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3375, allocations: 1.312 kB / 0.5132 GB, free: 1.617 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3375, allocations: 0 / 0.5132 GB, free: 1.617 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.3375, allocations: 0 / 0.5132 GB, free: 1.617 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.001095/0.3386, allocations: 0.7563 MB / 0.5139 GB, free: 1.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.3386, allocations: 14.58 kB / 0.5139 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.789e-05/0.3387, allocations: 73.44 kB / 0.514 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007678/0.3395, allocations: 106.8 kB / 0.5141 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006549/0.3402, allocations: 455.3 kB / 0.5145 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.3402, allocations: 27.25 kB / 0.5145 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.3404, allocations: 59.7 kB / 0.5146 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007004/0.3411, allocations: 494.2 kB / 0.5151 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.3411, allocations: 5.359 kB / 0.5151 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.662e-05/0.3412, allocations: 17.03 kB / 0.5151 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001752/0.3413, allocations: 25.83 kB / 0.5151 GB, free: 340 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005152/0.3419, allocations: 353.1 kB / 0.5154 GB, free: 220 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00261/0.3445, allocations: 1.733 MB / 0.5171 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004646/0.345, allocations: 305 kB / 0.5174 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/0.3452, allocations: 158.5 kB / 0.5176 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.3453, allocations: 6.328 kB / 0.5176 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.3453, allocations: 37.19 kB / 0.5176 GB, free: 14.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.633e-06/0.3453, allocations: 0 / 0.5176 GB, free: 14.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.00207/0.3474, allocations: 1.133 MB / 0.5187 GB, free: 14.06 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.3475, allocations: 81.2 kB / 0.5188 GB, free: 13.97 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000382/0.3479, allocations: 331.3 kB / 0.5191 GB, free: 13.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.3479, allocations: 32.3 kB / 0.5192 GB, free: 13.76 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.3481, allocations: 252.2 kB / 0.5194 GB, free: 13.55 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.3482, allocations: 102.5 kB / 0.5195 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.3484, allocations: 76.48 kB / 0.5196 GB, free: 13.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.3486, allocations: 347.3 kB / 0.5199 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.3488, allocations: 142.3 kB / 0.52 GB, free: 13.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003587/0.3492, allocations: 240.1 kB / 0.5203 GB, free: 12.88 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.002765/0.352, allocations: 1.037 MB / 0.5213 GB, free: 12.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.352, allocations: 1.094 kB / 0.5213 GB, free: 12.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001406/0.3534, allocations: 0.6627 MB / 0.5219 GB, free: 12.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.3534, allocations: 5.5 kB / 0.5219 GB, free: 12.12 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.0002691/0.3537, allocations: 157.1 kB / 0.5221 GB, free: 12.06 MB / 398.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated