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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PowerAngle,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PowerAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PowerAngle,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PowerAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.001294/0.001294, allocations: 178.4 kB / 17.2 MB, free: 5.914 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.28/1.28, allocations: 223.2 MB / 241.1 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2933/0.2933, allocations: 38.07 MB / 330.3 MB, free: 14.23 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002833/0.0002833, allocations: 8 kB / 400.1 MB, free: 9.172 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2455, allocations: 59.16 MB / 459.2 MB, free: 30.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.006078/0.2516, allocations: 7.413 MB / 466.6 MB, free: 24.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004081/0.2557, allocations: 3.152 MB / 469.8 MB, free: 22.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008154/0.2565, allocations: 47.59 kB / 469.8 MB, free: 22.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004991/0.2571, allocations: 208.5 kB / 470 MB, free: 22.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001479/0.2585, allocations: 0.5711 MB / 470.6 MB, free: 22.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009123/0.2595, allocations: 356.8 kB / 471 MB, free: 22.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009334/0.2604, allocations: 0.6969 MB / 471.6 MB, free: 21.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.2616, allocations: 0.9434 MB / 472.6 MB, free: 21.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004902/0.2622, allocations: 388.4 kB / 473 MB, free: 21.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005221/0.2627, allocations: 399.7 kB / 473.4 MB, free: 20.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.167e-05/0.2628, allocations: 37.28 kB / 473.4 MB, free: 20.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000646/0.2634, allocations: 356.3 kB / 473.7 MB, free: 20.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003079/0.2638, allocations: 378.3 kB / 474.1 MB, free: 20.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.2639, allocations: 200.4 kB / 474.3 MB, free: 20.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.265, allocations: 1.066 MB / 475.4 MB, free: 20.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.265, allocations: 1.375 kB / 475.4 MB, free: 20.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.265, allocations: 4 kB / 475.4 MB, free: 20.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.265, allocations: 0 / 475.4 MB, free: 20.38 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.001652/0.2667, allocations: 1.087 MB / 476.5 MB, free: 19.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.2667, allocations: 12.44 kB / 476.5 MB, free: 19.58 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001336/0.2669, allocations: 140.3 kB / 476.6 MB, free: 19.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.268, allocations: 216.7 kB / 476.8 MB, free: 19.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.2693, allocations: 0.6764 MB / 477.5 MB, free: 18.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.367e-05/0.2694, allocations: 67.3 kB / 477.6 MB, free: 18.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002307/0.2696, allocations: 99.53 kB / 477.7 MB, free: 18.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/0.2711, allocations: 1.106 MB / 478.8 MB, free: 18.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.141e-05/0.2711, allocations: 5.078 kB / 478.8 MB, free: 18.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.187e-05/0.2712, allocations: 31.75 kB / 478.8 MB, free: 18.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001488/0.2713, allocations: 67.25 kB / 478.9 MB, free: 18.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.2725, allocations: 0.8789 MB / 479.8 MB, free: 17.61 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.00444/0.277, allocations: 4.083 MB / 483.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005323/0.2775, allocations: 419 kB / 484.2 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.849e-05/0.2776, allocations: 9.234 kB / 484.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.2776, allocations: 44.72 kB / 484.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.224e-06/0.2776, allocations: 0 / 484.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.003464/0.2811, allocations: 1.987 MB / 486.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.2811, allocations: 85.55 kB / 486.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004736/0.2816, allocations: 0.5575 MB / 486.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.165e-05/0.2817, allocations: 37.7 kB / 487 MB, free: 11.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.2819, allocations: 474.4 kB / 487.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.282, allocations: 189.3 kB / 487.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.282, allocations: 16 kB / 487.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.712e-05/0.2821, allocations: 382.8 kB / 488 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003117/0.2824, allocations: 261.8 kB / 488.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003719/0.2828, allocations: 0.4964 MB / 488.8 MB, free: 9.688 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.002253/0.2851, allocations: 1.037 MB / 489.8 MB, free: 8.633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.2851, allocations: 4 kB / 489.8 MB, free: 8.629 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. Error: No system for the symbolic initialization was generated