Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.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.PowerAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|generator.powerAngle|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle") translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|generator.powerAngle|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 92.78 kB / 16.3 MB, free: 5.656 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.0009913/0.0009914, allocations: 183.8 kB / 17.19 MB, free: 5.59 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.208/1.208, allocations: 223.2 MB / 241.1 MB, free: 276 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1624/0.1624, allocations: 38.09 MB / 330.3 MB, free: 8.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003138/0.000314, allocations: 12 kB / 400 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09569/0.09602, allocations: 59.17 MB / 459.1 MB, free: 7.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.007612/0.1037, allocations: 7.417 MB / 466.6 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005156/0.1089, allocations: 3.134 MB / 469.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009963/0.1099, allocations: 47.69 kB / 469.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008494/0.1108, allocations: 218.8 kB / 469.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001921/0.1127, allocations: 0.5685 MB / 470.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.114, allocations: 351.2 kB / 470.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001561/0.1156, allocations: 0.7021 MB / 471.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001938/0.1176, allocations: 0.9443 MB / 472.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008307/0.1184, allocations: 386.6 kB / 472.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007494/0.1192, allocations: 402.6 kB / 473.3 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.1193, allocations: 40 kB / 473.3 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006231/0.1199, allocations: 355.4 kB / 473.7 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003298/0.1203, allocations: 383.1 kB / 474 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002085/0.1205, allocations: 201.2 kB / 474.2 MB, free: 8.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009555/0.1215, allocations: 1.06 MB / 475.3 MB, free: 7.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.1215, allocations: 0 / 475.3 MB, free: 7.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1215, allocations: 0 / 475.3 MB, free: 7.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.036e-05/0.1215, allocations: 0 / 475.3 MB, free: 7.191 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001773/0.1233, allocations: 1.094 MB / 476.4 MB, free: 6.047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.1233, allocations: 8.031 kB / 476.4 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.1245, allocations: 230.5 kB / 476.6 MB, free: 5.812 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.1258, allocations: 0.6659 MB / 477.3 MB, free: 5.102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.813e-05/0.1259, allocations: 61.98 kB / 477.3 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002135/0.1261, allocations: 99.83 kB / 477.4 MB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.1276, allocations: 1.1 MB / 478.5 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.1276, allocations: 0 / 478.5 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.659e-05/0.1277, allocations: 32 kB / 478.6 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001477/0.1278, allocations: 73.95 kB / 478.6 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.1291, allocations: 0.8743 MB / 479.5 MB, free: 2.82 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00481/0.1339, allocations: 4.085 MB / 483.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005233/0.1345, allocations: 414.3 kB / 484 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.1345, allocations: 4.062 kB / 484 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.91e-05/0.1346, allocations: 42.5 kB / 484.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=45): time 1.563e-06/0.1346, allocations: 0 / 484.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=52): time 0.003785/0.1384, allocations: 1.996 MB / 486.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.1384, allocations: 85.55 kB / 486.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006175/0.1391, allocations: 0.5615 MB / 486.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/0.1391, allocations: 37.83 kB / 486.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.1394, allocations: 474.4 kB / 487.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.1395, allocations: 193.2 kB / 487.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.1396, allocations: 16 kB / 487.4 MB, free: 10.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1397, allocations: 374.8 kB / 487.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003731/0.1401, allocations: 265.8 kB / 488 MB, free: 9.949 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000514/0.1406, allocations: 0.5003 MB / 488.5 MB, free: 9.34 MB / 366.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.003209/0.1439, allocations: 1.037 MB / 489.6 MB, free: 8.285 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.1439, allocations: 0 / 489.6 MB, free: 8.285 MB / 366.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. Error: No system for the symbolic initialization was generated