Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleRXline.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.Transmission.DoubleRXline,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_DoubleRXline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_DoubleRXline",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.001333/0.001334, allocations: 112.6 kB / 17.06 MB, free: 6.09 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.00112/0.00112, allocations: 199 kB / 18 MB, free: 5.168 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.293/1.293, allocations: 205.1 MB / 223.9 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1765/0.1765, allocations: 37.98 MB / 309.2 MB, free: 5.945 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.001355/0.001355, allocations: 72.36 kB / 431.4 MB, free: 16.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09157/0.09293, allocations: 55.24 MB / 486.6 MB, free: 8.82 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.01063/0.1036, allocations: 10.17 MB / 496.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006444/0.1101, allocations: 3.763 MB / 0.4888 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000832/0.1109, allocations: 31.81 kB / 0.4888 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003017/0.114, allocations: 1.213 MB / 0.49 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002869/0.1169, allocations: 1.148 MB / 0.4912 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001973/0.1189, allocations: 0.7134 MB / 0.4919 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003062/0.122, allocations: 2.441 MB / 0.4942 GB, free: 5.262 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001589/0.1236, allocations: 1.028 MB / 0.4952 GB, free: 4.207 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00176/0.1254, allocations: 1.066 MB / 0.4963 GB, free: 3.137 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002042/0.1274, allocations: 1.379 MB / 0.4976 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004338/0.1279, allocations: 168 kB / 0.4978 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.1295, allocations: 0.706 MB / 0.4985 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001276/0.1308, allocations: 0.9664 MB / 0.4994 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001716/0.1325, allocations: 1.011 MB / 0.5004 GB, free: 14.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003053/0.1356, allocations: 2.597 MB / 0.5029 GB, free: 12.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.1356, allocations: 4 kB / 0.5029 GB, free: 12.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1356, allocations: 0 / 0.5029 GB, free: 12.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.426e-05/0.1357, allocations: 0 / 0.5029 GB, free: 12.29 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.005118/0.1408, allocations: 2.321 MB / 0.5052 GB, free: 9.883 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.1409, allocations: 11.89 kB / 0.5052 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004357/0.1413, allocations: 253.5 kB / 0.5055 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001891/0.1432, allocations: 338.3 kB / 0.5058 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00235/0.1456, allocations: 1.133 MB / 0.5069 GB, free: 8.105 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.1457, allocations: 126.9 kB / 0.507 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004528/0.1462, allocations: 191.9 kB / 0.5072 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00361/0.1498, allocations: 2.461 MB / 0.5096 GB, free: 5.203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.757e-05/0.1499, allocations: 11.84 kB / 0.5096 GB, free: 5.191 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001634/0.15, allocations: 67.97 kB / 0.5097 GB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004783/0.1505, allocations: 162.9 kB / 0.5098 GB, free: 4.965 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003633/0.1542, allocations: 2.178 MB / 0.512 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01351/0.1677, allocations: 9.179 MB / 0.5209 GB, free: 9.273 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002649/0.1704, allocations: 2.127 MB / 0.523 GB, free: 7.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001745/0.1721, allocations: 1.174 MB / 0.5242 GB, free: 5.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.1723, allocations: 25.23 kB / 0.5242 GB, free: 5.812 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002019/0.1743, allocations: 1.411 MB / 0.5256 GB, free: 4.367 MB / 414.1 MB Notification: Performance of pre-optimization done (n=205): time 4.418e-06/0.1743, allocations: 3.938 kB / 0.5256 GB, free: 4.363 MB / 414.1 MB Notification: Performance of matching and sorting (n=213): time 0.1875/0.3619, allocations: 6.877 MB / 0.5323 GB, free: 50.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.362, allocations: 275.6 kB / 0.5325 GB, free: 50.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.3631, allocations: 0.9334 MB / 0.5334 GB, free: 49.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001565/0.3633, allocations: 68.67 kB / 0.5335 GB, free: 49.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004235/0.3637, allocations: 0.7296 MB / 0.5342 GB, free: 49.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004991/0.3642, allocations: 0.6615 MB / 0.5349 GB, free: 48.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005362/0.3648, allocations: 407.4 kB / 0.5353 GB, free: 48.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.842e-05/0.3648, allocations: 303 kB / 0.5355 GB, free: 48.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001354/0.3662, allocations: 0.9671 MB / 0.5365 GB, free: 48.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001673/0.3679, allocations: 1.521 MB / 0.538 GB, free: 47.11 MB / 414.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.01272/0.3806, allocations: 6.231 MB / 0.5441 GB, free: 44.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.968e-05/0.3806, allocations: 4.5 kB / 0.5441 GB, free: 44.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007336/0.388, allocations: 4.116 MB / 0.5481 GB, free: 43.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.797e-05/0.3881, allocations: 64.52 kB / 0.5481 GB, free: 43.06 MB / 414.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.001363/0.3894, allocations: 0.9722 MB / 0.5491 GB, free: 42.67 MB / 414.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated