Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.00147/0.00147, 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.001496/0.001496, 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.514/1.514, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] 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.1823/0.1823, allocations: 38.53 MB / 346.3 MB, free: 2.18 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/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.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 67.89 kB / 484.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4041, allocations: 61.29 MB / 0.533 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.00719/0.4113, allocations: 5.678 MB / 0.5386 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00237/0.4137, allocations: 1.38 MB / 0.5399 GB, free: 348 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003268/0.414, allocations: 31.75 kB / 0.54 GB, free: 328 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004707/0.4145, allocations: 144.4 kB / 0.5401 GB, free: 212 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008991/0.4154, allocations: 384.1 kB / 0.5405 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.4158, allocations: 157.5 kB / 0.5406 GB, free: 15.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008729/0.4166, allocations: 0.7821 MB / 0.5414 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002782/0.4169, allocations: 140.6 kB / 0.5415 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005367/0.4175, allocations: 351.4 kB / 0.5418 GB, free: 15.06 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006603/0.4181, allocations: 424.2 kB / 0.5422 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.531e-05/0.4182, allocations: 43.56 kB / 0.5423 GB, free: 14.81 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.91e-05/0.4183, allocations: 39.72 kB / 0.5423 GB, free: 14.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002375/0.4185, allocations: 207 kB / 0.5425 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003227/0.4188, allocations: 283.9 kB / 0.5428 GB, free: 14.49 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007444/0.4196, allocations: 0.5775 MB / 0.5434 GB, free: 14.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4196, allocations: 1.25 kB / 0.5434 GB, free: 14.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4196, allocations: 0 / 0.5434 GB, free: 14.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.4196, allocations: 0 / 0.5434 GB, free: 14.1 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001716/0.4213, allocations: 0.8289 MB / 0.5442 GB, free: 13.44 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.4214, allocations: 9.75 kB / 0.5442 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001906/0.4216, allocations: 65.42 kB / 0.5442 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.4227, allocations: 457.8 kB / 0.5447 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.99e-05/0.4228, allocations: 34.53 kB / 0.5447 GB, free: 13.03 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-05/0.4229, allocations: 42.83 kB / 0.5447 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009261/0.4238, allocations: 0.5338 MB / 0.5453 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.4238, allocations: 5.203 kB / 0.5453 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.657e-05/0.4238, allocations: 17.59 kB / 0.5453 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.953e-05/0.4239, allocations: 20.98 kB / 0.5453 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006897/0.4246, allocations: 388.5 kB / 0.5457 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002946/0.4275, allocations: 1.882 MB / 0.5475 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005942/0.4281, allocations: 315.7 kB / 0.5478 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003267/0.4284, allocations: 160.5 kB / 0.548 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.4285, allocations: 3.5 kB / 0.548 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004452/0.4289, allocations: 289.7 kB / 0.5483 GB, free: 10.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.964e-06/0.4289, allocations: 0 / 0.5483 GB, free: 10.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.00207/0.431, allocations: 1.124 MB / 0.5494 GB, free: 9.633 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.4311, allocations: 168.9 kB / 0.5495 GB, free: 9.438 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005118/0.4316, allocations: 402.5 kB / 0.5499 GB, free: 9.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.782e-05/0.4317, allocations: 39.83 kB / 0.5499 GB, free: 9.137 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002508/0.4319, allocations: 291.6 kB / 0.5502 GB, free: 8.879 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.432, allocations: 128.1 kB / 0.5503 GB, free: 8.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.4322, allocations: 94.16 kB / 0.5504 GB, free: 8.707 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.4324, allocations: 354.6 kB / 0.5508 GB, free: 8.363 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.4326, allocations: 121.9 kB / 0.5509 GB, free: 8.309 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003638/0.433, allocations: 296.9 kB / 0.5512 GB, free: 8.027 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006232/0.4336, allocations: 484.1 kB / 0.5516 GB, free: 7.617 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.4336, allocations: 1.062 kB / 0.5516 GB, free: 7.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008646/0.4344, allocations: 0.5191 MB / 0.5521 GB, free: 7.328 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.496e-05/0.4345, allocations: 37.38 kB / 0.5522 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.4345, allocations: 6.125 kB / 0.5522 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.4345, allocations: 7.375 kB / 0.5522 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004565/0.435, allocations: 108.9 kB / 0.5523 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-05/0.435, allocations: 12.61 kB / 0.5523 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002953/0.4353, allocations: 19.12 kB / 0.5523 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.139e-05/0.4354, allocations: 35.31 kB / 0.5523 GB, free: 7.242 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003962/0.4357, allocations: 246.6 kB / 0.5526 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.172e-05/0.4358, allocations: 54.14 kB / 0.5526 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008069/0.4366, allocations: 461 kB / 0.5531 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/0.4366, allocations: 8.328 kB / 0.5531 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.4366, allocations: 1.312 kB / 0.5531 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.4366, allocations: 0 / 0.5531 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.4382, allocations: 0.9501 MB / 0.554 GB, free: 6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4382, allocations: 0 / 0.554 GB, free: 6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003408/0.4385, allocations: 63.91 kB / 0.5541 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/0.4385, allocations: 4 kB / 0.5541 GB, free: 5.934 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.942e-05/0.4386, allocations: 8 kB / 0.5541 GB, free: 5.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.818e-06/0.4386, allocations: 11.97 kB / 0.5541 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.4386, allocations: 3.938 kB / 0.5541 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.4396, allocations: 0.7118 MB / 0.5548 GB, free: 5.168 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/0.4397, allocations: 63.64 kB / 0.5549 GB, free: 5.105 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.403e-05/0.4398, allocations: 8 kB / 0.5549 GB, free: 5.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.44, allocations: 15.98 kB / 0.5549 GB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.987e-05/0.4401, allocations: 35.95 kB / 0.5549 GB, free: 5.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.595e-05/0.4402, allocations: 31.91 kB / 0.5549 GB, free: 5.016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003112/0.4405, allocations: 271.1 kB / 0.5552 GB, free: 4.754 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4405, allocations: 4 kB / 0.5552 GB, free: 4.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005022/0.441, allocations: 100 kB / 0.5553 GB, free: 4.652 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001471/0.4411, allocations: 107.2 kB / 0.5554 GB, free: 4.539 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000649/0.4418, allocations: 387.1 kB / 0.5558 GB, free: 4.148 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4418, allocations: 3.938 kB / 0.5558 GB, free: 4.145 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00032/0.4421, allocations: 227.1 kB / 0.556 GB, free: 3.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006893/0.4428, allocations: 108.7 kB / 0.5561 GB, free: 3.809 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.4446, allocations: 0.996 MB / 0.5571 GB, free: 2.773 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005831/0.4452, allocations: 0.8858 MB / 0.5579 GB, free: 1.863 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002685/0.4455, allocations: 92.31 kB / 0.558 GB, free: 1.773 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.736e-05/0.4455, allocations: 39.42 kB / 0.5581 GB, free: 1.734 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4455, allocations: 0 / 0.5581 GB, free: 1.734 MB / 398.1 MB Notification: Performance of Templates: time 0.01078/0.4563, allocations: 4.635 MB / 0.5626 GB, free: 13.14 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.323571050539613] Failed to read output from testmodel.py, exit status != 0: 0.4658621484413743 0.48195656400000003 0.058533604 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f99d50297b0>