Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Vsource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001927/0.001927, allocations: 112.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002121/0.002121, allocations: 189.6 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1817/0.1817, allocations: 38.55 MB / 346.3 MB, free: 2.141 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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: translateModel(PowerSystems.Examples.AC3ph.Generation.Vsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Vsource") translateModel(PowerSystems.Examples.AC3ph.Generation.Vsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Vsource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 63.89 kB / 484.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3497, allocations: 61.28 MB / 0.533 GB, free: 5.578 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.00581/0.3555, allocations: 4.881 MB / 0.5378 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002119/0.3576, allocations: 1.454 MB / 0.5392 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002167/0.3578, allocations: 16.12 kB / 0.5392 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.3589, allocations: 418.2 kB / 0.5396 GB, free: 0.582 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005322/0.3594, allocations: 294.1 kB / 0.5399 GB, free: 352 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005356/0.3599, allocations: 215.7 kB / 0.5401 GB, free: 188 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006857/0.3606, allocations: 0.6255 MB / 0.5407 GB, free: 15.83 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004001/0.361, allocations: 202.8 kB / 0.5409 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004085/0.3614, allocations: 293.2 kB / 0.5412 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005418/0.362, allocations: 336.2 kB / 0.5415 GB, free: 15.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.105e-05/0.362, allocations: 33.94 kB / 0.5416 GB, free: 15.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003283/0.3624, allocations: 166.3 kB / 0.5417 GB, free: 15.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002178/0.3626, allocations: 211.5 kB / 0.5419 GB, free: 15.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002697/0.3629, allocations: 243.9 kB / 0.5421 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007356/0.3636, allocations: 0.582 MB / 0.5427 GB, free: 14.6 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3636, allocations: 0 / 0.5427 GB, free: 14.6 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3636, allocations: 4 kB / 0.5427 GB, free: 14.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.3636, allocations: 0 / 0.5427 GB, free: 14.59 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.00127/0.3649, allocations: 0.6849 MB / 0.5434 GB, free: 14.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.3649, allocations: 10.03 kB / 0.5434 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008075/0.3657, allocations: 106 kB / 0.5435 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008006/0.3665, allocations: 374.7 kB / 0.5439 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.283e-05/0.3666, allocations: 35.42 kB / 0.5439 GB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.3667, allocations: 54.39 kB / 0.5439 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007765/0.3675, allocations: 0.4894 MB / 0.5444 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.3675, allocations: 6.484 kB / 0.5444 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.791e-05/0.3676, allocations: 10.38 kB / 0.5444 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002078/0.3678, allocations: 31.52 kB / 0.5445 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000573/0.3683, allocations: 352.2 kB / 0.5448 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002589/0.3709, allocations: 1.658 MB / 0.5464 GB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003691/0.3713, allocations: 226.6 kB / 0.5466 GB, free: 11.67 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.3715, allocations: 144.8 kB / 0.5468 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.3716, allocations: 6.312 kB / 0.5468 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.31e-05/0.3716, allocations: 41.53 kB / 0.5468 GB, free: 11.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.533e-06/0.3716, allocations: 4 kB / 0.5468 GB, free: 11.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.002078/0.3737, allocations: 1.047 MB / 0.5478 GB, free: 10.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.3737, allocations: 84.95 kB / 0.5479 GB, free: 10.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000371/0.3741, allocations: 334.7 kB / 0.5482 GB, free: 10.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.3741, allocations: 32.02 kB / 0.5483 GB, free: 10.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.3743, allocations: 253.6 kB / 0.5485 GB, free: 10.28 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.836e-05/0.3744, allocations: 99.72 kB / 0.5486 GB, free: 10.19 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.3746, allocations: 75.83 kB / 0.5487 GB, free: 10.14 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3747, allocations: 348.2 kB / 0.549 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.375, allocations: 140.5 kB / 0.5492 GB, free: 9.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003137/0.3753, allocations: 248.4 kB / 0.5494 GB, free: 9.531 MB / 398.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.00264/0.3779, allocations: 0.9661 MB / 0.5503 GB, free: 8.984 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3779, allocations: 1.469 kB / 0.5503 GB, free: 8.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001419/0.3793, allocations: 0.6483 MB / 0.551 GB, free: 8.605 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3794, allocations: 10.31 kB / 0.551 GB, free: 8.602 MB / 398.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 <failed> postOpt simplifyComplexFunction (initialization): time 0.0002971/0.3797, allocations: 156 kB / 0.5511 GB, free: 8.527 MB / 398.1 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.9898430928587914] Failed to read output from testmodel.py, exit status != 0: 0.3881020890548825 0.40266334 0.035979500000000005 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f965ed457b0>