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.001391/0.001391, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.00163/0.00163, allocations: 161 kB / 24.56 MB, free: 16 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 0.9881/0.9881, allocations: 177.1 MB / 205 MB, free: 5.633 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.2212/0.2212, allocations: 29.41 MB / 290.9 MB, free: 2.473 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.964e-06/1.964e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.339e-05, allocations: 2.312 kB / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.007222/0.007245, allocations: 5.939 MB / 375.6 MB, free: 5.031 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002712/0.009957, allocations: 1.714 MB / 377.3 MB, free: 3.312 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003225/0.01028, allocations: 39.62 kB / 377.3 MB, free: 3.273 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006489/0.01093, allocations: 214.5 kB / 377.5 MB, free: 3.062 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007555/0.01168, allocations: 0.5905 MB / 378.1 MB, free: 2.469 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.01209, allocations: 219.6 kB / 378.3 MB, free: 2.254 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009756/0.01306, allocations: 1.288 MB / 379.6 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003038/0.01336, allocations: 215 kB / 379.8 MB, free: 0.75 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008059/0.01417, allocations: 0.7168 MB / 380.6 MB, free: 32 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005908/0.01476, allocations: 0.6194 MB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.799e-05/0.01484, allocations: 64 kB / 381.2 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.322e-05/0.01493, allocations: 64 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002095/0.01514, allocations: 359 kB / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000225/0.01537, allocations: 303.2 kB / 381.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005564/0.01592, allocations: 0.6578 MB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.01593, allocations: 0 / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.01593, allocations: 0 / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.01593, allocations: 11.88 kB / 382.6 MB, free: 13.96 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.00119/0.01712, allocations: 1.276 MB / 383.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.01716, allocations: 11.98 kB / 383.9 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.0173, allocations: 152.3 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007096/0.01801, allocations: 0.6532 MB / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/0.01804, allocations: 49.69 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.679e-05/0.01811, allocations: 64.36 kB / 384.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007449/0.01885, allocations: 0.6573 MB / 385.5 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.01886, allocations: 7.984 kB / 385.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.804e-05/0.0189, allocations: 27.98 kB / 385.5 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.801e-05/0.01894, allocations: 33.31 kB / 385.5 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004277/0.01937, allocations: 374.8 kB / 385.9 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.02128, allocations: 2.499 MB / 388.4 MB, free: 7.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005229/0.0218, allocations: 495.1 kB / 388.9 MB, free: 7.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003171/0.02212, allocations: 304.1 kB / 389.2 MB, free: 7.094 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.02215, allocations: 16.44 kB / 389.2 MB, free: 7.078 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003819/0.02253, allocations: 482.9 kB / 389.7 MB, free: 6.551 MB / 362.7 MB Notification: Performance of pre-optimization done (n=63): time 3.446e-06/0.02253, allocations: 3.984 kB / 389.7 MB, free: 6.547 MB / 362.7 MB Notification: Performance of matching and sorting (n=64): time 0.001583/0.02411, allocations: 1.717 MB / 391.4 MB, free: 4.734 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.899e-05/0.02419, allocations: 255.8 kB / 391.6 MB, free: 4.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000373/0.02457, allocations: 0.5688 MB / 392.2 MB, free: 3.848 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.02459, allocations: 37.7 kB / 392.2 MB, free: 3.805 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/0.0248, allocations: 471 kB / 392.7 MB, free: 3.336 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.0249, allocations: 210.3 kB / 392.9 MB, free: 3.129 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.02502, allocations: 156.2 kB / 393.1 MB, free: 2.969 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.02517, allocations: 0.5703 MB / 393.6 MB, free: 2.387 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.02534, allocations: 165.3 kB / 393.8 MB, free: 2.215 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/0.02564, allocations: 0.4919 MB / 394.3 MB, free: 1.574 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004952/0.02613, allocations: 0.6859 MB / 395 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.02613, allocations: 4 kB / 395 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0008363/0.02697, allocations: 0.8349 MB / 395.8 MB, free: 15.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.866e-05/0.02701, allocations: 71.58 kB / 395.9 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.02702, allocations: 4 kB / 395.9 MB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002452/0.02726, allocations: 107.3 kB / 396 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003676/0.02763, allocations: 159.7 kB / 396.1 MB, free: 15.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001991/0.02962, allocations: 4.244 MB / 400.4 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.02981, allocations: 31.98 kB / 400.4 MB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.015e-05/0.02986, allocations: 55.95 kB / 400.5 MB, free: 10.92 MB / 378.7 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.0001729/0.03003, allocations: 281.6 kB / 400.8 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.513e-05/0.03011, allocations: 107.5 kB / 400.9 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006188/0.03072, allocations: 0.7051 MB / 401.6 MB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.03073, allocations: 7.984 kB / 401.6 MB, free: 9.766 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.03073, allocations: 4.219 kB / 401.6 MB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.03074, allocations: 8 kB / 401.6 MB, free: 9.754 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.03193, allocations: 1.364 MB / 402.9 MB, free: 8.316 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.03193, allocations: 0 / 402.9 MB, free: 8.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.03218, allocations: 111.9 kB / 403.1 MB, free: 8.207 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.03218, allocations: 0 / 403.1 MB, free: 8.207 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.03221, allocations: 24.09 kB / 403.1 MB, free: 8.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.03221, allocations: 7.984 kB / 403.1 MB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.03221, allocations: 0 / 403.1 MB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000982/0.03319, allocations: 1.144 MB / 404.2 MB, free: 6.953 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.03332, allocations: 103.5 kB / 404.3 MB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.03336, allocations: 16 kB / 404.3 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.0335, allocations: 27.98 kB / 404.4 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/0.03356, allocations: 40.42 kB / 404.4 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.414e-05/0.03362, allocations: 63.86 kB / 404.5 MB, free: 6.707 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002227/0.03384, allocations: 354.7 kB / 404.8 MB, free: 6.363 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03384, allocations: 0 / 404.8 MB, free: 6.363 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000396/0.03423, allocations: 180 kB / 405 MB, free: 6.188 MB / 378.7 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 9.837e-05/0.03433, allocations: 120.1 kB / 405.1 MB, free: 6.059 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008163/0.03515, allocations: 1.068 MB / 406.2 MB, free: 4.898 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.03515, allocations: 0 / 406.2 MB, free: 4.898 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002786/0.03543, allocations: 419.2 kB / 406.6 MB, free: 4.453 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.0359, allocations: 166.7 kB / 406.8 MB, free: 4.297 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.03765, allocations: 1.45 MB / 408.2 MB, free: 2.773 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.03779, allocations: 211.4 kB / 408.4 MB, free: 2.547 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002265/0.03802, allocations: 129.7 kB / 408.5 MB, free: 2.418 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.85e-05/0.0381, allocations: 52.5 kB / 408.6 MB, free: 2.367 MB / 378.7 MB Notification: Performance of SimCode: time 8.32e-07/0.0381, allocations: 0 / 408.6 MB, free: 2.367 MB / 378.7 MB Notification: Performance of Templates: time 0.01013/0.04824, allocations: 7.631 MB / 416.2 MB, free: 10.87 MB / 394.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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3000065530650318]