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.001468/0.001468, allocations: 92.38 kB / 20.95 MB, free: 464 kB / 14.72 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.001467/0.001467, allocations: 155.2 kB / 24.25 MB, free: 3.484 MB / 14.72 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.52/1.52, allocations: 177.1 MB / 204.6 MB, free: 9.07 MB / 190.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.1819/0.1819, allocations: 29.43 MB / 290.5 MB, free: 3.129 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.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.903e-06/1.903e-06, allocations: 0 / 368.9 MB, free: 132 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.141e-05/3.331e-05, allocations: 5.688 kB / 368.9 MB, free: 128 kB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.008975/0.009009, allocations: 6.878 MB / 375.7 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003361/0.01237, allocations: 1.667 MB / 377.4 MB, free: 7.539 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004578/0.01283, allocations: 43.62 kB / 377.5 MB, free: 7.496 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007065/0.01353, allocations: 218.3 kB / 377.7 MB, free: 7.281 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001521/0.01505, allocations: 0.5983 MB / 378.3 MB, free: 6.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005187/0.01557, allocations: 219.5 kB / 378.5 MB, free: 6.465 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001569/0.01714, allocations: 1.292 MB / 379.8 MB, free: 5.168 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003746/0.01752, allocations: 215 kB / 380 MB, free: 4.953 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.01868, allocations: 0.7515 MB / 380.7 MB, free: 4.199 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.01978, allocations: 0.6116 MB / 381.3 MB, free: 3.586 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000135/0.01992, allocations: 60 kB / 381.4 MB, free: 3.527 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.02014, allocations: 64 kB / 381.5 MB, free: 3.465 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004326/0.02057, allocations: 359 kB / 381.8 MB, free: 3.109 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004563/0.02103, allocations: 291.3 kB / 382.1 MB, free: 2.824 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.02234, allocations: 0.9228 MB / 383 MB, free: 1.898 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.02235, allocations: 0 / 383 MB, free: 1.898 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.02235, allocations: 0 / 383 MB, free: 1.898 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.669e-05/0.02236, allocations: 4 kB / 383 MB, free: 1.895 MB / 302.1 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.0024/0.02476, allocations: 1.164 MB / 384.2 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.02481, allocations: 11.98 kB / 384.2 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002696/0.02508, allocations: 152.3 kB / 384.4 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.0264, allocations: 0.6701 MB / 385 MB, free: 15.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.077e-05/0.02645, allocations: 45.67 kB / 385.1 MB, free: 15.78 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.02657, allocations: 64.38 kB / 385.1 MB, free: 15.72 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.028, allocations: 0.8717 MB / 386 MB, free: 14.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.02802, allocations: 7.938 kB / 386 MB, free: 14.79 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.546e-05/0.02808, allocations: 24 kB / 386 MB, free: 14.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.333e-05/0.02815, allocations: 37.3 kB / 386.1 MB, free: 14.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.02925, allocations: 0.672 MB / 386.7 MB, free: 14.04 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003571/0.03282, allocations: 2.272 MB / 389 MB, free: 11.69 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.03388, allocations: 0.619 MB / 389.6 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006823/0.03456, allocations: 391.2 kB / 390 MB, free: 10.65 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.517e-05/0.0346, allocations: 8.5 kB / 390 MB, free: 10.64 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006805/0.03528, allocations: 0.5425 MB / 390.6 MB, free: 10.05 MB / 318.1 MB Notification: Performance of pre-optimization done (n=63): time 2.104e-06/0.03529, allocations: 0 / 390.6 MB, free: 10.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=64): time 0.003261/0.03855, allocations: 2.072 MB / 392.6 MB, free: 7.879 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001631/0.03871, allocations: 255.9 kB / 392.9 MB, free: 7.574 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006958/0.03941, allocations: 0.5614 MB / 393.4 MB, free: 7.004 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.622e-05/0.03945, allocations: 37.7 kB / 393.5 MB, free: 6.961 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000343/0.0398, allocations: 412.4 kB / 393.9 MB, free: 6.551 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001933/0.03999, allocations: 218.2 kB / 394.1 MB, free: 6.336 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/0.04019, allocations: 138.6 kB / 394.2 MB, free: 6.195 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.04039, allocations: 390.7 kB / 394.6 MB, free: 5.805 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004104/0.0408, allocations: 277.3 kB / 394.9 MB, free: 5.523 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006/0.0414, allocations: 0.5011 MB / 395.4 MB, free: 4.91 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.04243, allocations: 0.7967 MB / 396.2 MB, free: 3.992 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.04244, allocations: 8 kB / 396.2 MB, free: 3.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001734/0.04417, allocations: 1.048 MB / 397.2 MB, free: 2.895 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.782e-05/0.04423, allocations: 60.06 kB / 397.3 MB, free: 2.824 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.04424, allocations: 8 kB / 397.3 MB, free: 2.816 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004049/0.04465, allocations: 113.6 kB / 397.4 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005054/0.04516, allocations: 143.7 kB / 397.6 MB, free: 2.559 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003429/0.04858, allocations: 3.298 MB / 400.9 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004356/0.04902, allocations: 39.94 kB / 400.9 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.959e-05/0.04911, allocations: 55.95 kB / 401 MB, free: 14.96 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (90): * Single equations (assignments): 86 * 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.000461/0.04957, allocations: 354.9 kB / 401.3 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.04971, allocations: 103.5 kB / 401.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/0.05099, allocations: 0.8497 MB / 402.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.051, allocations: 8 kB / 402.3 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.051, allocations: 3.984 kB / 402.3 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.05101, allocations: 7.922 kB / 402.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002326/0.05334, allocations: 1.459 MB / 403.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.05334, allocations: 8.094 kB / 403.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005225/0.05387, allocations: 111.9 kB / 403.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.05387, allocations: 7.938 kB / 403.9 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.544e-05/0.05392, allocations: 19.98 kB / 403.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.05392, allocations: 4 kB / 403.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.05392, allocations: 0 / 403.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/0.05578, allocations: 1.356 MB / 405.2 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002291/0.05601, allocations: 111.4 kB / 405.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.835e-05/0.0561, allocations: 24.06 kB / 405.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000329/0.05643, allocations: 23.98 kB / 405.4 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.05653, allocations: 44.42 kB / 405.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.265e-05/0.05663, allocations: 59.92 kB / 405.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004586/0.05709, allocations: 378.8 kB / 405.9 MB, free: 9.863 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.05709, allocations: 0 / 405.9 MB, free: 9.863 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007305/0.05782, allocations: 176 kB / 406 MB, free: 9.691 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (55): * Single equations (assignments): 52 * 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.0001657/0.05798, allocations: 128.4 kB / 406.2 MB, free: 9.559 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001679/0.05966, allocations: 1.092 MB / 407.2 MB, free: 8.391 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.05966, allocations: 4.25 kB / 407.3 MB, free: 8.387 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000638/0.0603, allocations: 496.8 kB / 407.7 MB, free: 7.863 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00081/0.06111, allocations: 162.8 kB / 407.9 MB, free: 7.715 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002556/0.06367, allocations: 1.588 MB / 409.5 MB, free: 6.066 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004568/0.06412, allocations: 413.1 kB / 409.9 MB, free: 5.637 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003968/0.06452, allocations: 149.7 kB / 410 MB, free: 5.488 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.06465, allocations: 56.48 kB / 410.1 MB, free: 5.434 MB / 334.1 MB Notification: Performance of SimCode: time 8.71e-07/0.06465, allocations: 0 / 410.1 MB, free: 5.434 MB / 334.1 MB Notification: Performance of Templates: time 0.01593/0.08058, allocations: 7.579 MB / 417.7 MB, free: 14.01 MB / 350.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.792823113501072] Failed to read output from testmodel.py, exit status != 0: 0.08892717957496643 0.10498328100000001 0.07958575500000001 Calling exit ...