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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PowerAngle,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PowerAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PowerAngle,fileNamePrefix="PowerSystems_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.001102/0.001102, allocations: 96.77 kB / 16.3 MB, free: 5.992 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.001166/0.001167, allocations: 183.6 kB / 17.2 MB, free: 5.914 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.437/1.437, allocations: 205.4 MB / 223.4 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3059/0.3059, allocations: 38.05 MB / 309.7 MB, free: 9.008 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.0004934/0.0004935, allocations: 15.98 kB / 376.6 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1043, allocations: 56.34 MB / 432.9 MB, free: 6.734 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.007837/0.1122, allocations: 7.403 MB / 440.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004672/0.1169, allocations: 3.185 MB / 443.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006581/0.1176, allocations: 55.62 kB / 443.6 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005042/0.1181, allocations: 206.8 kB / 443.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.1195, allocations: 0.5685 MB / 444.3 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008566/0.1204, allocations: 359.3 kB / 444.7 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009465/0.1213, allocations: 0.6982 MB / 445.4 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/0.1227, allocations: 0.9518 MB / 446.3 MB, free: 9.234 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005228/0.1232, allocations: 386.6 kB / 446.7 MB, free: 8.855 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005848/0.1238, allocations: 406.6 kB / 447.1 MB, free: 8.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.1239, allocations: 36 kB / 447.2 MB, free: 8.422 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005896/0.1245, allocations: 351.5 kB / 447.5 MB, free: 8.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003185/0.1248, allocations: 375.1 kB / 447.9 MB, free: 7.711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002013/0.125, allocations: 205.2 kB / 448.1 MB, free: 7.504 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009122/0.1259, allocations: 1.06 MB / 449.1 MB, free: 6.441 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.126, allocations: 0 / 449.1 MB, free: 6.441 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.126, allocations: 0 / 449.1 MB, free: 6.441 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.126, allocations: 4 kB / 449.1 MB, free: 6.438 MB / 382.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.001737/0.1277, allocations: 1.086 MB / 450.2 MB, free: 5.297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.1278, allocations: 16.02 kB / 450.2 MB, free: 5.281 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00015/0.1279, allocations: 139.5 kB / 450.4 MB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/0.1291, allocations: 214.6 kB / 450.6 MB, free: 4.926 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/0.1304, allocations: 0.6775 MB / 451.3 MB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.272e-05/0.1305, allocations: 65.92 kB / 451.3 MB, free: 4.145 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002032/0.1307, allocations: 99.97 kB / 451.4 MB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/0.1322, allocations: 1.092 MB / 452.5 MB, free: 2.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/0.1322, allocations: 7.906 kB / 452.5 MB, free: 2.902 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.453e-05/0.1323, allocations: 32 kB / 452.5 MB, free: 2.871 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001615/0.1325, allocations: 73.95 kB / 452.6 MB, free: 2.797 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.1338, allocations: 0.8704 MB / 453.5 MB, free: 1.93 MB / 382.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.1946/0.3284, allocations: 4.086 MB / 457.6 MB, free: 48.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004849/0.3289, allocations: 430.6 kB / 458 MB, free: 48.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.899e-05/0.329, allocations: 7.562 kB / 458 MB, free: 48.56 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.329, allocations: 39.22 kB / 458 MB, free: 48.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 2.915e-06/0.329, allocations: 0 / 458 MB, free: 48.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=52): time 0.003489/0.3325, allocations: 1.983 MB / 460 MB, free: 48.06 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.3325, allocations: 84.14 kB / 460.1 MB, free: 47.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004861/0.333, allocations: 0.5649 MB / 460.7 MB, free: 47.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.3331, allocations: 37.8 kB / 460.7 MB, free: 47.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.3333, allocations: 466.1 kB / 461.2 MB, free: 47.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.69e-05/0.3334, allocations: 199.1 kB / 461.4 MB, free: 47.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.3334, allocations: 17.03 kB / 461.4 MB, free: 47.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.04e-05/0.3335, allocations: 384.4 kB / 461.7 MB, free: 47.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003395/0.3338, allocations: 266.4 kB / 462 MB, free: 47.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004712/0.3343, allocations: 0.4966 MB / 462.5 MB, free: 46.83 MB / 382.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.002393/0.3367, allocations: 1.036 MB / 463.5 MB, free: 46.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3367, allocations: 3.281 kB / 463.5 MB, free: 46.73 MB / 382.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