Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 122.2 kB / 18.49 MB, free: 4.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 215.1 kB / 21.45 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.634/1.634, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1879/0.1879, allocations: 38.51 MB / 349.4 MB, free: 2.613 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationSteadyInitial,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_SimulationSteadyInitial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationSteadyInitial,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_SimulationSteadyInitial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 64.14 kB / 487.8 MB, free: 21.96 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1299, allocations: 62.42 MB / 0.5374 GB, free: 7.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.01116/0.141, allocations: 7.666 MB / 0.5448 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005415/0.1464, allocations: 2.372 MB / 0.5472 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005406/0.147, allocations: 39.69 kB / 0.5472 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002478/0.1495, allocations: 0.8712 MB / 0.5481 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.1508, allocations: 0.5092 MB / 0.5485 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.152, allocations: 458.9 kB / 0.549 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00149/0.1535, allocations: 1.313 MB / 0.5503 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000819/0.1543, allocations: 0.541 MB / 0.5508 GB, free: 9.613 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008787/0.1552, allocations: 0.5953 MB / 0.5514 GB, free: 9.016 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.1562, allocations: 0.7397 MB / 0.5521 GB, free: 8.273 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.1563, allocations: 84 kB / 0.5522 GB, free: 8.191 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005882/0.1569, allocations: 283.6 kB / 0.5525 GB, free: 7.914 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005629/0.1575, allocations: 0.5025 MB / 0.5529 GB, free: 7.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006379/0.1581, allocations: 0.5481 MB / 0.5535 GB, free: 6.859 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.1597, allocations: 1.319 MB / 0.5548 GB, free: 5.535 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1597, allocations: 4 kB / 0.5548 GB, free: 5.531 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1597, allocations: 0 / 0.5548 GB, free: 5.531 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.75e-05/0.1598, allocations: 0 / 0.5548 GB, free: 5.531 MB / 414.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.002758/0.1625, allocations: 1.368 MB / 0.5561 GB, free: 4.098 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.1626, allocations: 12.03 kB / 0.5561 GB, free: 4.086 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.18e-05/0.1626, allocations: 22.19 kB / 0.5561 GB, free: 4.066 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001738/0.1628, allocations: 147.7 kB / 0.5563 GB, free: 3.914 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0019/0.1647, allocations: 216.1 kB / 0.5565 GB, free: 3.703 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002025/0.1667, allocations: 0.7472 MB / 0.5572 GB, free: 2.914 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.173e-05/0.1668, allocations: 66.12 kB / 0.5573 GB, free: 2.852 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004224/0.1672, allocations: 123.8 kB / 0.5574 GB, free: 2.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002863/0.1701, allocations: 1.212 MB / 0.5586 GB, free: 1.445 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.171e-05/0.1701, allocations: 7.984 kB / 0.5586 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/0.1703, allocations: 39.98 kB / 0.5586 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004037/0.1707, allocations: 65.95 kB / 0.5587 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002603/0.1733, allocations: 1.019 MB / 0.5597 GB, free: 320 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009284/0.1826, allocations: 4.695 MB / 0.5643 GB, free: 11.42 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.1842, allocations: 0.6281 MB / 0.5649 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.1853, allocations: 423 kB / 0.5653 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.087e-05/0.1853, allocations: 12.55 kB / 0.5653 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001187/0.1865, allocations: 0.5259 MB / 0.5658 GB, free: 9.785 MB / 430.1 MB Notification: Performance of pre-optimization done (n=71): time 3.286e-06/0.1865, allocations: 0 / 0.5658 GB, free: 9.785 MB / 430.1 MB Notification: Performance of matching and sorting (n=75): time 0.0081/0.1946, allocations: 3.086 MB / 0.5688 GB, free: 6.617 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001984/0.1948, allocations: 226.1 kB / 0.569 GB, free: 6.348 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.196, allocations: 0.59 MB / 0.5696 GB, free: 5.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.1961, allocations: 41.7 kB / 0.5697 GB, free: 5.703 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006188/0.1967, allocations: 492.1 kB / 0.5701 GB, free: 5.215 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004103/0.1971, allocations: 277.7 kB / 0.5704 GB, free: 4.941 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004375/0.1975, allocations: 166.6 kB / 0.5705 GB, free: 4.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003099/0.1979, allocations: 390.7 kB / 0.5709 GB, free: 4.379 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/0.1989, allocations: 393.8 kB / 0.5713 GB, free: 3.996 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/0.2002, allocations: 0.6378 MB / 0.5719 GB, free: 3.25 MB / 430.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.00828/0.2084, allocations: 2.225 MB / 0.5741 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.295e-06/0.2085, allocations: 4 kB / 0.5741 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.005298/0.2138, allocations: 1.646 MB / 0.5757 GB, free: 15.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.214e-05/0.2138, allocations: 33.7 kB / 0.5757 GB, free: 15.2 MB / 446.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.00113/0.215, allocations: 395.8 kB / 0.5761 GB, free: 14.81 MB / 446.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.140763044008054] Failed to read output from testmodel.py, exit status != 0: 0.22336282895412296 0.23993629900000002 0.07703683700000001 Calling exit ...