Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle") translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.000953/0.0009528, allocations: 91.88 kB / 16.95 MB, free: 5.953 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.001033/0.001033, allocations: 181.3 kB / 17.84 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1791/0.1791, allocations: 38.04 MB / 310.3 MB, free: 6.027 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005339/0.0005341, allocations: 15.94 kB / 377.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2745, allocations: 56.33 MB / 433.5 MB, free: 18.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.007653/0.2822, allocations: 7.763 MB / 441.2 MB, free: 11.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006494/0.2887, allocations: 3.192 MB / 444.4 MB, free: 7.848 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001258/0.29, allocations: 47.69 kB / 444.5 MB, free: 7.801 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000942/0.291, allocations: 210.5 kB / 444.7 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002465/0.2935, allocations: 0.7077 MB / 445.4 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.2948, allocations: 355.4 kB / 445.7 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00205/0.2969, allocations: 1.586 MB / 447.3 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001703/0.2986, allocations: 0.9522 MB / 448.3 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009157/0.2996, allocations: 458 kB / 448.7 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/0.3007, allocations: 0.5997 MB / 449.3 MB, free: 2.906 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001971/0.3009, allocations: 36 kB / 449.4 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009699/0.3019, allocations: 371.3 kB / 449.7 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005117/0.3024, allocations: 419 kB / 450.1 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004082/0.3028, allocations: 205.2 kB / 450.3 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.3042, allocations: 1.068 MB / 451.4 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.3042, allocations: 3.938 kB / 451.4 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3042, allocations: 0 / 451.4 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.451e-05/0.3043, allocations: 0 / 451.4 MB, free: 0.8164 MB / 318.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.00249/0.3068, allocations: 1.086 MB / 452.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.3068, allocations: 8.031 kB / 452.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.3082, allocations: 210.5 kB / 452.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/0.31, allocations: 0.6659 MB / 453.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.882e-05/0.3101, allocations: 65.97 kB / 453.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003248/0.3104, allocations: 107.8 kB / 453.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002083/0.3125, allocations: 1.104 MB / 454.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.346e-05/0.3125, allocations: 3.938 kB / 454.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.479e-05/0.3126, allocations: 36 kB / 454.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001605/0.3128, allocations: 73.97 kB / 454.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001519/0.3143, allocations: 0.8821 MB / 455.6 MB, free: 12.44 MB / 334.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.005694/0.32, allocations: 4.089 MB / 459.7 MB, free: 8.137 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006068/0.3207, allocations: 430.1 kB / 460.1 MB, free: 7.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003717/0.3211, allocations: 265.6 kB / 460.4 MB, free: 7.414 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.911e-05/0.3211, allocations: 4 kB / 460.4 MB, free: 7.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.3211, allocations: 38.56 kB / 460.4 MB, free: 7.363 MB / 334.1 MB Notification: Performance of pre-optimization done (n=45): time 2.344e-06/0.3211, allocations: 0 / 460.4 MB, free: 7.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=52): time 0.004141/0.3253, allocations: 1.985 MB / 462.4 MB, free: 5.332 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.3254, allocations: 85.53 kB / 462.5 MB, free: 5.227 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007133/0.3261, allocations: 0.5576 MB / 463.1 MB, free: 4.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.879e-05/0.3261, allocations: 37.7 kB / 463.1 MB, free: 4.617 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003831/0.3265, allocations: 482.4 kB / 463.6 MB, free: 4.137 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000195/0.3267, allocations: 185.4 kB / 463.8 MB, free: 3.953 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.3268, allocations: 16 kB / 463.8 MB, free: 3.938 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002293/0.327, allocations: 378.7 kB / 464.1 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004677/0.3275, allocations: 265.8 kB / 464.4 MB, free: 3.301 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006624/0.3282, allocations: 0.5042 MB / 464.9 MB, free: 2.691 MB / 334.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.002766/0.3309, allocations: 1.041 MB / 465.9 MB, free: 1.633 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.331, allocations: 4 kB / 465.9 MB, free: 1.629 MB / 334.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