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: translateModel(PowerSystems.Examples.AC3ph.Generation.Vsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Vsource") translateModel(PowerSystems.Examples.AC3ph.Generation.Vsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Vsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001075, allocations: 110.3 kB / 16.51 MB, free: 6.715 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.001215/0.001215, allocations: 190.5 kB / 17.43 MB, free: 6.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.354/1.354, allocations: 222.9 MB / 241.1 MB, free: 13.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1713/0.1713, allocations: 38.04 MB / 329.3 MB, free: 8.875 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 62.72 kB / 398.1 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1073, allocations: 58.06 MB / 456.2 MB, free: 8.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.006679/0.114, allocations: 5.376 MB / 461.5 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002695/0.1167, allocations: 1.62 MB / 463.2 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003281/0.1171, allocations: 31.81 kB / 463.2 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.1182, allocations: 384.5 kB / 463.6 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006205/0.1188, allocations: 250.9 kB / 463.8 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005387/0.1194, allocations: 199.6 kB / 464 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008437/0.1202, allocations: 0.9155 MB / 464.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005058/0.1207, allocations: 280.8 kB / 465.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003317/0.1211, allocations: 238.9 kB / 465.4 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005183/0.1216, allocations: 338.8 kB / 465.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.527e-05/0.1217, allocations: 24 kB / 465.8 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003039/0.122, allocations: 151.7 kB / 465.9 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000213/0.1222, allocations: 199.5 kB / 466.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002496/0.1225, allocations: 234.8 kB / 466.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005354/0.123, allocations: 0.5645 MB / 466.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.123, allocations: 0 / 466.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.62e-07/0.123, allocations: 0 / 466.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.123, allocations: 0 / 466.9 MB, free: 13.73 MB / 350.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.001185/0.1242, allocations: 0.7457 MB / 467.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.1243, allocations: 12.03 kB / 467.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007746/0.1251, allocations: 100.3 kB / 467.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006641/0.1257, allocations: 428.1 kB / 468.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.513e-05/0.1258, allocations: 33.12 kB / 468.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.1259, allocations: 55.83 kB / 468.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007494/0.1267, allocations: 0.4929 MB / 468.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.1267, allocations: 0 / 468.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.838e-05/0.1268, allocations: 16 kB / 468.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000181/0.127, allocations: 28.97 kB / 468.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005313/0.1275, allocations: 347.7 kB / 469.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00231/0.1298, allocations: 1.735 MB / 470.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003697/0.1302, allocations: 310.4 kB / 471.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002337/0.1304, allocations: 153.7 kB / 471.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.1305, allocations: 4 kB / 471.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.1305, allocations: 42.5 kB / 471.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.543e-06/0.1305, allocations: 0 / 471.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001964/0.1325, allocations: 1.12 MB / 472.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.1326, allocations: 93.11 kB / 472.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003003/0.1329, allocations: 329.6 kB / 472.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.1329, allocations: 25.7 kB / 472.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.1331, allocations: 247.9 kB / 473.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.04e-05/0.1331, allocations: 102.6 kB / 473.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.1333, allocations: 69.61 kB / 473.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1334, allocations: 346.8 kB / 473.7 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.1336, allocations: 148.2 kB / 473.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002715/0.1339, allocations: 239.2 kB / 474.1 MB, free: 6.137 MB / 350.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.002608/0.1365, allocations: 1.041 MB / 475.1 MB, free: 5.043 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1365, allocations: 0 / 475.1 MB, free: 5.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001344/0.1379, allocations: 0.6444 MB / 475.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.1379, allocations: 11.94 kB / 475.8 MB, free: 4.367 MB / 350.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.0002618/0.1382, allocations: 159.9 kB / 475.9 MB, free: 4.211 MB / 350.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated