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.0008271/0.0008272, allocations: 89.31 kB / 16.31 MB, free: 6.461 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.0008265/0.0008265, allocations: 182.5 kB / 17.21 MB, free: 6.328 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.544/1.544, allocations: 205.4 MB / 223.4 MB, free: 5.816 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3231/0.3231, allocations: 38.05 MB / 309.7 MB, free: 8.859 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.0005244/0.0005245, allocations: 14.19 kB / 376.6 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1282, allocations: 56.33 MB / 433 MB, free: 6.746 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.009036/0.1372, allocations: 7.756 MB / 440.7 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005913/0.1432, allocations: 3.192 MB / 443.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007478/0.144, allocations: 47.69 kB / 443.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007394/0.1448, allocations: 222.5 kB / 444.2 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.1467, allocations: 0.7077 MB / 444.9 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.1478, allocations: 351.4 kB / 445.2 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002206/0.15, allocations: 1.589 MB / 446.8 MB, free: 8.844 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001718/0.1518, allocations: 0.948 MB / 447.8 MB, free: 7.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009744/0.1528, allocations: 458 kB / 448.2 MB, free: 7.406 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.1538, allocations: 0.5997 MB / 448.8 MB, free: 6.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.543e-05/0.1539, allocations: 40 kB / 448.8 MB, free: 6.766 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008984/0.1548, allocations: 371.2 kB / 449.2 MB, free: 6.402 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004587/0.1553, allocations: 426.9 kB / 449.6 MB, free: 5.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002472/0.1555, allocations: 197.2 kB / 449.8 MB, free: 5.785 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.1568, allocations: 1.064 MB / 450.9 MB, free: 4.719 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1568, allocations: 0 / 450.9 MB, free: 4.719 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1568, allocations: 0 / 450.9 MB, free: 4.719 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.1568, allocations: 0 / 450.9 MB, free: 4.719 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.002072/0.1589, allocations: 1.09 MB / 452 MB, free: 3.574 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.159, allocations: 12.03 kB / 452 MB, free: 3.562 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001859/0.1592, allocations: 139.5 kB / 452.1 MB, free: 3.418 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.1604, allocations: 214.6 kB / 452.3 MB, free: 3.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.1617, allocations: 0.6619 MB / 453 MB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.019e-05/0.1617, allocations: 69.94 kB / 453.1 MB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002267/0.162, allocations: 91.98 kB / 453.1 MB, free: 2.348 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/0.1637, allocations: 1.115 MB / 454.3 MB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/0.1637, allocations: 7.906 kB / 454.3 MB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.436e-05/0.1638, allocations: 32 kB / 454.3 MB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001606/0.164, allocations: 69.97 kB / 454.4 MB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001523/0.1655, allocations: 0.886 MB / 455.3 MB, free: 200 kB / 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.279/0.4445, allocations: 4.091 MB / 459.3 MB, free: 49.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005845/0.4451, allocations: 428.3 kB / 459.8 MB, free: 49.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000337/0.4455, allocations: 261.4 kB / 460 MB, free: 49.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.515e-05/0.4455, allocations: 8.469 kB / 460 MB, free: 49.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.4456, allocations: 36.59 kB / 460.1 MB, free: 49.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 3.237e-06/0.4456, allocations: 1.812 kB / 460.1 MB, free: 49.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=52): time 0.004005/0.4496, allocations: 1.986 MB / 462 MB, free: 48.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.4496, allocations: 84.66 kB / 462.1 MB, free: 48.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005705/0.4502, allocations: 0.5621 MB / 462.7 MB, free: 48.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.735e-05/0.4503, allocations: 35.05 kB / 462.7 MB, free: 48.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002728/0.4505, allocations: 472.8 kB / 463.2 MB, free: 48.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.4507, allocations: 190.6 kB / 463.4 MB, free: 48.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/0.4508, allocations: 15.47 kB / 463.4 MB, free: 48.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.451, allocations: 378.7 kB / 463.8 MB, free: 47.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004368/0.4514, allocations: 272.9 kB / 464 MB, free: 47.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005774/0.452, allocations: 0.502 MB / 464.5 MB, free: 47.46 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.002674/0.4547, allocations: 1.035 MB / 465.6 MB, free: 47.28 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.4547, allocations: 3.375 kB / 465.6 MB, free: 47.28 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