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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001138/0.001138, allocations: 110.6 kB / 16.92 MB, free: 6.332 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.001062/0.001062, allocations: 191.4 kB / 17.85 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1743/0.1743, allocations: 38.03 MB / 329.7 MB, free: 8.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 69.77 kB / 398.9 MB, free: 33.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08978/0.09113, allocations: 58.05 MB / 457 MB, free: 7.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.01084/0.102, allocations: 10.18 MB / 467.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006603/0.1086, allocations: 3.723 MB / 470.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009468/0.1096, allocations: 35.81 kB / 470.9 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003068/0.1127, allocations: 1.206 MB / 472.1 MB, free: 8.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002898/0.1156, allocations: 1.128 MB / 473.2 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001864/0.1175, allocations: 0.7289 MB / 474 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003194/0.1207, allocations: 2.429 MB / 476.4 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001908/0.1227, allocations: 1.044 MB / 477.4 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001859/0.1245, allocations: 1.043 MB / 478.5 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002264/0.1268, allocations: 1.39 MB / 479.9 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005929/0.1274, allocations: 168 kB / 480 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001712/0.1292, allocations: 0.7295 MB / 480.8 MB, free: 68 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001192/0.1304, allocations: 0.9742 MB / 481.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00164/0.132, allocations: 0.9991 MB / 482.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002932/0.135, allocations: 2.563 MB / 485.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.135, allocations: 0 / 485.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.135, allocations: 0 / 485.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.779e-05/0.1351, allocations: 0 / 485.3 MB, free: 11.52 MB / 366.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.005151/0.1402, allocations: 2.314 MB / 487.6 MB, free: 9.117 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.1403, allocations: 15.89 kB / 487.6 MB, free: 9.102 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003439/0.1406, allocations: 257.4 kB / 487.9 MB, free: 8.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001852/0.1425, allocations: 342.2 kB / 488.2 MB, free: 8.504 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001901/0.1444, allocations: 1.079 MB / 489.3 MB, free: 7.379 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.1445, allocations: 126.9 kB / 489.4 MB, free: 7.254 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004468/0.145, allocations: 191.9 kB / 489.6 MB, free: 7.066 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003682/0.1487, allocations: 2.465 MB / 492.1 MB, free: 4.473 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.396e-05/0.1487, allocations: 3.906 kB / 492.1 MB, free: 4.469 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001871/0.1489, allocations: 71.97 kB / 492.1 MB, free: 4.398 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005429/0.1495, allocations: 162.9 kB / 492.3 MB, free: 4.238 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003481/0.153, allocations: 2.174 MB / 494.5 MB, free: 2.059 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01249/0.1655, allocations: 9.245 MB / 0.4919 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002673/0.1682, allocations: 2.128 MB / 0.494 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001715/0.1699, allocations: 1.181 MB / 0.4951 GB, free: 5.047 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-05/0.17, allocations: 29.36 kB / 0.4952 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001961/0.172, allocations: 1.411 MB / 0.4966 GB, free: 3.566 MB / 382.1 MB Notification: Performance of pre-optimization done (n=205): time 4.999e-06/0.172, allocations: 0 / 0.4966 GB, free: 3.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=213): time 0.1739/0.3459, allocations: 6.872 MB / 0.5033 GB, free: 54.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.484e-05/0.346, allocations: 278.1 kB / 0.5035 GB, free: 54.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.3472, allocations: 0.9336 MB / 0.5044 GB, free: 54.24 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001566/0.3474, allocations: 69.61 kB / 0.5045 GB, free: 54.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000464/0.3479, allocations: 0.7255 MB / 0.5052 GB, free: 53.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004611/0.3483, allocations: 0.669 MB / 0.5059 GB, free: 53.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005691/0.3489, allocations: 401.9 kB / 0.5063 GB, free: 52.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.699e-05/0.349, allocations: 308 kB / 0.5065 GB, free: 52.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.3505, allocations: 0.9692 MB / 0.5075 GB, free: 52.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001792/0.3523, allocations: 1.518 MB / 0.509 GB, free: 51.37 MB / 382.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.01348/0.3658, allocations: 6.245 MB / 0.5151 GB, free: 48.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.253e-05/0.3658, allocations: 8.781 kB / 0.5151 GB, free: 48.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007613/0.3734, allocations: 4.117 MB / 0.5191 GB, free: 47.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.51e-05/0.3735, allocations: 63.25 kB / 0.5192 GB, free: 47.3 MB / 382.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.001465/0.375, allocations: 0.9911 MB / 0.5201 GB, free: 46.89 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated