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.002106/0.002115, allocations: 109 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.00248/0.00248, allocations: 200 kB / 18.01 MB, free: 5.051 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.485/1.485, 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-master/package.mo): time 0.1805/0.1805, allocations: 38.04 MB / 329.9 MB, free: 8.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 63.91 kB / 457.7 MB, free: 7.348 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3348, allocations: 58.05 MB / 0.5036 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.004988/0.3398, allocations: 4.731 MB / 0.5082 GB, free: 4.125 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002196/0.342, allocations: 1.429 MB / 0.5096 GB, free: 3.125 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002417/0.3423, allocations: 13.69 kB / 0.5097 GB, free: 3.121 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001121/0.3434, allocations: 406.2 kB / 0.51 GB, free: 2.879 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006703/0.3441, allocations: 282 kB / 0.5103 GB, free: 2.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005945/0.3447, allocations: 215.3 kB / 0.5105 GB, free: 2.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007457/0.3455, allocations: 0.6304 MB / 0.5111 GB, free: 2.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004265/0.3459, allocations: 289 kB / 0.5114 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003715/0.3463, allocations: 280.9 kB / 0.5117 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004931/0.3468, allocations: 320.2 kB / 0.512 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.147e-05/0.3469, allocations: 33.75 kB / 0.512 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002942/0.3472, allocations: 138.1 kB / 0.5121 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002004/0.3474, allocations: 215 kB / 0.5123 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002244/0.3476, allocations: 248.8 kB / 0.5126 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007129/0.3483, allocations: 0.5741 MB / 0.5131 GB, free: 1.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3484, allocations: 1.672 kB / 0.5131 GB, free: 1.512 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3484, allocations: 4 kB / 0.5132 GB, free: 1.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.573e-05/0.3484, allocations: 3.938 kB / 0.5132 GB, free: 1.504 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.001172/0.3496, allocations: 0.7557 MB / 0.5139 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.3496, allocations: 13.17 kB / 0.5139 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.076e-05/0.3497, allocations: 74.14 kB / 0.514 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007775/0.3505, allocations: 107.2 kB / 0.5141 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006919/0.3512, allocations: 455.4 kB / 0.5145 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.3512, allocations: 30.45 kB / 0.5145 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.3514, allocations: 55.66 kB / 0.5146 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007403/0.3521, allocations: 495.3 kB / 0.5151 GB, free: 248 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.3522, allocations: 4.453 kB / 0.5151 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.74e-05/0.3522, allocations: 17.09 kB / 0.5151 GB, free: 232 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001748/0.3524, allocations: 30.27 kB / 0.5151 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005587/0.353, allocations: 345.1 kB / 0.5154 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002792/0.3558, allocations: 1.732 MB / 0.5171 GB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000483/0.3563, allocations: 309.5 kB / 0.5174 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002991/0.3566, allocations: 153.8 kB / 0.5176 GB, free: 14.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.3566, allocations: 2.438 kB / 0.5176 GB, free: 14.67 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.3566, allocations: 37.64 kB / 0.5176 GB, free: 14.62 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.204e-06/0.3567, allocations: 0 / 0.5176 GB, free: 14.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.002132/0.3588, allocations: 1.132 MB / 0.5187 GB, free: 13.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.3589, allocations: 84.64 kB / 0.5188 GB, free: 13.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003619/0.3592, allocations: 329.3 kB / 0.5191 GB, free: 13.69 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.926e-05/0.3593, allocations: 30.86 kB / 0.5191 GB, free: 13.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.3595, allocations: 255.1 kB / 0.5194 GB, free: 13.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.885e-05/0.3596, allocations: 99.92 kB / 0.5195 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.3597, allocations: 75.98 kB / 0.5196 GB, free: 13.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3599, allocations: 346.7 kB / 0.5199 GB, free: 13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.3601, allocations: 142.9 kB / 0.52 GB, free: 12.95 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002972/0.3604, allocations: 235.8 kB / 0.5203 GB, free: 12.79 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.002558/0.363, allocations: 1.041 MB / 0.5213 GB, free: 12.31 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.363, allocations: 1.25 kB / 0.5213 GB, free: 12.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001359/0.3644, allocations: 0.6651 MB / 0.5219 GB, free: 12.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.3644, allocations: 7.484 kB / 0.5219 GB, free: 12.02 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.0002638/0.3647, allocations: 157 kB / 0.5221 GB, free: 11.95 MB / 398.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated