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.002002/0.002002, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.00276/0.00276, allocations: 207 kB / 23.73 MB, free: 4.387 MB / 14.72 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.571/1.571, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.1876/0.1876, allocations: 38.56 MB / 352.5 MB, free: 12.29 MB / 286.1 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 74.39 kB / 493 MB, free: 4.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4032, allocations: 62.46 MB / 0.5424 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.009374/0.4126, allocations: 6.929 MB / 0.5492 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003345/0.4159, allocations: 1.664 MB / 0.5508 GB, free: 9.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003598/0.4163, allocations: 36.81 kB / 0.5509 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007402/0.417, allocations: 221.3 kB / 0.5511 GB, free: 9.648 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001399/0.4184, allocations: 0.5868 MB / 0.5516 GB, free: 9.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005388/0.4189, allocations: 216.5 kB / 0.5518 GB, free: 8.996 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001677/0.4206, allocations: 1.258 MB / 0.5531 GB, free: 8.293 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004238/0.421, allocations: 217.8 kB / 0.5533 GB, free: 8.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.4221, allocations: 0.5739 MB / 0.5538 GB, free: 7.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/0.4232, allocations: 0.646 MB / 0.5545 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.4234, allocations: 63.28 kB / 0.5545 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.4236, allocations: 63.28 kB / 0.5546 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003998/0.424, allocations: 345.9 kB / 0.5549 GB, free: 7.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004754/0.4244, allocations: 351.2 kB / 0.5553 GB, free: 7.027 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001159/0.4256, allocations: 0.9452 MB / 0.5562 GB, free: 6.078 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.4256, allocations: 0 / 0.5562 GB, free: 6.078 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4256, allocations: 0 / 0.5562 GB, free: 6.078 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.4256, allocations: 4 kB / 0.5562 GB, free: 6.074 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.002233/0.4279, allocations: 1.176 MB / 0.5573 GB, free: 4.848 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.4279, allocations: 11.98 kB / 0.5573 GB, free: 4.836 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.4281, allocations: 104.3 kB / 0.5574 GB, free: 4.734 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.4294, allocations: 0.6355 MB / 0.5581 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.379e-05/0.4295, allocations: 45.25 kB / 0.5581 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.4296, allocations: 67.98 kB / 0.5582 GB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.431, allocations: 0.8678 MB / 0.559 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.431, allocations: 4 kB / 0.559 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.556e-05/0.4311, allocations: 31.97 kB / 0.5591 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.676e-05/0.4312, allocations: 37.3 kB / 0.5591 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.4323, allocations: 0.6681 MB / 0.5597 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003978/0.4363, allocations: 2.261 MB / 0.562 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.4374, allocations: 0.6266 MB / 0.5626 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006795/0.4381, allocations: 390.4 kB / 0.5629 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.4381, allocations: 8.438 kB / 0.5629 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007236/0.4388, allocations: 0.5342 MB / 0.5635 GB, free: 14.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 3.055e-06/0.4388, allocations: 0 / 0.5635 GB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.00337/0.4422, allocations: 2.071 MB / 0.5655 GB, free: 12.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001875/0.4424, allocations: 251.8 kB / 0.5657 GB, free: 11.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007245/0.4431, allocations: 0.5574 MB / 0.5663 GB, free: 11.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/0.4432, allocations: 45.7 kB / 0.5663 GB, free: 11.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000396/0.4436, allocations: 408.4 kB / 0.5667 GB, free: 10.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/0.4438, allocations: 218.2 kB / 0.5669 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/0.444, allocations: 146.6 kB / 0.5671 GB, free: 10.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000252/0.4442, allocations: 382.8 kB / 0.5674 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004378/0.4447, allocations: 281.3 kB / 0.5677 GB, free: 9.777 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006728/0.4453, allocations: 0.4972 MB / 0.5682 GB, free: 9.172 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.4464, allocations: 0.7925 MB / 0.5689 GB, free: 8.262 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4464, allocations: 0 / 0.5689 GB, free: 8.262 MB / 414.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001714/0.4481, allocations: 1.001 MB / 0.5699 GB, free: 7.219 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.166e-05/0.4482, allocations: 71.39 kB / 0.57 GB, free: 7.137 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.4482, allocations: 12.06 kB / 0.57 GB, free: 7.125 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004202/0.4487, allocations: 109.7 kB / 0.5701 GB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005308/0.4492, allocations: 147.8 kB / 0.5702 GB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003674/0.4529, allocations: 3.29 MB / 0.5735 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005135/0.4534, allocations: 39.97 kB / 0.5735 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.043e-05/0.4535, allocations: 55.91 kB / 0.5736 GB, free: 3.277 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.0005227/0.454, allocations: 354.7 kB / 0.5739 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.4541, allocations: 83.45 kB / 0.574 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/0.4555, allocations: 0.8492 MB / 0.5748 GB, free: 1.941 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.4555, allocations: 11.98 kB / 0.5748 GB, free: 1.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.4555, allocations: 0 / 0.5748 GB, free: 1.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4555, allocations: 0 / 0.5748 GB, free: 1.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002502/0.458, allocations: 1.477 MB / 0.5763 GB, free: 396 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.458, allocations: 0 / 0.5763 GB, free: 396 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004932/0.4585, allocations: 107.9 kB / 0.5764 GB, free: 288 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-06/0.4585, allocations: 4 kB / 0.5764 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.774e-05/0.4585, allocations: 19.98 kB / 0.5764 GB, free: 264 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.4585, allocations: 11.88 kB / 0.5764 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.4585, allocations: 0 / 0.5764 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/0.4604, allocations: 1.332 MB / 0.5777 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002831/0.4607, allocations: 111.6 kB / 0.5778 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.258e-05/0.4608, allocations: 16 kB / 0.5778 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000319/0.4611, allocations: 32.03 kB / 0.5778 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.4612, allocations: 48.25 kB / 0.5779 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.051e-05/0.4613, allocations: 55.92 kB / 0.5779 GB, free: 14.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005015/0.4618, allocations: 374.8 kB / 0.5783 GB, free: 14.22 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4618, allocations: 0 / 0.5783 GB, free: 14.22 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007876/0.4626, allocations: 180 kB / 0.5785 GB, free: 14.05 MB / 430.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.0001888/0.4628, allocations: 139 kB / 0.5786 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001825/0.4646, allocations: 1.084 MB / 0.5797 GB, free: 12.74 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.4646, allocations: 4 kB / 0.5797 GB, free: 12.74 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006479/0.4652, allocations: 492.5 kB / 0.5801 GB, free: 12.22 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008508/0.4661, allocations: 165.7 kB / 0.5803 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002957/0.4691, allocations: 1.63 MB / 0.5819 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005141/0.4696, allocations: 417.1 kB / 0.5823 GB, free: 9.949 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004411/0.47, allocations: 145.7 kB / 0.5824 GB, free: 9.805 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.4701, allocations: 51.44 kB / 0.5825 GB, free: 9.754 MB / 430.1 MB Notification: Performance of SimCode: time 6.32e-07/0.4701, allocations: 0 / 0.5825 GB, free: 9.754 MB / 430.1 MB Notification: Performance of Templates: time 0.018/0.4881, allocations: 8.566 MB / 0.5908 GB, free: 1.324 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.805780561640859]