Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PowerAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PowerAngle,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_PowerAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PowerAngle,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_PowerAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001551/0.001555, allocations: 186.2 kB / 15.77 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.934/1.934, allocations: 205.4 MB / 221.9 MB, free: 13.81 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00115/0.001149, allocations: 86.89 kB / 270.2 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2649/0.2649, allocations: 38.06 MB / 356.6 MB, free: 0.793 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006314/0.0006316, allocations: 12 kB / 422.8 MB, free: 26.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1109, allocations: 56.34 MB / 479.1 MB, free: 1.945 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.01238/0.1233, allocations: 7.405 MB / 486.5 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007971/0.1313, allocations: 3.189 MB / 489.7 MB, free: 7.309 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.1324, allocations: 47.69 kB / 489.8 MB, free: 7.262 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009027/0.1333, allocations: 206.8 kB / 490 MB, free: 7.059 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002806/0.1362, allocations: 0.5724 MB / 490.6 MB, free: 6.484 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001731/0.1379, allocations: 359.2 kB / 490.9 MB, free: 6.133 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001949/0.1399, allocations: 0.6943 MB / 491.6 MB, free: 5.438 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002319/0.1423, allocations: 0.9404 MB / 492.5 MB, free: 4.461 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.1434, allocations: 390.6 kB / 492.9 MB, free: 4.078 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00092/0.1443, allocations: 406.6 kB / 493.3 MB, free: 3.68 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001361/0.1445, allocations: 36 kB / 493.4 MB, free: 3.645 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.1455, allocations: 351.4 kB / 493.7 MB, free: 3.301 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005556/0.1461, allocations: 383.1 kB / 494.1 MB, free: 2.926 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003601/0.1465, allocations: 201.2 kB / 494.3 MB, free: 2.723 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002031/0.1485, allocations: 1.06 MB / 495.3 MB, free: 1.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1486, allocations: 0 / 495.3 MB, free: 1.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1486, allocations: 4 kB / 495.3 MB, free: 1.656 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.211e-05/0.1486, allocations: 0 / 495.3 MB, free: 1.656 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.003169/0.1518, allocations: 1.09 MB / 496.4 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.1519, allocations: 15.97 kB / 496.4 MB, free: 0.5 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002949/0.1522, allocations: 135.5 kB / 496.6 MB, free: 368 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002027/0.1542, allocations: 218.5 kB / 496.8 MB, free: 148 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002404/0.1566, allocations: 0.6737 MB / 497.5 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.321e-05/0.1567, allocations: 58 kB / 497.5 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003813/0.1571, allocations: 107.8 kB / 497.6 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002664/0.1598, allocations: 1.096 MB / 498.7 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.307e-05/0.1599, allocations: 0 / 498.7 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.16, allocations: 35.98 kB / 498.8 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002912/0.1603, allocations: 77.95 kB / 498.8 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002408/0.1628, allocations: 0.8743 MB / 499.7 MB, free: 13.14 MB / 346.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.009198/0.172, allocations: 4.086 MB / 0.492 GB, free: 8.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009851/0.173, allocations: 422.1 kB / 0.4924 GB, free: 8.391 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.973e-05/0.1731, allocations: 20 kB / 0.4924 GB, free: 8.371 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.1731, allocations: 42.5 kB / 0.4924 GB, free: 8.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=45): time 2.955e-06/0.1732, allocations: 0 / 0.4924 GB, free: 8.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=52): time 0.007197/0.1804, allocations: 1.973 MB / 0.4944 GB, free: 6.289 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.366e-05/0.1805, allocations: 89.53 kB / 0.4945 GB, free: 6.184 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.1815, allocations: 0.5615 MB / 0.495 GB, free: 5.613 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.219e-05/0.1816, allocations: 33.7 kB / 0.495 GB, free: 5.574 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004414/0.1821, allocations: 0.493 MB / 0.4955 GB, free: 5.074 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000261/0.1823, allocations: 189.3 kB / 0.4957 GB, free: 4.887 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.689e-05/0.1824, allocations: 19.94 kB / 0.4957 GB, free: 4.867 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.1826, allocations: 350.8 kB / 0.496 GB, free: 4.516 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007502/0.1834, allocations: 261.8 kB / 0.4963 GB, free: 4.262 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009298/0.1843, allocations: 0.4964 MB / 0.4968 GB, free: 3.66 MB / 346.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.005015/0.1893, allocations: 1.021 MB / 0.4978 GB, free: 2.621 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.896e-06/0.1894, allocations: 3.984 kB / 0.4978 GB, free: 2.617 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