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.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.00146/0.00146, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.002109/0.002109, allocations: 169.9 kB / 24.91 MB, free: 9.191 MB / 18.57 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 1.046/1.046, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.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.2653/0.2653, allocations: 29.42 MB / 291.2 MB, free: 2.504 MB / 266.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: 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 1.463e-06/1.463e-06, allocations: 3.938 kB / 316.8 MB, free: 36 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.423e-05, allocations: 5.188 kB / 316.8 MB, free: 32 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.004871/0.004896, allocations: 4.841 MB / 321.7 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002261/0.007157, allocations: 1.387 MB / 323.1 MB, free: 9.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003421/0.007499, allocations: 27.75 kB / 323.1 MB, free: 9.742 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004083/0.007907, allocations: 135 kB / 323.2 MB, free: 9.609 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007007/0.008608, allocations: 397.8 kB / 323.6 MB, free: 9.219 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.008917, allocations: 147.7 kB / 323.8 MB, free: 9.074 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006286/0.009545, allocations: 0.798 MB / 324.6 MB, free: 8.273 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002121/0.009758, allocations: 143 kB / 324.7 MB, free: 8.129 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006638/0.01042, allocations: 0.5532 MB / 325.2 MB, free: 7.574 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003444/0.01077, allocations: 299.1 kB / 325.5 MB, free: 7.281 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.012e-05/0.01082, allocations: 36 kB / 325.6 MB, free: 7.246 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.228e-05/0.01088, allocations: 36 kB / 325.6 MB, free: 7.211 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.01103, allocations: 211.4 kB / 325.8 MB, free: 7.004 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.01118, allocations: 183.5 kB / 326 MB, free: 6.824 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004224/0.0116, allocations: 406.4 kB / 326.4 MB, free: 6.426 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.01161, allocations: 0 / 326.4 MB, free: 6.426 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01161, allocations: 0 / 326.4 MB, free: 6.426 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.01161, allocations: 4 kB / 326.4 MB, free: 6.422 MB / 298.7 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.0008302/0.01244, allocations: 0.7675 MB / 327.2 MB, free: 5.621 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.01248, allocations: 11.98 kB / 327.2 MB, free: 5.609 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.259e-05/0.01257, allocations: 76.86 kB / 327.2 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.01302, allocations: 407.5 kB / 327.6 MB, free: 5.109 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.01304, allocations: 37.38 kB / 327.7 MB, free: 5.074 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.24e-05/0.0131, allocations: 36.38 kB / 327.7 MB, free: 5.039 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003822/0.01348, allocations: 416.4 kB / 328.1 MB, free: 4.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.01349, allocations: 0 / 328.1 MB, free: 4.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.01351, allocations: 16 kB / 328.1 MB, free: 4.574 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.926e-05/0.01354, allocations: 21 kB / 328.2 MB, free: 4.555 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002642/0.01381, allocations: 168.5 kB / 328.3 MB, free: 4.383 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.0152, allocations: 1.478 MB / 329.8 MB, free: 2.832 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.01548, allocations: 229.5 kB / 330 MB, free: 2.582 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.01561, allocations: 119.3 kB / 330.1 MB, free: 2.457 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.01563, allocations: 4 kB / 330.1 MB, free: 2.453 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002409/0.01588, allocations: 262 kB / 330.4 MB, free: 2.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 2.054e-06/0.01588, allocations: 0 / 330.4 MB, free: 2.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.0005731/0.01645, allocations: 492.3 kB / 330.9 MB, free: 1.648 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.452e-05/0.01652, allocations: 170.2 kB / 331.1 MB, free: 1.445 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.01673, allocations: 355.1 kB / 331.4 MB, free: 1.082 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.01675, allocations: 33.7 kB / 331.4 MB, free: 1.043 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.01688, allocations: 253.1 kB / 331.7 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.687e-05/0.01694, allocations: 123 kB / 331.8 MB, free: 0.668 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.55e-05/0.01703, allocations: 94.09 kB / 331.9 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.01713, allocations: 362.7 kB / 332.2 MB, free: 212 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.311e-05/0.01721, allocations: 73.5 kB / 332.3 MB, free: 132 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.01736, allocations: 242.3 kB / 332.6 MB, free: 15.81 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/0.01761, allocations: 353.1 kB / 332.9 MB, free: 15.38 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.01761, allocations: 4 kB / 332.9 MB, free: 15.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0002968/0.01791, allocations: 339.2 kB / 333.2 MB, free: 15.03 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/0.01794, allocations: 34.36 kB / 333.3 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.01795, allocations: 8 kB / 333.3 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.01798, allocations: 12 kB / 333.3 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.0182, allocations: 103.8 kB / 333.4 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.01821, allocations: 19.86 kB / 333.4 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.01837, allocations: 47.67 kB / 333.5 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.535e-05/0.01841, allocations: 27.98 kB / 333.5 MB, free: 14.77 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (59): * Single equations (assignments): 58 * 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.000144/0.01856, allocations: 174.8 kB / 333.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.23e-05/0.0186, allocations: 43.95 kB / 333.7 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/0.01887, allocations: 293.7 kB / 334 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.01888, allocations: 8 kB / 334 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.01888, allocations: 7.938 kB / 334 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.01889, allocations: 0 / 334 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006328/0.01952, allocations: 0.5748 MB / 334.6 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.01952, allocations: 4.062 kB / 334.6 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.01969, allocations: 55.91 kB / 334.6 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.01969, allocations: 4 kB / 334.6 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.01971, allocations: 15.98 kB / 334.6 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.01972, allocations: 7.969 kB / 334.7 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.01972, allocations: 4 kB / 334.7 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004269/0.02015, allocations: 493.7 kB / 335.1 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.277e-05/0.02023, allocations: 51.59 kB / 335.2 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/0.02026, allocations: 12 kB / 335.2 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.02037, allocations: 11.94 kB / 335.2 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.028e-05/0.02043, allocations: 27.89 kB / 335.2 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.151e-05/0.02047, allocations: 31.95 kB / 335.3 MB, free: 12.86 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001085/0.02058, allocations: 136.7 kB / 335.4 MB, free: 12.72 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.02058, allocations: 0 / 335.4 MB, free: 12.72 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003212/0.0209, allocations: 123.8 kB / 335.5 MB, free: 12.6 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 30 * 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.0001409/0.02104, allocations: 97.8 kB / 335.6 MB, free: 12.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003391/0.02138, allocations: 329.3 kB / 335.9 MB, free: 12.15 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/0.02139, allocations: 8 kB / 336 MB, free: 12.14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.02154, allocations: 198.3 kB / 336.1 MB, free: 11.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.02191, allocations: 103.1 kB / 336.2 MB, free: 11.83 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.02339, allocations: 0.9214 MB / 337.2 MB, free: 10.87 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.02349, allocations: 141.7 kB / 337.3 MB, free: 10.71 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001579/0.02364, allocations: 60.23 kB / 337.4 MB, free: 10.64 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002025/0.02385, allocations: 151.3 kB / 337.5 MB, free: 10.5 MB / 314.7 MB Notification: Performance of SimCode: time 8.51e-07/0.02385, allocations: 0 / 337.5 MB, free: 10.5 MB / 314.7 MB Notification: Performance of Templates: time 0.008035/0.03188, allocations: 4.71 MB / 342.2 MB, free: 5.906 MB / 314.7 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1807028809562325]