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.002389/0.002389, allocations: 352.4 kB / 16.57 MB, free: 5.59 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 3.45/3.45, allocations: 388.9 MB / 406.2 MB, free: 12 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003201/0.003201, allocations: 229.7 kB / 451.6 MB, free: 14.59 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.6466/0.6466, allocations: 76.01 MB / 0.5594 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004978/0.0004981, allocations: 8 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06617/0.06669, allocations: 53.24 MB / 0.6736 GB, free: 60.83 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.007065/0.0738, allocations: 7.76 MB / 0.6812 GB, free: 53.04 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004309/0.07814, allocations: 3.184 MB / 0.6843 GB, free: 49.84 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000403/0.07856, allocations: 51.69 kB / 0.6843 GB, free: 49.79 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004275/0.079, allocations: 206.5 kB / 0.6845 GB, free: 49.59 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.08034, allocations: 0.6763 MB / 0.6852 GB, free: 48.91 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008135/0.08117, allocations: 367.1 kB / 0.6856 GB, free: 48.55 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001261/0.08245, allocations: 1.582 MB / 0.6871 GB, free: 46.96 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001301/0.08377, allocations: 0.9482 MB / 0.688 GB, free: 45.98 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004457/0.08423, allocations: 434 kB / 0.6884 GB, free: 45.55 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007398/0.08498, allocations: 0.6191 MB / 0.689 GB, free: 44.93 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.712e-05/0.08509, allocations: 36 kB / 0.6891 GB, free: 44.89 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006045/0.0857, allocations: 363.2 kB / 0.6894 GB, free: 44.54 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003153/0.08604, allocations: 426.9 kB / 0.6898 GB, free: 44.12 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.08622, allocations: 201.2 kB / 0.69 GB, free: 43.92 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009372/0.08717, allocations: 1.064 MB / 0.6911 GB, free: 42.85 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.895e-06/0.08719, allocations: 3.938 kB / 0.6911 GB, free: 42.85 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.745e-06/0.0872, allocations: 0 / 0.6911 GB, free: 42.85 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.08722, allocations: 4 kB / 0.6911 GB, free: 42.84 MB / 442.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.001757/0.08899, allocations: 1.086 MB / 0.6921 GB, free: 41.71 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.08903, allocations: 8.828 kB / 0.6921 GB, free: 41.7 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001289/0.09033, allocations: 218.6 kB / 0.6923 GB, free: 41.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.09158, allocations: 0.6853 MB / 0.693 GB, free: 40.75 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.631e-05/0.09164, allocations: 61.98 kB / 0.6931 GB, free: 40.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002315/0.09189, allocations: 95.97 kB / 0.6932 GB, free: 40.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.09353, allocations: 1.103 MB / 0.6942 GB, free: 39.45 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.085e-05/0.09358, allocations: 4 kB / 0.6942 GB, free: 39.45 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.593e-05/0.09368, allocations: 31.98 kB / 0.6943 GB, free: 39.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001588/0.09385, allocations: 77.95 kB / 0.6944 GB, free: 39.34 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00146/0.09532, allocations: 0.8704 MB / 0.6952 GB, free: 38.46 MB / 442.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.005155/0.1005, allocations: 4.086 MB / 0.6992 GB, free: 34.16 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005829/0.1011, allocations: 418.2 kB / 0.6996 GB, free: 33.72 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003814/0.1015, allocations: 263.2 kB / 0.6998 GB, free: 33.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.539e-05/0.1015, allocations: 11.98 kB / 0.6999 GB, free: 33.45 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.1016, allocations: 38.56 kB / 0.6999 GB, free: 33.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 4.063e-06/0.1016, allocations: 0 / 0.6999 GB, free: 33.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=57): time 0.006455/0.108, allocations: 2.82 MB / 0.7026 GB, free: 30.49 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.1081, allocations: 93.73 kB / 0.7027 GB, free: 30.38 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006617/0.1088, allocations: 0.5537 MB / 0.7033 GB, free: 29.82 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/0.1089, allocations: 37.7 kB / 0.7033 GB, free: 29.78 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002613/0.1091, allocations: 478.3 kB / 0.7038 GB, free: 29.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.1093, allocations: 213 kB / 0.704 GB, free: 29.09 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.1094, allocations: 12 kB / 0.704 GB, free: 29.08 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.499e-05/0.1095, allocations: 382.7 kB / 0.7043 GB, free: 28.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006014/0.1101, allocations: 313.8 kB / 0.7046 GB, free: 28.39 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006477/0.1107, allocations: 0.5472 MB / 0.7052 GB, free: 27.74 MB / 442.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.003756/0.1145, allocations: 0.9586 MB / 0.7061 GB, free: 26.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.577e-06/0.1145, allocations: 0 / 0.7061 GB, free: 26.78 MB / 442.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