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.001491/0.001491, 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.001879/0.001879, allocations: 165 kB / 24.56 MB, free: 12 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.9972/0.9972, allocations: 177.1 MB / 205 MB, free: 5.641 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.2286/0.2286, allocations: 29.42 MB / 290.9 MB, free: 2.508 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.393e-06/1.393e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.433e-05, allocations: 2.312 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.005686/0.00571, allocations: 5.935 MB / 375.6 MB, free: 5.047 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002499/0.008209, allocations: 1.718 MB / 377.3 MB, free: 3.324 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004042/0.008613, allocations: 39.62 kB / 377.3 MB, free: 3.285 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00058/0.009193, allocations: 214.5 kB / 377.5 MB, free: 3.074 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001046/0.01024, allocations: 0.5944 MB / 378.1 MB, free: 2.477 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000416/0.01066, allocations: 215.6 kB / 378.4 MB, free: 2.266 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001184/0.01184, allocations: 1.288 MB / 379.6 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002858/0.01213, allocations: 215 kB / 379.9 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/0.01336, allocations: 0.8961 MB / 380.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006505/0.01401, allocations: 0.5024 MB / 381.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.897e-05/0.0141, allocations: 60 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.01422, allocations: 56 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002614/0.01448, allocations: 351 kB / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002829/0.01476, allocations: 279.3 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006856/0.01545, allocations: 0.6265 MB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.01545, allocations: 0 / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.01546, allocations: 0 / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.97e-05/0.01548, allocations: 0 / 382.6 MB, free: 14 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.00135/0.01683, allocations: 1.276 MB / 383.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.01686, allocations: 15.98 kB / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.01702, allocations: 148.3 kB / 384 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006832/0.0177, allocations: 0.6129 MB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.814e-05/0.01774, allocations: 61.61 kB / 384.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.426e-05/0.01781, allocations: 60.36 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006981/0.0185, allocations: 0.6612 MB / 385.4 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.01852, allocations: 0 / 385.4 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.764e-05/0.01856, allocations: 24 kB / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.136e-05/0.0186, allocations: 33.3 kB / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004411/0.01904, allocations: 378.9 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.02115, allocations: 2.503 MB / 388.4 MB, free: 8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000572/0.02172, allocations: 0.4894 MB / 388.9 MB, free: 7.473 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003305/0.02205, allocations: 300.1 kB / 389.1 MB, free: 7.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.02208, allocations: 8.5 kB / 389.2 MB, free: 7.152 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003783/0.02246, allocations: 490.9 kB / 389.6 MB, free: 6.617 MB / 362.7 MB Notification: Performance of pre-optimization done (n=63): time 1.734e-06/0.02246, allocations: 0 / 389.6 MB, free: 6.617 MB / 362.7 MB Notification: Performance of matching and sorting (n=64): time 0.001763/0.02422, allocations: 1.713 MB / 391.3 MB, free: 4.809 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.844e-05/0.02431, allocations: 255.8 kB / 391.6 MB, free: 4.504 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004094/0.02472, allocations: 0.5688 MB / 392.2 MB, free: 3.918 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.02475, allocations: 37.7 kB / 392.2 MB, free: 3.875 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/0.02497, allocations: 475 kB / 392.7 MB, free: 3.402 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.02509, allocations: 214.2 kB / 392.9 MB, free: 3.191 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.02522, allocations: 148.3 kB / 393 MB, free: 3.039 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.02538, allocations: 0.5665 MB / 393.6 MB, free: 2.461 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.02556, allocations: 173.3 kB / 393.8 MB, free: 2.281 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003048/0.02586, allocations: 0.4919 MB / 394.2 MB, free: 1.641 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005191/0.02638, allocations: 0.6819 MB / 394.9 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.02639, allocations: 8 kB / 394.9 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0008938/0.02728, allocations: 0.8349 MB / 395.8 MB, free: 15.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/0.02732, allocations: 59.41 kB / 395.8 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.02733, allocations: 11.94 kB / 395.8 MB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002788/0.02761, allocations: 115.5 kB / 396 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.0279, allocations: 151.7 kB / 396.1 MB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002107/0.03001, allocations: 4.248 MB / 400.3 MB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.03023, allocations: 31.98 kB / 400.4 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.545e-05/0.03029, allocations: 48.22 kB / 400.4 MB, free: 10.99 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.0002101/0.0305, allocations: 281.7 kB / 400.7 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.389e-05/0.03058, allocations: 115.4 kB / 400.8 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006408/0.03123, allocations: 0.709 MB / 401.5 MB, free: 9.836 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.03123, allocations: 11.92 kB / 401.5 MB, free: 9.824 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.03123, allocations: 0 / 401.5 MB, free: 9.824 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.03124, allocations: 7.984 kB / 401.5 MB, free: 9.816 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.03248, allocations: 1.357 MB / 402.9 MB, free: 8.387 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.03248, allocations: 0 / 402.9 MB, free: 8.387 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002634/0.03274, allocations: 115.9 kB / 403 MB, free: 8.273 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.03275, allocations: 0 / 403 MB, free: 8.273 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-05/0.03278, allocations: 23.98 kB / 403 MB, free: 8.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.03278, allocations: 0 / 403 MB, free: 8.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.03278, allocations: 4 kB / 403 MB, free: 8.246 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008741/0.03366, allocations: 1.152 MB / 404.2 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.03378, allocations: 107.5 kB / 404.3 MB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.818e-05/0.03383, allocations: 16 kB / 404.3 MB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.03397, allocations: 23.98 kB / 404.3 MB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.373e-05/0.03405, allocations: 48.45 kB / 404.4 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.251e-05/0.0341, allocations: 59.88 kB / 404.4 MB, free: 6.766 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002512/0.03435, allocations: 350.7 kB / 404.8 MB, free: 6.426 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03435, allocations: 0 / 404.8 MB, free: 6.426 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004851/0.03484, allocations: 180 kB / 405 MB, free: 6.25 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.0001288/0.03496, allocations: 119.2 kB / 405.1 MB, free: 6.125 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009344/0.0359, allocations: 1.069 MB / 406.1 MB, free: 4.965 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.0359, allocations: 0 / 406.1 MB, free: 4.965 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002851/0.03619, allocations: 414.2 kB / 406.6 MB, free: 4.523 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004956/0.03668, allocations: 170.6 kB / 406.7 MB, free: 4.363 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.03864, allocations: 1.44 MB / 408.2 MB, free: 2.852 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/0.03878, allocations: 211.4 kB / 408.4 MB, free: 2.625 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002472/0.03903, allocations: 125.6 kB / 408.5 MB, free: 2.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.106e-05/0.03912, allocations: 60.48 kB / 408.5 MB, free: 2.441 MB / 378.7 MB Notification: Performance of SimCode: time 8.41e-07/0.03912, allocations: 0 / 408.5 MB, free: 2.441 MB / 378.7 MB Notification: Performance of Templates: time 0.01108/0.0502, allocations: 7.983 MB / 416.5 MB, free: 10.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.366557718254626]