Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyInitial.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: translateModel(PowerSystems.Examples.Introductory.SimulationSteadyInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyInitial") translateModel(PowerSystems.Examples.Introductory.SimulationSteadyInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 107.9 kB / 17.74 MB, free: 5.363 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.00171/0.00171, allocations: 189.5 kB / 18.66 MB, free: 4.441 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.358/1.358, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1749/0.1749, allocations: 37.99 MB / 309.9 MB, free: 5.957 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.001396/0.001396, allocations: 67.91 kB / 432.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09275/0.09415, allocations: 55.24 MB / 487.8 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.008343/0.1025, allocations: 7.575 MB / 495.4 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004225/0.1068, allocations: 2.369 MB / 497.7 MB, free: 14.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000481/0.1073, allocations: 27.81 kB / 497.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0021/0.1095, allocations: 0.8596 MB / 498.6 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001135/0.1106, allocations: 0.5013 MB / 499.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.1118, allocations: 455 kB / 499.6 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001448/0.1132, allocations: 1.317 MB / 0.4891 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008594/0.1141, allocations: 0.6893 MB / 0.4898 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00079/0.1149, allocations: 0.5758 MB / 0.4904 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009247/0.1158, allocations: 0.6814 MB / 0.491 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.116, allocations: 91.94 kB / 0.4911 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000541/0.1165, allocations: 259.7 kB / 0.4914 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004456/0.117, allocations: 0.4987 MB / 0.4919 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005127/0.1175, allocations: 0.5403 MB / 0.4924 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.1187, allocations: 1.324 MB / 0.4937 GB, free: 6.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1187, allocations: 0 / 0.4937 GB, free: 6.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1188, allocations: 0 / 0.4937 GB, free: 6.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.1188, allocations: 0 / 0.4937 GB, free: 6.52 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002286/0.1211, allocations: 1.339 MB / 0.495 GB, free: 5.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1211, allocations: 11.89 kB / 0.495 GB, free: 5.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.1223, allocations: 183.5 kB / 0.4952 GB, free: 4.926 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.1234, allocations: 0.7466 MB / 0.4959 GB, free: 4.137 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.946e-05/0.1235, allocations: 58.38 kB / 0.496 GB, free: 4.078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002578/0.1238, allocations: 120.1 kB / 0.4961 GB, free: 3.961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/0.1255, allocations: 1.216 MB / 0.4973 GB, free: 2.676 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.147e-05/0.1255, allocations: 7.844 kB / 0.4973 GB, free: 2.668 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.423e-05/0.1256, allocations: 39.98 kB / 0.4973 GB, free: 2.629 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002577/0.1259, allocations: 61.95 kB / 0.4974 GB, free: 2.566 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001542/0.1274, allocations: 1.015 MB / 0.4984 GB, free: 1.555 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005587/0.133, allocations: 4.694 MB / 0.5029 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.1342, allocations: 0.6759 MB / 0.5036 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006155/0.1348, allocations: 463 kB / 0.504 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.381e-05/0.1349, allocations: 8.562 kB / 0.5041 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007531/0.1356, allocations: 0.5259 MB / 0.5046 GB, free: 10.94 MB / 398.1 MB Notification: Performance of pre-optimization done (n=71): time 3.096e-06/0.1356, allocations: 3.938 kB / 0.5046 GB, free: 10.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=75): time 0.004839/0.1405, allocations: 3.042 MB / 0.5075 GB, free: 7.805 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.1406, allocations: 230 kB / 0.5078 GB, free: 7.527 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006728/0.1413, allocations: 0.5899 MB / 0.5083 GB, free: 6.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.125e-05/0.1414, allocations: 41.7 kB / 0.5084 GB, free: 6.883 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003643/0.1417, allocations: 483 kB / 0.5088 GB, free: 6.402 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00021/0.142, allocations: 256.4 kB / 0.5091 GB, free: 6.148 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002412/0.1422, allocations: 174.5 kB / 0.5092 GB, free: 5.973 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.1424, allocations: 390.8 kB / 0.5096 GB, free: 5.582 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005741/0.143, allocations: 385.8 kB / 0.51 GB, free: 5.203 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000735/0.1437, allocations: 0.6379 MB / 0.5106 GB, free: 4.457 MB / 398.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.005084/0.1488, allocations: 2.225 MB / 0.5128 GB, free: 2.121 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.1488, allocations: 4 kB / 0.5128 GB, free: 2.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003179/0.152, allocations: 1.653 MB / 0.5144 GB, free: 452 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.065e-05/0.1521, allocations: 33.7 kB / 0.5144 GB, free: 412 kB / 398.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. Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006775/0.1528, allocations: 391.8 kB / 0.5148 GB, free: 16 kB / 398.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated