Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001411/0.001411, allocations: 184 kB / 16.38 MB, free: 5.598 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.696/1.696, allocations: 194.5 MB / 211.6 MB, free: 7.52 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001893/0.001893, allocations: 116.6 kB / 256.9 MB, free: 10.14 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.2295/0.2295, allocations: 38.01 MB / 340.1 MB, free: 13.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004424/0.0004426, allocations: 13.03 kB / 403.8 MB, free: 55.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06726/0.06773, allocations: 53.23 MB / 457 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01336/0.08113, allocations: 13.08 MB / 470.1 MB, free: 13.2 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01445/0.09561, allocations: 7.939 MB / 478 MB, free: 5.25 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.09668, allocations: 79.44 kB / 478.1 MB, free: 5.172 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02527/0.122, allocations: 12.68 MB / 490.8 MB, free: 8.469 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003628/0.1256, allocations: 1.071 MB / 491.9 MB, free: 7.395 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002935/0.1286, allocations: 0.8693 MB / 492.7 MB, free: 6.523 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002253/0.1309, allocations: 1.66 MB / 494.4 MB, free: 4.863 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00333/0.1342, allocations: 1.75 MB / 496.2 MB, free: 3.055 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001419/0.1357, allocations: 0.9692 MB / 497.1 MB, free: 2.082 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001744/0.1374, allocations: 1.235 MB / 498.4 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002986/0.1377, allocations: 108 kB / 498.5 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001673/0.1394, allocations: 0.7801 MB / 499.2 MB, free: 15.95 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00129/0.1407, allocations: 1.114 MB / 0.4886 GB, free: 14.84 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006189/0.1414, allocations: 0.4886 MB / 0.4891 GB, free: 14.34 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00357/0.1449, allocations: 2.989 MB / 0.492 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.145, allocations: 0 / 0.492 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.855e-06/0.145, allocations: 0 / 0.492 GB, free: 11.35 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.563e-05/0.145, allocations: 0 / 0.492 GB, free: 11.35 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 572 * Number of variables: 572 Notification: Performance of Generate backend data structure: time 0.006211/0.1512, allocations: 2.721 MB / 0.4947 GB, free: 8.539 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.1513, allocations: 8.031 kB / 0.4947 GB, free: 8.531 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00262/0.1539, allocations: 484.2 kB / 0.4952 GB, free: 8.055 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003953/0.1579, allocations: 1.73 MB / 0.4968 GB, free: 6.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002034/0.1581, allocations: 159.8 kB / 0.497 GB, free: 6.113 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007097/0.1588, allocations: 255.8 kB / 0.4972 GB, free: 5.863 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006325/0.1652, allocations: 3.165 MB / 0.5003 GB, free: 2.543 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-05/0.1653, allocations: 15.84 kB / 0.5003 GB, free: 2.527 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002963/0.1656, allocations: 79.98 kB / 0.5004 GB, free: 2.449 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006988/0.1663, allocations: 219.7 kB / 0.5006 GB, free: 2.234 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006277/0.1726, allocations: 2.845 MB / 0.5034 GB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02038/0.193, allocations: 11.75 MB / 0.5149 GB, free: 3.188 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004285/0.1973, allocations: 2.495 MB / 0.5173 GB, free: 0.5586 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001274/0.1974, allocations: 26.05 kB / 0.5173 GB, free: 0.5352 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003337/0.2008, allocations: 1.714 MB / 0.519 GB, free: 14.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=247): time 5.959e-06/0.2008, allocations: 0 / 0.519 GB, free: 14.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=267): time 0.02969/0.2305, allocations: 12.16 MB / 0.5309 GB, free: 2.359 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002699/0.2308, allocations: 409.8 kB / 0.5313 GB, free: 1.875 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002372/0.2332, allocations: 1.457 MB / 0.5327 GB, free: 420 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002075/0.2334, allocations: 85.72 kB / 0.5328 GB, free: 328 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2308/0.4642, allocations: 0.9992 MB / 0.5338 GB, free: 79.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009437/0.4652, allocations: 0.8585 MB / 0.5346 GB, free: 78.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.4654, allocations: 58.39 kB / 0.5347 GB, free: 78.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.4656, allocations: 428 kB / 0.5351 GB, free: 78.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002771/0.4684, allocations: 1.306 MB / 0.5363 GB, free: 78.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003147/0.4716, allocations: 1.973 MB / 0.5383 GB, free: 77.66 MB / 378.7 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.01428/0.4859, allocations: 3.892 MB / 0.5421 GB, free: 77.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.628e-05/0.4859, allocations: 7.938 kB / 0.5421 GB, free: 77.05 MB / 378.7 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. Error: No system for the symbolic initialization was generated