Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Generation.PowerAngle.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Generation.PowerAngle") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001422/0.001422, allocations: 184.3 kB / 16.38 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.683/1.683, allocations: 194.5 MB / 211.6 MB, free: 2.965 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001838/0.001838, allocations: 119.4 kB / 256.9 MB, free: 4.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.2457/0.2457, allocations: 38.02 MB / 340.1 MB, free: 1.305 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001057/0.001057, allocations: 12 kB / 403.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1174, allocations: 53.24 MB / 457 MB, free: 15.46 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.0075/0.125, allocations: 7.42 MB / 464.4 MB, free: 8.012 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004651/0.1296, allocations: 3.177 MB / 467.6 MB, free: 4.824 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004543/0.1301, allocations: 47.69 kB / 467.7 MB, free: 4.777 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000478/0.1306, allocations: 210.7 kB / 467.9 MB, free: 4.57 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00122/0.1318, allocations: 0.5802 MB / 468.5 MB, free: 3.988 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008433/0.1327, allocations: 355.2 kB / 468.8 MB, free: 3.641 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008541/0.1336, allocations: 0.6943 MB / 469.5 MB, free: 2.945 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001366/0.135, allocations: 0.9444 MB / 470.4 MB, free: 1.961 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004147/0.1354, allocations: 390.5 kB / 470.8 MB, free: 1.578 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004828/0.1359, allocations: 402.7 kB / 471.2 MB, free: 1.184 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.889e-05/0.136, allocations: 36 kB / 471.2 MB, free: 1.148 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006333/0.1366, allocations: 355.4 kB / 471.6 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002972/0.137, allocations: 379.1 kB / 472 MB, free: 440 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001636/0.1371, allocations: 197.2 kB / 472.2 MB, free: 236 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.1384, allocations: 1.068 MB / 473.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.291e-06/0.1385, allocations: 3.938 kB / 473.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.662e-06/0.1385, allocations: 0 / 473.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.1385, allocations: 0 / 473.2 MB, free: 15.16 MB / 330.7 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.002073/0.1406, allocations: 1.09 MB / 474.3 MB, free: 14.01 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.1406, allocations: 12.02 kB / 474.3 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001523/0.1422, allocations: 230.5 kB / 474.6 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/0.1438, allocations: 0.6776 MB / 475.2 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.818e-05/0.1438, allocations: 65.95 kB / 475.3 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002704/0.1441, allocations: 99.88 kB / 475.4 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002191/0.1463, allocations: 1.092 MB / 476.5 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.633e-05/0.1464, allocations: 7.938 kB / 476.5 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.727e-05/0.1465, allocations: 32 kB / 476.5 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001905/0.1467, allocations: 69.95 kB / 476.6 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/0.1486, allocations: 0.8743 MB / 477.5 MB, free: 10.77 MB / 330.7 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.006854/0.1555, allocations: 4.078 MB / 481.5 MB, free: 6.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007905/0.1563, allocations: 426.1 kB / 482 MB, free: 6.027 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.907e-05/0.1564, allocations: 8.047 kB / 482 MB, free: 6.02 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.1564, allocations: 38.56 kB / 482 MB, free: 5.973 MB / 330.7 MB Notification: Performance of pre-optimization done (n=45): time 2.734e-06/0.1564, allocations: 0 / 482 MB, free: 5.973 MB / 330.7 MB Notification: Performance of matching and sorting (n=57): time 0.007951/0.1644, allocations: 2.819 MB / 484.8 MB, free: 3.066 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.1645, allocations: 81.67 kB / 484.9 MB, free: 2.969 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008578/0.1653, allocations: 0.5654 MB / 485.5 MB, free: 2.395 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.467e-05/0.1654, allocations: 33.7 kB / 485.5 MB, free: 2.355 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004231/0.1659, allocations: 474.5 kB / 486 MB, free: 1.883 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000221/0.1661, allocations: 205.1 kB / 486.2 MB, free: 1.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-05/0.1662, allocations: 16 kB / 486.2 MB, free: 1.664 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002435/0.1664, allocations: 378.8 kB / 486.6 MB, free: 1.285 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000716/0.1672, allocations: 313.8 kB / 486.9 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008827/0.1681, allocations: 0.551 MB / 487.4 MB, free: 332 kB / 330.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.004259/0.1723, allocations: 0.9546 MB / 488.4 MB, free: 15.37 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.1724, allocations: 4 kB / 488.4 MB, free: 15.37 MB / 346.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. Error: No system for the symbolic initialization was generated