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: translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleRXline") translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleRXline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001066, allocations: 108.7 kB / 17.75 MB, free: 5.223 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.001098/0.001098, allocations: 190.4 kB / 18.67 MB, free: 4.305 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.31/1.31, 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.1938/0.1938, allocations: 37.99 MB / 309.9 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.001712/0.001712, allocations: 63.91 kB / 432.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09241/0.09413, allocations: 55.25 MB / 487.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.01164/0.1058, allocations: 10.18 MB / 498 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00657/0.1124, allocations: 3.759 MB / 0.49 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008708/0.1133, allocations: 35.81 kB / 0.49 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003077/0.1164, allocations: 1.202 MB / 0.4912 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002798/0.1192, allocations: 1.148 MB / 0.4923 GB, free: 7.938 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001873/0.1211, allocations: 0.7173 MB / 0.493 GB, free: 7.219 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003034/0.1241, allocations: 2.433 MB / 0.4954 GB, free: 4.781 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001709/0.1259, allocations: 1.036 MB / 0.4964 GB, free: 3.719 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001995/0.1279, allocations: 1.07 MB / 0.4974 GB, free: 2.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002298/0.1302, allocations: 1.379 MB / 0.4988 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004826/0.1307, allocations: 164 kB / 0.4989 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001591/0.1323, allocations: 0.7021 MB / 0.4996 GB, free: 408 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001358/0.1337, allocations: 0.9704 MB / 0.5006 GB, free: 15.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001734/0.1354, allocations: 0.9991 MB / 0.5016 GB, free: 14.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00334/0.1388, allocations: 2.605 MB / 0.5041 GB, free: 11.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.1388, allocations: 0 / 0.5041 GB, free: 11.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1388, allocations: 3.938 kB / 0.5041 GB, free: 11.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001084/0.1389, allocations: 4 kB / 0.5041 GB, free: 11.8 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.004834/0.1437, allocations: 2.321 MB / 0.5064 GB, free: 9.395 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.1438, allocations: 11.89 kB / 0.5064 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001781/0.1456, allocations: 338.3 kB / 0.5067 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001935/0.1475, allocations: 1.13 MB / 0.5078 GB, free: 7.879 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.89e-05/0.1476, allocations: 127.1 kB / 0.5079 GB, free: 7.754 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004123/0.1481, allocations: 199.8 kB / 0.5081 GB, free: 7.559 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00341/0.1515, allocations: 2.461 MB / 0.5105 GB, free: 4.969 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.641e-05/0.1515, allocations: 11.94 kB / 0.5105 GB, free: 4.957 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/0.1517, allocations: 71.95 kB / 0.5106 GB, free: 4.887 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004906/0.1522, allocations: 158.9 kB / 0.5108 GB, free: 4.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00332/0.1555, allocations: 2.174 MB / 0.5129 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01294/0.1685, allocations: 9.183 MB / 0.5218 GB, free: 9.039 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00269/0.1712, allocations: 2.123 MB / 0.5239 GB, free: 6.789 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001673/0.1729, allocations: 1.178 MB / 0.5251 GB, free: 5.605 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.914e-05/0.173, allocations: 25.38 kB / 0.5251 GB, free: 5.578 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001833/0.1749, allocations: 1.403 MB / 0.5265 GB, free: 4.141 MB / 414.1 MB Notification: Performance of pre-optimization done (n=205): time 4.408e-06/0.1749, allocations: 0 / 0.5265 GB, free: 4.141 MB / 414.1 MB Notification: Performance of matching and sorting (n=213): time 0.2158/0.3907, allocations: 6.877 MB / 0.5332 GB, free: 50.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.381e-05/0.3908, allocations: 276.5 kB / 0.5334 GB, free: 50.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.3919, allocations: 0.9297 MB / 0.5344 GB, free: 50.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001108/0.392, allocations: 72.14 kB / 0.5344 GB, free: 49.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004226/0.3925, allocations: 0.7302 MB / 0.5351 GB, free: 49.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004252/0.3929, allocations: 0.6607 MB / 0.5358 GB, free: 48.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005732/0.3935, allocations: 408.4 kB / 0.5362 GB, free: 48.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.327e-05/0.3935, allocations: 302.8 kB / 0.5365 GB, free: 48.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001428/0.395, allocations: 0.9657 MB / 0.5374 GB, free: 48.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/0.3966, allocations: 1.519 MB / 0.5389 GB, free: 47.14 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.01271/0.4093, allocations: 6.233 MB / 0.545 GB, free: 44.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.789e-05/0.4093, allocations: 5.281 kB / 0.545 GB, free: 44.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007782/0.4171, allocations: 4.111 MB / 0.549 GB, free: 43.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.21e-05/0.4172, allocations: 70.16 kB / 0.5491 GB, free: 43.1 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.001444/0.4186, allocations: 0.9707 MB / 0.55 GB, free: 42.71 MB / 414.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated Error: Internal error SimCode DAEmode: The model PowerSystems.Examples.AC3ph.Transmission.DoubleRXline could not be translated