Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.001522/0.001522, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001763/0.001763, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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.49/1.49, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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.3304/0.3304, allocations: 29.42 MB / 290.5 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.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.605e-05/2.783e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01212/0.01215, allocations: 8.439 MB / 377.3 MB, free: 2.84 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007021/0.01917, allocations: 3.209 MB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009431/0.02011, allocations: 51.56 kB / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003305/0.02342, allocations: 1.015 MB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002951/0.02637, allocations: 1.147 MB / 382.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002319/0.02869, allocations: 0.7323 MB / 383.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003439/0.03213, allocations: 2.413 MB / 385.9 MB, free: 10.25 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/0.03339, allocations: 0.6586 MB / 386.5 MB, free: 9.566 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002545/0.03593, allocations: 1.324 MB / 387.9 MB, free: 8.238 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002117/0.03805, allocations: 1.356 MB / 389.2 MB, free: 6.879 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002232/0.03827, allocations: 132 kB / 389.3 MB, free: 6.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.03952, allocations: 0.616 MB / 390 MB, free: 6.133 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001089/0.04061, allocations: 0.9937 MB / 391 MB, free: 5.137 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008624/0.04147, allocations: 0.6196 MB / 391.6 MB, free: 4.516 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003051/0.04452, allocations: 2.43 MB / 394 MB, free: 2.078 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.04453, allocations: 0 / 394 MB, free: 2.078 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.04453, allocations: 0 / 394 MB, free: 2.078 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.092e-05/0.04455, allocations: 0 / 394 MB, free: 2.078 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.003774/0.04833, allocations: 1.976 MB / 396 MB, free: 48 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.153e-05/0.04839, allocations: 11.98 kB / 396 MB, free: 36 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002812/0.0512, allocations: 0.6318 MB / 396.6 MB, free: 15.4 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00213/0.05333, allocations: 1.042 MB / 397.7 MB, free: 14.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.05344, allocations: 107.1 kB / 397.8 MB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000367/0.05381, allocations: 156.8 kB / 397.9 MB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003952/0.05776, allocations: 2.39 MB / 400.3 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.032e-05/0.05781, allocations: 11.89 kB / 400.3 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001608/0.05797, allocations: 59.98 kB / 400.4 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005676/0.05854, allocations: 222.8 kB / 400.6 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003381/0.06192, allocations: 1.896 MB / 402.5 MB, free: 9.312 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01216/0.07408, allocations: 8.241 MB / 410.7 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002455/0.07654, allocations: 1.356 MB / 412.1 MB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009855/0.07752, allocations: 0.6053 MB / 412.7 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.81e-05/0.0776, allocations: 21 kB / 412.7 MB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00141/0.07901, allocations: 0.9264 MB / 413.6 MB, free: 13.73 MB / 394.7 MB Notification: Performance of pre-optimization done (n=130): time 3.166e-06/0.07901, allocations: 0 / 413.6 MB, free: 13.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=131): time 0.007188/0.0862, allocations: 4.164 MB / 417.8 MB, free: 9.473 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002327/0.08643, allocations: 290.3 kB / 418.1 MB, free: 9.129 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.08778, allocations: 0.929 MB / 419 MB, free: 8.176 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.974e-05/0.08787, allocations: 53.7 kB / 419.1 MB, free: 8.117 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008123/0.08868, allocations: 0.7926 MB / 419.9 MB, free: 7.312 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000471/0.08915, allocations: 464.1 kB / 420.3 MB, free: 6.855 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005064/0.08966, allocations: 327.7 kB / 420.6 MB, free: 6.527 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002418/0.0899, allocations: 357.9 kB / 421 MB, free: 6.172 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/0.09097, allocations: 0.628 MB / 421.6 MB, free: 5.531 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001707/0.09268, allocations: 1.229 MB / 422.8 MB, free: 4.027 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002969/0.09565, allocations: 2.001 MB / 424.9 MB, free: 1.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.306e-05/0.09566, allocations: 8 kB / 424.9 MB, free: 1.723 MB / 394.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.005272/0.1009, allocations: 2.622 MB / 427.5 MB, free: 15.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.007e-05/0.101, allocations: 63.41 kB / 427.5 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00328/0.1043, allocations: 1.551 MB / 429.1 MB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002251/0.1065, allocations: 0.6429 MB / 429.7 MB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.1077, allocations: 319.5 kB / 430 MB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01231/0.12, allocations: 8.934 MB / 439 MB, free: 3.117 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.121, allocations: 71.97 kB / 439.1 MB, free: 3.047 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000177/0.1212, allocations: 95.97 kB / 439.1 MB, free: 2.953 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (175): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (2,11,100.0%), (2,12,100.0%), (2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000997/0.1222, allocations: 0.5922 MB / 439.7 MB, free: 2.336 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003096/0.1225, allocations: 187.2 kB / 439.9 MB, free: 2.152 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002855/0.1254, allocations: 1.604 MB / 441.5 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-05/0.1254, allocations: 12 kB / 441.5 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/0.1254, allocations: 4 kB / 441.5 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.1254, allocations: 3.984 kB / 441.5 MB, free: 500 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1507/0.2761, allocations: 2.807 MB / 444.4 MB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.2762, allocations: 8.328 kB / 444.4 MB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/0.2774, allocations: 299.2 kB / 444.7 MB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.159e-05/0.2774, allocations: 6.125 kB / 444.7 MB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.78e-05/0.2775, allocations: 37.08 kB / 444.7 MB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.766e-06/0.2775, allocations: 10.09 kB / 444.7 MB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.2775, allocations: 3.094 kB / 444.7 MB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002623/0.2802, allocations: 2.498 MB / 447.2 MB, free: 107.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004878/0.2806, allocations: 214.8 kB / 447.4 MB, free: 107.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.2808, allocations: 31.55 kB / 447.4 MB, free: 107.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005455/0.2813, allocations: 44.77 kB / 447.5 MB, free: 107.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.2815, allocations: 90.73 kB / 447.6 MB, free: 107.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/0.2816, allocations: 79.12 kB / 447.7 MB, free: 107.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005968/0.2822, allocations: 0.5914 MB / 448.2 MB, free: 106.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2822, allocations: 0 / 448.2 MB, free: 106.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001264/0.2834, allocations: 424.3 kB / 448.7 MB, free: 106.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (trafo1.i1[1],trafo1.i1[2],trafo1.i1[3],trafo2.i1[1],trafo2.i1[2],trafo2.i1[3]) * 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 (121): * Single equations (assignments): 118 * 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.0001612/0.2836, allocations: 143.9 kB / 448.8 MB, free: 106.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002668/0.2863, allocations: 2.38 MB / 451.2 MB, free: 105.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2863, allocations: 3.531 kB / 451.2 MB, free: 105.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007963/0.2871, allocations: 0.8417 MB / 452 MB, free: 105.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009826/0.2881, allocations: 242 kB / 452.3 MB, free: 105 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004295/0.2924, allocations: 3.39 MB / 455.7 MB, free: 103.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007586/0.2931, allocations: 0.8717 MB / 456.5 MB, free: 103.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009608/0.2941, allocations: 463.6 kB / 457 MB, free: 103.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002488/0.2943, allocations: 95.11 kB / 457.1 MB, free: 103.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.312e-06/0.2943, allocations: 4 kB / 457.1 MB, free: 103.2 MB / 410.7 MB Notification: Performance of Templates: time 0.02472/0.319, allocations: 15.33 MB / 472.4 MB, free: 101.6 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.529808848979883]