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.001013/0.001013, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.001145/0.001145, allocations: 165.9 kB / 25.61 MB, free: 8.59 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 0.9753/0.9753, allocations: 177.1 MB / 206.1 MB, free: 4.5 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.1367/0.1367, allocations: 29.43 MB / 292 MB, free: 2.641 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 1.583e-06/1.583e-06, allocations: 0 / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.607e-05/2.765e-05, allocations: 2.312 kB / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.006502/0.00653, allocations: 5.873 MB / 376.8 MB, free: 26.41 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003009/0.009539, allocations: 1.714 MB / 378.5 MB, free: 24.7 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005196/0.01006, allocations: 39.62 kB / 378.5 MB, free: 24.66 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006506/0.01071, allocations: 214.5 kB / 378.7 MB, free: 24.45 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001231/0.01194, allocations: 0.5866 MB / 379.3 MB, free: 23.86 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005015/0.01244, allocations: 227.4 kB / 379.5 MB, free: 23.63 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00113/0.01357, allocations: 1.29 MB / 380.8 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002561/0.01383, allocations: 211 kB / 381 MB, free: 22.13 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008722/0.0147, allocations: 0.8884 MB / 381.9 MB, free: 21.24 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004699/0.01517, allocations: 0.5141 MB / 382.4 MB, free: 20.72 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.948e-05/0.01523, allocations: 56 kB / 382.5 MB, free: 20.67 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.329e-05/0.01531, allocations: 56 kB / 382.5 MB, free: 20.61 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.01548, allocations: 347.1 kB / 382.9 MB, free: 20.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.01565, allocations: 287.2 kB / 383.2 MB, free: 19.99 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004898/0.01614, allocations: 0.6226 MB / 383.8 MB, free: 19.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.01615, allocations: 0 / 383.8 MB, free: 19.37 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01615, allocations: 0 / 383.8 MB, free: 19.37 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.01616, allocations: 0 / 383.8 MB, free: 19.37 MB / 314.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.001007/0.01717, allocations: 1.233 MB / 385 MB, free: 18.08 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.0172, allocations: 8.031 kB / 385 MB, free: 18.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.01732, allocations: 156.3 kB / 385.2 MB, free: 17.92 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000517/0.01783, allocations: 0.6012 MB / 385.8 MB, free: 17.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.01786, allocations: 45.69 kB / 385.8 MB, free: 17.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.868e-05/0.01792, allocations: 68.38 kB / 385.9 MB, free: 17.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004313/0.01835, allocations: 0.6025 MB / 386.5 MB, free: 16.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.01837, allocations: 7.938 kB / 386.5 MB, free: 16.51 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.0184, allocations: 24 kB / 386.5 MB, free: 16.49 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.23e-05/0.01843, allocations: 33.3 kB / 386.5 MB, free: 16.46 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002434/0.01867, allocations: 304.2 kB / 386.8 MB, free: 16.15 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.02017, allocations: 2.355 MB / 389.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003767/0.02055, allocations: 452.5 kB / 389.6 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003286/0.02088, allocations: 256.9 kB / 389.9 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.02091, allocations: 12.5 kB / 389.9 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003795/0.02129, allocations: 454.9 kB / 390.4 MB, free: 12.45 MB / 314.7 MB Notification: Performance of pre-optimization done (n=63): time 2.474e-06/0.02129, allocations: 0 / 390.4 MB, free: 12.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=64): time 0.001169/0.02246, allocations: 1.371 MB / 391.7 MB, free: 10.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.109e-05/0.02253, allocations: 251.8 kB / 392 MB, free: 10.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003104/0.02284, allocations: 0.5646 MB / 392.5 MB, free: 10.1 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.02286, allocations: 37.7 kB / 392.6 MB, free: 10.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.02301, allocations: 470.9 kB / 393 MB, free: 9.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.914e-05/0.02309, allocations: 218.3 kB / 393.2 MB, free: 9.375 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.0232, allocations: 160.1 kB / 393.4 MB, free: 9.211 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.102e-05/0.02328, allocations: 0.5779 MB / 394 MB, free: 8.621 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.651e-05/0.02337, allocations: 141.3 kB / 394.1 MB, free: 8.473 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.02354, allocations: 463.7 kB / 394.6 MB, free: 7.871 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000445/0.02398, allocations: 0.6467 MB / 395.2 MB, free: 7.066 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.02399, allocations: 4 kB / 395.2 MB, free: 7.062 MB / 314.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0006998/0.02469, allocations: 0.7799 MB / 396 MB, free: 6.238 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.02e-05/0.02473, allocations: 59.41 kB / 396.1 MB, free: 6.168 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.02474, allocations: 8 kB / 396.1 MB, free: 6.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002537/0.02499, allocations: 111.9 kB / 396.2 MB, free: 6.043 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/0.02526, allocations: 147.8 kB / 396.3 MB, free: 5.898 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.02672, allocations: 4.178 MB / 400.5 MB, free: 1.492 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.02694, allocations: 31.98 kB / 400.5 MB, free: 1.461 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.427e-05/0.02699, allocations: 43.97 kB / 400.6 MB, free: 1.418 MB / 314.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.0001651/0.02716, allocations: 293.7 kB / 400.9 MB, free: 1.109 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.576e-05/0.02722, allocations: 95.53 kB / 401 MB, free: 1.016 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004281/0.02765, allocations: 0.6427 MB / 401.6 MB, free: 348 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.02765, allocations: 8 kB / 401.6 MB, free: 340 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.02766, allocations: 7.875 kB / 401.6 MB, free: 332 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.02766, allocations: 3.984 kB / 401.6 MB, free: 328 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009846/0.02865, allocations: 1.177 MB / 402.8 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.02865, allocations: 4.094 kB / 402.8 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/0.02889, allocations: 99.88 kB / 402.9 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.02889, allocations: 11.92 kB / 402.9 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.02892, allocations: 24.11 kB / 402.9 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.02892, allocations: 11.94 kB / 402.9 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.02893, allocations: 0 / 402.9 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007291/0.02965, allocations: 1.039 MB / 404 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.02977, allocations: 99.48 kB / 404.1 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.841e-05/0.02982, allocations: 27.95 kB / 404.1 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.02996, allocations: 16 kB / 404.1 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.03002, allocations: 48.36 kB / 404.2 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.213e-05/0.03007, allocations: 51.94 kB / 404.2 MB, free: 13.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001827/0.03025, allocations: 330.7 kB / 404.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03025, allocations: 0 / 404.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004516/0.0307, allocations: 176 kB / 404.7 MB, free: 13.08 MB / 330.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.0001213/0.03083, allocations: 134.8 kB / 404.8 MB, free: 12.94 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007522/0.03158, allocations: 0.991 MB / 405.8 MB, free: 11.86 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.03158, allocations: 4.125 kB / 405.8 MB, free: 11.86 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.03183, allocations: 389.8 kB / 406.2 MB, free: 11.43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/0.03231, allocations: 167.7 kB / 406.4 MB, free: 11.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.034, allocations: 1.425 MB / 407.8 MB, free: 9.777 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.03414, allocations: 211.4 kB / 408 MB, free: 9.551 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002069/0.03435, allocations: 93.67 kB / 408.1 MB, free: 9.457 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/0.03462, allocations: 242.1 kB / 408.3 MB, free: 9.219 MB / 330.7 MB Notification: Performance of SimCode: time 9.42e-07/0.03462, allocations: 0 / 408.3 MB, free: 9.219 MB / 330.7 MB Notification: Performance of Templates: time 0.0112/0.04582, allocations: 8.393 MB / 416.7 MB, free: 0.9922 MB / 330.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.49968404462561]