Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.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.0008917/0.0008917, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009205/0.0009205, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.109 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.2767/0.2767, allocations: 29.41 MB / 291.2 MB, free: 2.441 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.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.956e-05, allocations: 7.672 kB / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.01892/0.01895, allocations: 5.936 MB / 322.8 MB, free: 10.01 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004058/0.02301, allocations: 1.76 MB / 324.6 MB, free: 8.246 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006477/0.02365, allocations: 43.62 kB / 324.6 MB, free: 8.203 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.02473, allocations: 210.5 kB / 324.8 MB, free: 7.996 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.02636, allocations: 0.5905 MB / 325.4 MB, free: 7.402 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005965/0.02696, allocations: 211.6 kB / 325.6 MB, free: 7.195 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00169/0.02864, allocations: 1.3 MB / 326.9 MB, free: 5.891 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004427/0.02909, allocations: 217 kB / 327.1 MB, free: 5.672 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001944/0.03103, allocations: 0.8884 MB / 328 MB, free: 4.781 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/0.0321, allocations: 470.6 kB / 328.5 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002459/0.03235, allocations: 56 kB / 328.5 MB, free: 4.266 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002535/0.0326, allocations: 60 kB / 328.6 MB, free: 4.207 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004339/0.03304, allocations: 363 kB / 328.9 MB, free: 3.852 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003405/0.03338, allocations: 283.2 kB / 329.2 MB, free: 3.574 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007815/0.03416, allocations: 0.6265 MB / 329.8 MB, free: 2.945 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.03417, allocations: 3.984 kB / 329.9 MB, free: 2.941 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.03417, allocations: 0 / 329.9 MB, free: 2.941 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.03418, allocations: 0 / 329.9 MB, free: 2.941 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001176/0.03536, allocations: 1.085 MB / 330.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.03539, allocations: 11.98 kB / 330.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.03552, allocations: 112.8 kB / 331.1 MB, free: 1.695 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006455/0.03617, allocations: 0.5633 MB / 331.6 MB, free: 1.105 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.477e-05/0.0362, allocations: 49.69 kB / 331.7 MB, free: 1.059 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.225e-05/0.03627, allocations: 64.38 kB / 331.7 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008338/0.03711, allocations: 0.597 MB / 332.3 MB, free: 356 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.03712, allocations: 7.938 kB / 332.3 MB, free: 348 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.5e-05/0.03716, allocations: 24 kB / 332.4 MB, free: 324 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-05/0.0372, allocations: 37.3 kB / 332.4 MB, free: 284 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002649/0.03747, allocations: 268.3 kB / 332.7 MB, free: 4 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/0.03943, allocations: 1.777 MB / 334.4 MB, free: 14.17 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004207/0.03985, allocations: 413 kB / 334.8 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.04009, allocations: 238.6 kB / 335.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.04011, allocations: 8.5 kB / 335.1 MB, free: 13.47 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000327/0.04044, allocations: 451.5 kB / 335.5 MB, free: 12.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=63): time 1.693e-06/0.04044, allocations: 4 kB / 335.5 MB, free: 12.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=63): time 0.001054/0.0415, allocations: 0.8451 MB / 336.4 MB, free: 12.07 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.0416, allocations: 251.8 kB / 336.6 MB, free: 11.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003568/0.04195, allocations: 490.9 kB / 337.1 MB, free: 11.28 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.04198, allocations: 37.7 kB / 337.1 MB, free: 11.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.04217, allocations: 337.5 kB / 337.5 MB, free: 10.9 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/0.0424, allocations: 210.2 kB / 337.7 MB, free: 10.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.04254, allocations: 146.5 kB / 337.8 MB, free: 10.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.04266, allocations: 386.6 kB / 338.2 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.04279, allocations: 140.3 kB / 338.3 MB, free: 10.01 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.04301, allocations: 368.3 kB / 338.7 MB, free: 9.543 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006662/0.04368, allocations: 0.5473 MB / 339.2 MB, free: 8.875 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.04368, allocations: 7.938 kB / 339.2 MB, free: 8.867 MB / 314.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.0006876/0.04437, allocations: 0.6127 MB / 339.9 MB, free: 8.211 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.617e-05/0.04442, allocations: 63.44 kB / 339.9 MB, free: 8.137 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.04443, allocations: 11.94 kB / 339.9 MB, free: 8.125 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003857/0.04481, allocations: 103.4 kB / 340 MB, free: 8.016 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002977/0.04511, allocations: 159.7 kB / 340.2 MB, free: 7.859 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/0.04704, allocations: 3.02 MB / 343.2 MB, free: 4.648 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002924/0.04734, allocations: 75.5 kB / 343.3 MB, free: 4.574 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.157e-05/0.0474, allocations: 47.91 kB / 343.3 MB, free: 4.527 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 21 (system.initime,tapRelay1.cnt_2,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_1,$whenCondition4,$whenCondition3,tapRelay2.cnt_2,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_1,$whenCondition2,$whenCondition1,tapRelay1.tap_2,$PRE.tapRelay1.tap_2,tapRelay1.tap_1,$PRE.tapRelay1.tap_1,tapRelay2.tap_2,$PRE.tapRelay2.tap_2,tapRelay2.tap_1,$PRE.tapRelay2.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002487/0.04765, allocations: 237.8 kB / 343.6 MB, free: 4.273 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.915e-05/0.04771, allocations: 67.88 kB / 343.6 MB, free: 4.207 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003937/0.04811, allocations: 494.5 kB / 344.1 MB, free: 3.691 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.04811, allocations: 8 kB / 344.1 MB, free: 3.684 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.04812, allocations: 0 / 344.1 MB, free: 3.684 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.04812, allocations: 3.984 kB / 344.1 MB, free: 3.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009255/0.04905, allocations: 0.947 MB / 345.1 MB, free: 2.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.04905, allocations: 0 / 345.1 MB, free: 2.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002752/0.04932, allocations: 111.9 kB / 345.2 MB, free: 2.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.04933, allocations: 7.984 kB / 345.2 MB, free: 2.562 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.04936, allocations: 16 kB / 345.2 MB, free: 2.547 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.04936, allocations: 0 / 345.2 MB, free: 2.547 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.04936, allocations: 11.92 kB / 345.2 MB, free: 2.535 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009066/0.05027, allocations: 0.7915 MB / 346 MB, free: 1.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.05041, allocations: 91.38 kB / 346.1 MB, free: 1.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.781e-05/0.05046, allocations: 16.06 kB / 346.1 MB, free: 1.574 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.0506, allocations: 23.98 kB / 346.1 MB, free: 1.551 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.889e-05/0.05067, allocations: 48.41 kB / 346.2 MB, free: 1.504 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.176e-05/0.05073, allocations: 51.92 kB / 346.2 MB, free: 1.453 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001546/0.05088, allocations: 212.3 kB / 346.4 MB, free: 1.246 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05088, allocations: 0 / 346.4 MB, free: 1.246 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000514/0.0514, allocations: 207.7 kB / 346.6 MB, free: 1.043 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (trafo1.i1,trafo2.i1) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tapRelay2.tap_1,tapRelay2.tap_2,tapRelay2.cnt_1,tapRelay2.cnt_2,tapRelay1.tap_1,tapRelay1.tap_2,tapRelay1.cnt_1,tapRelay1.cnt_2,system.initime) * Number of discrete states: 12 (tapRelay1.tap_2,tapRelay1.cnt_2,$whenCondition4,tapRelay1.tap_1,tapRelay1.cnt_1,$whenCondition3,tapRelay2.tap_2,tapRelay2.cnt_2,$whenCondition2,tapRelay2.tap_1,tapRelay2.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0001439/0.05154, allocations: 101 kB / 346.7 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008746/0.05241, allocations: 0.8676 MB / 347.6 MB, free: 15.99 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.288e-05/0.05243, allocations: 9.188 kB / 347.6 MB, free: 15.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002579/0.05269, allocations: 371 kB / 348 MB, free: 15.58 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004601/0.05315, allocations: 156.5 kB / 348.1 MB, free: 15.44 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.05508, allocations: 1.391 MB / 349.5 MB, free: 13.99 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/0.05522, allocations: 203.4 kB / 349.7 MB, free: 13.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002197/0.05544, allocations: 93.69 kB / 349.8 MB, free: 13.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002856/0.05572, allocations: 213.3 kB / 350 MB, free: 13.46 MB / 330.7 MB Notification: Performance of SimCode: time 1.383e-06/0.05573, allocations: 0 / 350 MB, free: 13.46 MB / 330.7 MB Notification: Performance of Templates: time 0.01128/0.06701, allocations: 8.224 MB / 358.2 MB, free: 5.426 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.10828759893775]