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.001542/0.001542, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001938/0.001938, allocations: 163.6 kB / 24.99 MB, free: 9.285 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.053/1.053, allocations: 177.1 MB / 205.3 MB, free: 5.57 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.2264/0.2264, allocations: 29.41 MB / 291.2 MB, free: 2.43 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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.563e-06/1.563e-06, allocations: 3.938 kB / 369.6 MB, free: 11.28 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.308e-05/2.465e-05, allocations: 2.312 kB / 369.6 MB, free: 11.28 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.01219/0.01222, allocations: 7.349 MB / 377 MB, free: 3.887 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003097/0.01531, allocations: 1.722 MB / 378.7 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004184/0.01573, allocations: 35.69 kB / 378.7 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000697/0.01643, allocations: 226.3 kB / 379 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.01771, allocations: 0.606 MB / 379.6 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004604/0.01818, allocations: 215.6 kB / 379.8 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001404/0.01958, allocations: 1.292 MB / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003804/0.01996, allocations: 215 kB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001156/0.02112, allocations: 0.7515 MB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009435/0.02206, allocations: 0.6078 MB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.02217, allocations: 64 kB / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.02232, allocations: 64 kB / 382.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003387/0.02265, allocations: 363 kB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003606/0.02302, allocations: 295.3 kB / 383.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008328/0.02385, allocations: 0.6733 MB / 384.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.02385, allocations: 0 / 384.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.02385, allocations: 0 / 384.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.02387, allocations: 0 / 384.1 MB, free: 12.77 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.001901/0.02577, allocations: 1.28 MB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.02581, allocations: 15.98 kB / 385.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002338/0.02604, allocations: 148.3 kB / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.02718, allocations: 0.6609 MB / 386.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.715e-05/0.02723, allocations: 49.67 kB / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.02733, allocations: 64.38 kB / 386.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.02836, allocations: 0.6573 MB / 386.9 MB, free: 9.758 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.02838, allocations: 4 kB / 386.9 MB, free: 9.754 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.999e-05/0.02844, allocations: 23.98 kB / 387 MB, free: 9.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.643e-05/0.0285, allocations: 33.31 kB / 387 MB, free: 9.699 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007189/0.02922, allocations: 374.9 kB / 387.4 MB, free: 9.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002988/0.03221, allocations: 2.499 MB / 389.9 MB, free: 6.727 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008061/0.03301, allocations: 0.4916 MB / 390.4 MB, free: 6.199 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005183/0.03353, allocations: 300.1 kB / 390.7 MB, free: 5.887 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.03356, allocations: 12.5 kB / 390.7 MB, free: 5.875 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005662/0.03413, allocations: 490.9 kB / 391.1 MB, free: 5.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=63): time 2.254e-06/0.03413, allocations: 0 / 391.1 MB, free: 5.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=64): time 0.002566/0.0367, allocations: 1.721 MB / 392.9 MB, free: 3.523 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.03681, allocations: 251.8 kB / 393.1 MB, free: 3.223 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006225/0.03743, allocations: 0.5727 MB / 393.7 MB, free: 2.637 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.241e-05/0.03748, allocations: 41.7 kB / 393.7 MB, free: 2.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003149/0.03779, allocations: 455.2 kB / 394.2 MB, free: 2.137 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/0.03796, allocations: 222.4 kB / 394.4 MB, free: 1.918 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.03817, allocations: 152.2 kB / 394.5 MB, free: 1.762 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002334/0.0384, allocations: 0.5703 MB / 395.1 MB, free: 1.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002888/0.03869, allocations: 169.3 kB / 395.3 MB, free: 1.004 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000472/0.03916, allocations: 499.7 kB / 395.8 MB, free: 376 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007715/0.03993, allocations: 0.6897 MB / 396.4 MB, free: 15.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.03994, allocations: 4 kB / 396.5 MB, free: 15.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001347/0.04128, allocations: 0.831 MB / 397.3 MB, free: 14.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.832e-05/0.04133, allocations: 63.39 kB / 397.3 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.04135, allocations: 8 kB / 397.4 MB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003915/0.04174, allocations: 111.5 kB / 397.5 MB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004874/0.04222, allocations: 151.7 kB / 397.6 MB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002845/0.04507, allocations: 4.251 MB / 401.9 MB, free: 9.797 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000346/0.04542, allocations: 36.23 kB / 401.9 MB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.967e-05/0.0455, allocations: 59.94 kB / 402 MB, free: 9.703 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.0002577/0.04575, allocations: 281.8 kB / 402.2 MB, free: 9.406 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.04587, allocations: 103.5 kB / 402.3 MB, free: 9.305 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000728/0.0466, allocations: 0.7051 MB / 403 MB, free: 8.562 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.04661, allocations: 8 kB / 403 MB, free: 8.555 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.04661, allocations: 0 / 403 MB, free: 8.555 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.954e-06/0.04662, allocations: 3.984 kB / 403 MB, free: 8.551 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.04787, allocations: 1.364 MB / 404.4 MB, free: 7.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.04787, allocations: 8.031 kB / 404.4 MB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.04814, allocations: 103.9 kB / 404.5 MB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.04814, allocations: 7.984 kB / 404.5 MB, free: 6.996 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.04817, allocations: 16 kB / 404.5 MB, free: 6.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.04817, allocations: 7.938 kB / 404.6 MB, free: 6.973 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.04817, allocations: 4 kB / 404.6 MB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008806/0.04905, allocations: 1.144 MB / 405.7 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.04917, allocations: 107.5 kB / 405.8 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.694e-05/0.04922, allocations: 20.03 kB / 405.8 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.04937, allocations: 23.98 kB / 405.8 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.367e-05/0.04944, allocations: 44.42 kB / 405.9 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.252e-05/0.04949, allocations: 63.86 kB / 406 MB, free: 5.492 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002218/0.04972, allocations: 350.7 kB / 406.3 MB, free: 5.152 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04972, allocations: 0 / 406.3 MB, free: 5.152 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004012/0.05012, allocations: 180 kB / 406.5 MB, free: 4.977 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.0001084/0.05023, allocations: 120.1 kB / 406.6 MB, free: 4.848 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008967/0.05112, allocations: 1.065 MB / 407.7 MB, free: 3.691 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.05112, allocations: 128 / 407.7 MB, free: 3.691 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002691/0.05139, allocations: 425.9 kB / 408.1 MB, free: 3.238 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005202/0.05191, allocations: 165.5 kB / 408.2 MB, free: 3.086 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.05373, allocations: 1.449 MB / 409.7 MB, free: 1.562 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.05388, allocations: 207.4 kB / 409.9 MB, free: 1.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002418/0.05412, allocations: 129.7 kB / 410 MB, free: 1.211 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.786e-05/0.05421, allocations: 48.5 kB / 410.1 MB, free: 1.164 MB / 378.7 MB Notification: Performance of SimCode: time 7.81e-07/0.05421, allocations: 4 kB / 410.1 MB, free: 1.16 MB / 378.7 MB Notification: Performance of Templates: time 0.009804/0.06401, allocations: 7.646 MB / 417.7 MB, free: 9.652 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.44560482702218]