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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 166.3 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.006/1.006, allocations: 177.1 MB / 204.3 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.325/0.325, allocations: 29.42 MB / 290.1 MB, free: 2.43 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.Vsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_Vsource",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.Vsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_Vsource",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.829e-06/4.829e-06, allocations: 4 kB / 431.8 MB, free: 12.02 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.031e-05/3.514e-05, allocations: 2.984 kB / 431.8 MB, free: 12.02 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.00692/0.006955, allocations: 4.61 MB / 436.4 MB, free: 7.379 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002811/0.009766, allocations: 1.386 MB / 437.8 MB, free: 5.988 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003824/0.01015, allocations: 19.88 kB / 437.8 MB, free: 5.969 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.0114, allocations: 406.1 kB / 438.2 MB, free: 5.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008093/0.01221, allocations: 286.3 kB / 438.5 MB, free: 5.289 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007427/0.01295, allocations: 231.3 kB / 438.7 MB, free: 5.062 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009267/0.01388, allocations: 0.65 MB / 439.4 MB, free: 4.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005543/0.01443, allocations: 241.4 kB / 439.6 MB, free: 4.172 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007025/0.01514, allocations: 386.9 kB / 440 MB, free: 3.793 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005808/0.01572, allocations: 299.2 kB / 440.3 MB, free: 3.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.05e-05/0.01579, allocations: 35.94 kB / 440.3 MB, free: 3.465 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003675/0.01616, allocations: 155.7 kB / 440.5 MB, free: 3.312 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002351/0.01639, allocations: 223.4 kB / 440.7 MB, free: 3.094 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000211/0.0166, allocations: 167.7 kB / 440.9 MB, free: 2.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007846/0.01739, allocations: 0.5841 MB / 441.4 MB, free: 2.344 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.01739, allocations: 0 / 441.4 MB, free: 2.344 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.01739, allocations: 3.938 kB / 441.4 MB, free: 2.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.01741, allocations: 3.938 kB / 441.5 MB, free: 2.336 MB / 410.7 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.001361/0.01877, allocations: 0.6737 MB / 442.1 MB, free: 1.633 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.17e-05/0.01884, allocations: 15.98 kB / 442.1 MB, free: 1.617 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001043/0.01895, allocations: 78.69 kB / 442.2 MB, free: 1.531 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007048/0.01965, allocations: 112.5 kB / 442.3 MB, free: 1.422 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007637/0.02041, allocations: 385.1 kB / 442.7 MB, free: 1.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.574e-05/0.02045, allocations: 29.36 kB / 442.7 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/0.02063, allocations: 52.3 kB / 442.8 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007607/0.02139, allocations: 0.4929 MB / 443.3 MB, free: 432 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.02141, allocations: 0 / 443.3 MB, free: 432 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.861e-05/0.02145, allocations: 16 kB / 443.3 MB, free: 416 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001342/0.02158, allocations: 24.98 kB / 443.3 MB, free: 392 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000537/0.02212, allocations: 343.7 kB / 443.7 MB, free: 48 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.241/0.2631, allocations: 1.532 MB / 445.2 MB, free: 54.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.2634, allocations: 216.9 kB / 445.4 MB, free: 54.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.2635, allocations: 151.8 kB / 445.5 MB, free: 54.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.2635, allocations: 3.281 kB / 445.5 MB, free: 54.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.2636, allocations: 33.88 kB / 445.6 MB, free: 53.97 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 3.487e-06/0.2636, allocations: 3.938 kB / 445.6 MB, free: 53.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.001326/0.2649, allocations: 1.048 MB / 446.6 MB, free: 53.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.2649, allocations: 79.95 kB / 446.7 MB, free: 53.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.2651, allocations: 333 kB / 447 MB, free: 53.17 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.2652, allocations: 32.92 kB / 447.1 MB, free: 53.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.749e-05/0.2652, allocations: 250 kB / 447.3 MB, free: 52.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.164e-05/0.2653, allocations: 105.4 kB / 447.4 MB, free: 52.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.926e-05/0.2653, allocations: 75.98 kB / 447.5 MB, free: 52.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.736e-05/0.2654, allocations: 346.6 kB / 447.8 MB, free: 52.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.2655, allocations: 139.5 kB / 448 MB, free: 52.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.2657, allocations: 229.7 kB / 448.2 MB, free: 52.28 MB / 410.7 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.001372/0.2671, allocations: 0.9578 MB / 449.1 MB, free: 51.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2671, allocations: 0 / 449.1 MB, free: 51.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007321/0.2678, allocations: 0.6552 MB / 449.8 MB, free: 51.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.2678, allocations: 8.375 kB / 449.8 MB, free: 51.64 MB / 410.7 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.0001729/0.268, allocations: 151 kB / 450 MB, free: 51.59 MB / 410.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.513334927149117]