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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 112.2 kB / 20.43 MB, free: 1.465 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 184.2 kB / 23.71 MB, free: 4.715 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 225.6 MB / 252.5 MB, free: 13.06 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1898/0.1898, allocations: 38.55 MB / 346.3 MB, free: 2.168 MB / 270.1 MB
"
[Timeout remaining time 180]
Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001943/0.001943, allocations: 67.89 kB / 484.5 MB, free: 11.18 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3672, allocations: 61.29 MB / 0.533 GB, free: 5.582 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.008717/0.3759, allocations: 7.482 MB / 0.5403 GB, free: 56 kB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004106/0.38, allocations: 1.735 MB / 0.542 GB, free: 14.65 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0006377/0.3806, allocations: 40.47 kB / 0.5421 GB, free: 14.62 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0008343/0.3815, allocations: 240.6 kB / 0.5423 GB, free: 14.44 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.00161/0.3831, allocations: 0.5828 MB / 0.5429 GB, free: 13.97 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0006982/0.3838, allocations: 221 kB / 0.5431 GB, free: 13.79 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.00237/0.3862, allocations: 1.262 MB / 0.5443 GB, free: 13.08 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004426/0.3866, allocations: 221.5 kB / 0.5445 GB, free: 12.95 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001203/0.3878, allocations: 0.5643 MB / 0.5451 GB, free: 12.62 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001468/0.3893, allocations: 0.6773 MB / 0.5457 GB, free: 12.23 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001569/0.3894, allocations: 62.41 kB / 0.5458 GB, free: 12.23 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002337/0.3897, allocations: 63.75 kB / 0.5459 GB, free: 12.23 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0004741/0.3901, allocations: 341.6 kB / 0.5462 GB, free: 12.02 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0006155/0.3907, allocations: 429.6 kB / 0.5466 GB, free: 11.74 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.00147/0.3922, allocations: 0.9388 MB / 0.5475 GB, free: 11.1 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3922, allocations: 0 / 0.5475 GB, free: 11.1 MB / 398.1 MB
Notification: Performance of FrontEnd: time 3.166e-06/0.3922, allocations: 0 / 0.5475 GB, free: 11.1 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.703e-05/0.3922, allocations: 0 / 0.5475 GB, free: 11.1 MB / 398.1 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.002586/0.3948, allocations: 1.169 MB / 0.5487 GB, free: 10.21 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.3949, allocations: 9.625 kB / 0.5487 GB, free: 10.21 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000217/0.3951, allocations: 105 kB / 0.5488 GB, free: 10.15 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.3965, allocations: 0.6355 MB / 0.5494 GB, free: 9.684 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.13e-05/0.3966, allocations: 50.44 kB / 0.5494 GB, free: 9.656 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.3967, allocations: 66.42 kB / 0.5495 GB, free: 9.633 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.3984, allocations: 0.8201 MB / 0.5503 GB, free: 9.113 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.3984, allocations: 0 / 0.5503 GB, free: 9.113 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.771e-05/0.3985, allocations: 23.94 kB / 0.5503 GB, free: 9.098 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.645e-05/0.3985, allocations: 37.36 kB / 0.5504 GB, free: 9.09 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.3996, allocations: 0.6146 MB / 0.551 GB, free: 8.797 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004456/0.4041, allocations: 2.579 MB / 0.5535 GB, free: 6.742 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.4051, allocations: 0.5608 MB / 0.554 GB, free: 6.43 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0007017/0.4058, allocations: 338.9 kB / 0.5543 GB, free: 6.102 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.4058, allocations: 8.438 kB / 0.5544 GB, free: 6.094 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007569/0.4066, allocations: 491.7 kB / 0.5548 GB, free: 5.562 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=63): time 1.834e-06/0.4066, allocations: 0 / 0.5548 GB, free: 5.562 MB / 398.1 MB
Notification: Performance of matching and sorting (n=64): time 0.003475/0.4101, allocations: 1.92 MB / 0.5567 GB, free: 3.574 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002506/0.4103, allocations: 255.8 kB / 0.5569 GB, free: 3.27 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007594/0.4111, allocations: 0.5586 MB / 0.5575 GB, free: 2.703 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.964e-05/0.4111, allocations: 41.7 kB / 0.5575 GB, free: 2.656 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.00037/0.4115, allocations: 412.5 kB / 0.5579 GB, free: 2.25 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002077/0.4117, allocations: 222.2 kB / 0.5581 GB, free: 2.031 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/0.4119, allocations: 142.6 kB / 0.5583 GB, free: 1.887 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002188/0.4121, allocations: 382.8 kB / 0.5586 GB, free: 1.504 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003741/0.4125, allocations: 221.9 kB / 0.5588 GB, free: 1.285 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006986/0.4132, allocations: 465.8 kB / 0.5593 GB, free: 0.7344 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.4143, allocations: 0.7846 MB / 0.5601 GB, free: 15.83 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4143, allocations: 4 kB / 0.5601 GB, free: 15.82 MB / 414.1 MB
Notification: Performance of matching and sorting (n=102) (initialization): time 0.001735/0.4161, allocations: 0.9508 MB / 0.561 GB, free: 14.85 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 7.191e-05/0.4162, allocations: 63.41 kB / 0.5611 GB, free: 14.77 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.4162, allocations: 4 kB / 0.5611 GB, free: 14.77 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0004528/0.4166, allocations: 118.1 kB / 0.5612 GB, free: 14.65 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005059/0.4171, allocations: 151.7 kB / 0.5613 GB, free: 14.5 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004078/0.4212, allocations: 3.352 MB / 0.5646 GB, free: 10.92 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005465/0.4218, allocations: 35.98 kB / 0.5646 GB, free: 10.88 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.875e-05/0.4218, allocations: 60.02 kB / 0.5647 GB, free: 10.82 MB / 414.1 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.0005481/0.4224, allocations: 350.6 kB / 0.565 GB, free: 10.46 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.4225, allocations: 75.53 kB / 0.5651 GB, free: 10.39 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/0.4239, allocations: 0.7874 MB / 0.5659 GB, free: 9.578 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.4239, allocations: 7.938 kB / 0.5659 GB, free: 9.57 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.4239, allocations: 4 kB / 0.5659 GB, free: 9.566 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.4239, allocations: 11.92 kB / 0.5659 GB, free: 9.555 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002518/0.4264, allocations: 1.528 MB / 0.5674 GB, free: 7.957 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.4264, allocations: 0 / 0.5674 GB, free: 7.957 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004897/0.4269, allocations: 115.9 kB / 0.5675 GB, free: 7.844 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 9.287e-06/0.4269, allocations: 7.938 kB / 0.5675 GB, free: 7.836 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.597e-05/0.427, allocations: 23.92 kB / 0.5675 GB, free: 7.812 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.427, allocations: 4 kB / 0.5675 GB, free: 7.809 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.427, allocations: 0 / 0.5675 GB, free: 7.809 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/0.4286, allocations: 1.204 MB / 0.5687 GB, free: 6.566 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002727/0.4289, allocations: 115.4 kB / 0.5688 GB, free: 6.453 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.911e-05/0.429, allocations: 19.94 kB / 0.5688 GB, free: 6.434 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/0.4293, allocations: 32.03 kB / 0.5688 GB, free: 6.402 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.4295, allocations: 48.34 kB / 0.5689 GB, free: 6.352 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.514e-05/0.4296, allocations: 56 kB / 0.5689 GB, free: 6.297 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.000491/0.43, allocations: 395 kB / 0.5693 GB, free: 5.914 MB / 414.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.43, allocations: 0 / 0.5693 GB, free: 5.914 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0007652/0.4308, allocations: 184 kB / 0.5695 GB, free: 5.734 MB / 414.1 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.0001676/0.431, allocations: 116.1 kB / 0.5696 GB, free: 5.613 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.001596/0.4326, allocations: 0.9683 MB / 0.5706 GB, free: 4.598 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4326, allocations: 0 / 0.5706 GB, free: 4.598 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0005633/0.4331, allocations: 433.5 kB / 0.571 GB, free: 4.148 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008949/0.434, allocations: 168.3 kB / 0.5711 GB, free: 3.988 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/0.4368, allocations: 1.561 MB / 0.5727 GB, free: 2.379 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007655/0.4376, allocations: 1.012 MB / 0.5736 GB, free: 1.34 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0004158/0.438, allocations: 145.8 kB / 0.5738 GB, free: 1.195 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.4381, allocations: 55.44 kB / 0.5738 GB, free: 1.145 MB / 414.1 MB
Notification: Performance of SimCode: time 9.62e-07/0.4381, allocations: 0 / 0.5738 GB, free: 1.145 MB / 414.1 MB
Notification: Performance of Templates: time 0.01662/0.4547, allocations: 8.076 MB / 0.5817 GB, free: 9.137 MB / 430.1 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=480  -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) [Timeout 480]
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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 5.31583631131798]