Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007304/0.0007304, allocations: 72.27 kB / 9.879 MB, free: 0.8203 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009803/0.001711, allocations: 449.6 kB / 10.32 MB, free: 392 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007149/0.0007149, allocations: 149.9 kB / 11.2 MB, free: 2.98 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000905/0.00162, allocations: 476.2 kB / 11.66 MB, free: 2.512 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9351/0.9351, allocations: 177.1 MB / 189.5 MB, free: 3.746 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.273/1.208, allocations: 53.65 MB / 243.2 MB, free: 2.359 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1201/0.1201, allocations: 29.41 MB / 273.3 MB, free: 4.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01572/0.1358, allocations: 9.54 MB / 282.9 MB, free: 10.73 MB / 282.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_DoubleRXlineTG",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_DoubleRXlineTG",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 284.1 MB, free: 9.504 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.266e-05/1.429e-05, allocations: 5.406 kB / 284.1 MB, free: 9.5 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.008736/0.00875, allocations: 11.17 MB / 295.3 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009638/0.01839, allocations: 7.747 MB / 303 MB, free: 6.508 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.0195, allocations: 63.5 kB / 303.1 MB, free: 6.445 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.2385/0.258, allocations: 90.17 MB / 393.3 MB, free: 3.156 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002778/0.2608, allocations: 1.569 MB / 394.8 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002114/0.2629, allocations: 1.111 MB / 395.9 MB, free: 1 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01326/0.2762, allocations: 14.63 MB / 410.6 MB, free: 3.059 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001714/0.2779, allocations: 1.235 MB / 411.8 MB, free: 1.793 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02224/0.3001, allocations: 24.23 MB / 436 MB, free: 9.91 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002052/0.3022, allocations: 1.773 MB / 437.8 MB, free: 8.137 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003421/0.3025, allocations: 235.9 kB / 438 MB, free: 7.906 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0013/0.3038, allocations: 0.9538 MB / 439 MB, free: 6.969 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009378/0.3047, allocations: 1.293 MB / 440.3 MB, free: 5.68 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007658/0.3055, allocations: 0.8031 MB / 441.1 MB, free: 4.875 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002104/0.3076, allocations: 2.482 MB / 443.6 MB, free: 2.414 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.28e-05/0.3076, allocations: 0 / 443.6 MB, free: 2.414 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3076, allocations: 0 / 443.6 MB, free: 2.414 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.549e-05/0.3077, allocations: 0 / 443.6 MB, free: 2.414 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 574 * Number of variables: 574 Notification: Performance of Generate backend data structure: time 0.002832/0.3105, allocations: 2.875 MB / 446.4 MB, free: 15.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.3105, allocations: 12.03 kB / 446.5 MB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002233/0.3108, allocations: 321 kB / 446.8 MB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.312, allocations: 0.6187 MB / 447.4 MB, free: 14.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.3135, allocations: 1.336 MB / 448.7 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.771e-05/0.3136, allocations: 161.7 kB / 448.9 MB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000295/0.3139, allocations: 254.8 kB / 449.1 MB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.3156, allocations: 1.966 MB / 451.1 MB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.933e-05/0.3156, allocations: 10.89 kB / 451.1 MB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/0.3157, allocations: 91.25 kB / 451.2 MB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002755/0.316, allocations: 195.8 kB / 451.4 MB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.3171, allocations: 0.9417 MB / 452.3 MB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007063/0.3242, allocations: 8.359 MB / 460.7 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.3254, allocations: 1.083 MB / 461.8 MB, free: 15.72 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008878/0.3263, allocations: 0.6933 MB / 462.5 MB, free: 15.01 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.542e-05/0.3264, allocations: 41.98 kB / 462.5 MB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008911/0.3273, allocations: 1.118 MB / 463.6 MB, free: 13.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=252): time 3.737e-06/0.3273, allocations: 0 / 463.6 MB, free: 13.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=274): time 0.00694/0.3342, allocations: 4.863 MB / 468.5 MB, free: 8.898 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.3343, allocations: 409.3 kB / 468.9 MB, free: 8.418 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008822/0.3352, allocations: 1.168 MB / 470.1 MB, free: 7.242 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.3353, allocations: 81.69 kB / 470.1 MB, free: 7.156 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003887/0.3357, allocations: 0.7874 MB / 470.9 MB, free: 6.359 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000447/0.3362, allocations: 0.9064 MB / 471.8 MB, free: 5.445 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004677/0.3366, allocations: 0.5066 MB / 472.3 MB, free: 4.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.001e-05/0.3367, allocations: 305.1 kB / 472.6 MB, free: 4.629 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004869/0.3372, allocations: 451.5 kB / 473.1 MB, free: 4.164 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007352/0.3379, allocations: 1.083 MB / 474.2 MB, free: 2.824 MB / 426.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.002202/0.3401, allocations: 2.528 MB / 476.7 MB, free: 80 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.3401, allocations: 4 kB / 476.7 MB, free: 76 kB / 426.7 MB Notification: Performance of matching and sorting (n=407) (initialization): time 0.003576/0.3437, allocations: 2.584 MB / 479.3 MB, free: 13.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.313e-05/0.3437, allocations: 67.39 kB / 479.3 MB, free: 13.52 MB / 442.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. Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006516/0.3444, allocations: 0.5393 MB / 479.9 MB, free: 12.96 MB / 442.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.0515339337289333]