Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001101/0.001101, allocations: 77.88 kB / 21.42 MB, free: 3.051 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.001203/0.001203, allocations: 167.4 kB / 24.82 MB, free: 9.266 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.075/1.075, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2897/0.2897, allocations: 29.43 MB / 291.2 MB, free: 2.461 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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="mat",numberOfIntervals=4000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter12.i|meter12.p|meter12.v|meter22.i|meter22.p|meter22.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter12.i|meter12.p|meter12.v|meter22.i|meter22.p|meter22.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.212e-05/3.425e-05, allocations: 5.547 kB / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.006681/0.006716, allocations: 5.861 MB / 376 MB, free: 4.848 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003675/0.01039, allocations: 1.718 MB / 377.7 MB, free: 3.125 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006516/0.01104, allocations: 39.62 kB / 377.7 MB, free: 3.086 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007101/0.01175, allocations: 210.5 kB / 377.9 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001484/0.01324, allocations: 0.5944 MB / 378.5 MB, free: 2.281 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005921/0.01383, allocations: 219.5 kB / 378.7 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001606/0.01543, allocations: 1.296 MB / 380 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003751/0.01581, allocations: 215 kB / 380.3 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002001/0.01781, allocations: 0.8884 MB / 381.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.01889, allocations: 0.5063 MB / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001594/0.01905, allocations: 56 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000205/0.01925, allocations: 60 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003084/0.01956, allocations: 347 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003435/0.0199, allocations: 283.3 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000884/0.02079, allocations: 0.6227 MB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.02079, allocations: 7.938 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.796e-06/0.0208, allocations: 4 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.216e-05/0.02083, allocations: 0 / 383 MB, free: 13.79 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.00156/0.02239, allocations: 1.233 MB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/0.02245, allocations: 15.98 kB / 384.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001912/0.02264, allocations: 152.3 kB / 384.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.02375, allocations: 0.5896 MB / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.608e-05/0.02379, allocations: 45.69 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.944e-05/0.02386, allocations: 60.38 kB / 385.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006325/0.02449, allocations: 0.6103 MB / 385.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.02451, allocations: 3.938 kB / 385.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.613e-05/0.02454, allocations: 24 kB / 385.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-05/0.02459, allocations: 33.3 kB / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003449/0.02493, allocations: 304.2 kB / 386.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002271/0.0272, allocations: 2.363 MB / 388.4 MB, free: 8.137 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004832/0.02768, allocations: 452.9 kB / 388.9 MB, free: 7.656 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002999/0.02798, allocations: 272.1 kB / 389.1 MB, free: 7.371 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.02801, allocations: 8.5 kB / 389.1 MB, free: 7.363 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003786/0.02839, allocations: 446.9 kB / 389.6 MB, free: 6.871 MB / 362.7 MB Notification: Performance of pre-optimization done (n=63): time 2.745e-06/0.0284, allocations: 4 kB / 389.6 MB, free: 6.867 MB / 362.7 MB Notification: Performance of matching and sorting (n=64): time 0.001544/0.02994, allocations: 1.363 MB / 390.9 MB, free: 5.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.03006, allocations: 251.8 kB / 391.2 MB, free: 5.109 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007909/0.03085, allocations: 0.5685 MB / 391.8 MB, free: 4.523 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.03088, allocations: 41.7 kB / 391.8 MB, free: 4.477 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002499/0.03113, allocations: 467 kB / 392.3 MB, free: 4.012 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.03128, allocations: 226.2 kB / 392.5 MB, free: 3.789 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.03141, allocations: 156.2 kB / 392.6 MB, free: 3.629 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.0316, allocations: 0.5701 MB / 393.2 MB, free: 3.047 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.03173, allocations: 141.3 kB / 393.3 MB, free: 2.898 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002688/0.032, allocations: 475.6 kB / 393.8 MB, free: 2.285 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004609/0.03246, allocations: 0.6467 MB / 394.5 MB, free: 1.477 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.03246, allocations: 8 kB / 394.5 MB, free: 1.469 MB / 362.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0008703/0.03333, allocations: 0.7642 MB / 395.2 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.523e-05/0.03339, allocations: 71.39 kB / 395.3 MB, free: 0.582 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.0334, allocations: 4 kB / 395.3 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002908/0.03369, allocations: 107.9 kB / 395.4 MB, free: 476 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002758/0.03397, allocations: 147.8 kB / 395.5 MB, free: 328 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002925/0.0369, allocations: 4.19 MB / 399.7 MB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002853/0.03718, allocations: 28 kB / 399.8 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-05/0.03725, allocations: 43.97 kB / 399.8 MB, free: 11.83 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.0002756/0.03753, allocations: 289.7 kB / 400.1 MB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.03763, allocations: 99.53 kB / 400.2 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006022/0.03824, allocations: 0.6426 MB / 400.8 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.03824, allocations: 8 kB / 400.8 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.03825, allocations: 3.938 kB / 400.8 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.03825, allocations: 3.984 kB / 400.8 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.03951, allocations: 1.189 MB / 402 MB, free: 9.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.03951, allocations: 0 / 402 MB, free: 9.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002609/0.03977, allocations: 103.9 kB / 402.1 MB, free: 9.379 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.03978, allocations: 11.88 kB / 402.1 MB, free: 9.367 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.0398, allocations: 16 kB / 402.2 MB, free: 9.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.03981, allocations: 4 kB / 402.2 MB, free: 9.348 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.03981, allocations: 3.984 kB / 402.2 MB, free: 9.344 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000825/0.04064, allocations: 1.035 MB / 403.2 MB, free: 8.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.04077, allocations: 111.4 kB / 403.3 MB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.581e-05/0.04082, allocations: 15.94 kB / 403.3 MB, free: 8.105 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.04096, allocations: 16 kB / 403.3 MB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.009e-05/0.04103, allocations: 44.42 kB / 403.4 MB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.408e-05/0.04109, allocations: 59.91 kB / 403.4 MB, free: 7.988 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002061/0.0413, allocations: 330.7 kB / 403.8 MB, free: 7.668 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0413, allocations: 4 kB / 403.8 MB, free: 7.664 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005303/0.04183, allocations: 176 kB / 403.9 MB, free: 7.492 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 0.0001537/0.04198, allocations: 123.2 kB / 404.1 MB, free: 7.363 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008923/0.04287, allocations: 1.002 MB / 405.1 MB, free: 6.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.04288, allocations: 3.938 kB / 405.1 MB, free: 6.266 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006216/0.0435, allocations: 385.8 kB / 405.5 MB, free: 5.852 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005396/0.04404, allocations: 176.8 kB / 405.6 MB, free: 5.688 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.04605, allocations: 1.41 MB / 407 MB, free: 4.203 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001683/0.04622, allocations: 207.4 kB / 407.2 MB, free: 3.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002386/0.04646, allocations: 97.62 kB / 407.3 MB, free: 3.883 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003132/0.04677, allocations: 246.1 kB / 407.6 MB, free: 3.641 MB / 378.7 MB Notification: Performance of SimCode: time 1.142e-06/0.04677, allocations: 0 / 407.6 MB, free: 3.641 MB / 378.7 MB Notification: Performance of Templates: time 0.01249/0.05926, allocations: 8.223 MB / 415.8 MB, free: 11.59 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.644749091938138]