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: "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationSteadyInitial,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_SimulationSteadyInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationSteadyInitial,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_SimulationSteadyInitial",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.001735/0.001735, allocations: 106.1 kB / 17.06 MB, free: 6.027 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.00174/0.00174, allocations: 195 kB / 18 MB, free: 5.105 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.536/1.536, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1846/0.1846, allocations: 37.98 MB / 309.2 MB, free: 5.961 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.001393/0.001393, allocations: 72.36 kB / 431.4 MB, free: 16.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1146, allocations: 55.25 MB / 486.6 MB, free: 8.848 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.009879/0.1245, allocations: 7.578 MB / 494.2 MB, free: 1.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004557/0.1291, allocations: 2.365 MB / 496.5 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006759/0.1298, allocations: 23.88 kB / 496.6 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002372/0.1323, allocations: 0.8673 MB / 497.4 MB, free: 13.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001353/0.1336, allocations: 0.5013 MB / 497.9 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.1349, allocations: 455 kB / 498.4 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001804/0.1367, allocations: 1.321 MB / 499.7 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009057/0.1377, allocations: 0.6932 MB / 0.4887 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009139/0.1386, allocations: 0.5836 MB / 0.4892 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.1396, allocations: 0.6814 MB / 0.4899 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.1398, allocations: 80 kB / 0.49 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005821/0.1404, allocations: 267.6 kB / 0.4902 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004949/0.1409, allocations: 0.5026 MB / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005397/0.1414, allocations: 0.5404 MB / 0.4913 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.1429, allocations: 1.32 MB / 0.4925 GB, free: 7.008 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1429, allocations: 0 / 0.4925 GB, free: 7.008 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.1429, allocations: 0 / 0.4925 GB, free: 7.008 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.322e-05/0.1429, allocations: 4 kB / 0.4925 GB, free: 7.004 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.002444/0.1454, allocations: 1.327 MB / 0.4938 GB, free: 5.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.1454, allocations: 15.89 kB / 0.4939 GB, free: 5.598 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001563/0.1456, allocations: 143.7 kB / 0.494 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.1467, allocations: 183.5 kB / 0.4942 GB, free: 5.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/0.1482, allocations: 0.7388 MB / 0.4949 GB, free: 4.488 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.064e-05/0.1482, allocations: 66.36 kB / 0.495 GB, free: 4.422 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002795/0.1485, allocations: 115.9 kB / 0.4951 GB, free: 4.309 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/0.1504, allocations: 1.219 MB / 0.4963 GB, free: 3.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/0.1504, allocations: 11.78 kB / 0.4963 GB, free: 3.008 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.511e-05/0.1505, allocations: 39.98 kB / 0.4963 GB, free: 2.969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002624/0.1508, allocations: 57.97 kB / 0.4964 GB, free: 2.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/0.1524, allocations: 1.019 MB / 0.4974 GB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006803/0.1592, allocations: 4.698 MB / 0.5019 GB, free: 12.99 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.1604, allocations: 0.6682 MB / 0.5026 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006273/0.161, allocations: 471 kB / 0.503 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.731e-05/0.1611, allocations: 12.55 kB / 0.5031 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007592/0.1619, allocations: 0.5182 MB / 0.5036 GB, free: 11.28 MB / 398.1 MB Notification: Performance of pre-optimization done (n=71): time 2.355e-06/0.1619, allocations: 0 / 0.5036 GB, free: 11.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=75): time 0.005093/0.167, allocations: 3.045 MB / 0.5065 GB, free: 8.145 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/0.1671, allocations: 226.2 kB / 0.5068 GB, free: 7.871 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006649/0.1678, allocations: 0.5898 MB / 0.5073 GB, free: 7.273 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.017e-05/0.1679, allocations: 45.7 kB / 0.5074 GB, free: 7.223 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003832/0.1683, allocations: 475 kB / 0.5078 GB, free: 6.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002309/0.1685, allocations: 256.3 kB / 0.5081 GB, free: 6.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002553/0.1688, allocations: 178.5 kB / 0.5082 GB, free: 6.316 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.169, allocations: 394.7 kB / 0.5086 GB, free: 5.922 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006238/0.1696, allocations: 385.8 kB / 0.509 GB, free: 5.543 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007509/0.1704, allocations: 0.6379 MB / 0.5096 GB, free: 4.797 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.00528/0.1757, allocations: 2.217 MB / 0.5118 GB, free: 2.469 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.1757, allocations: 7.938 kB / 0.5118 GB, free: 2.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003355/0.1791, allocations: 1.669 MB / 0.5134 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.093e-05/0.1791, allocations: 33.7 kB / 0.5134 GB, free: 0.7305 MB / 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.0006218/0.1798, allocations: 391.8 kB / 0.5138 GB, free: 352 kB / 398.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated