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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,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=8000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 176.4 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008312/0.0008313, allocations: 87.22 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1834/0.1834, allocations: 38 MB / 348.1 MB, free: 7.777 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.589e-05/1.603e-05, allocations: 4 kB / 410.6 MB, free: 46.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1219, allocations: 56.33 MB / 466.9 MB, free: 6.57 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3508/0.4727, allocations: 99.4 MB / 0.553 GB, free: 11.54 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/0.473, allocations: 87.95 kB / 0.5531 GB, free: 11.45 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05144/0.5245, allocations: 16.75 MB / 0.5695 GB, free: 10.49 MB / 411.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.5245, allocations: 0 / 0.5695 GB, free: 10.49 MB / 411.1 MB Notification: Performance of Transformations before backend: time 0.0001033/0.5247, allocations: 24 kB / 0.5695 GB, free: 10.47 MB / 411.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.003245/0.5279, allocations: 1 MB / 0.5705 GB, free: 9.406 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/0.528, allocations: 12.03 kB / 0.5705 GB, free: 9.395 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005251/0.5285, allocations: 94.83 kB / 0.5706 GB, free: 9.301 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006828/0.5354, allocations: 1.689 MB / 0.5722 GB, free: 7.57 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.519e-05/0.5355, allocations: 20 kB / 0.5722 GB, free: 7.551 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002325/0.5357, allocations: 36 kB / 0.5723 GB, free: 7.516 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001655/0.5374, allocations: 0.5531 MB / 0.5728 GB, free: 6.961 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001983/0.5394, allocations: 0.7059 MB / 0.5735 GB, free: 6.219 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.5394, allocations: 0 / 0.5735 GB, free: 6.219 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.993e-05/0.5395, allocations: 11.89 kB / 0.5735 GB, free: 6.207 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-05/0.5396, allocations: 33.23 kB / 0.5735 GB, free: 6.172 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005396/0.545, allocations: 2.522 MB / 0.576 GB, free: 3.543 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.5464, allocations: 0.5833 MB / 0.5766 GB, free: 2.941 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00086/0.5473, allocations: 351.2 kB / 0.5769 GB, free: 2.594 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.684e-05/0.5473, allocations: 8.438 kB / 0.5769 GB, free: 2.586 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000821/0.5482, allocations: 450.7 kB / 0.5773 GB, free: 2.102 MB / 411.1 MB Notification: Performance of pre-optimization done (n=63): time 3.677e-06/0.5482, allocations: 0 / 0.5773 GB, free: 2.102 MB / 411.1 MB Notification: Performance of matching and sorting (n=64): time 0.003672/0.5519, allocations: 1.478 MB / 0.5788 GB, free: 0.5664 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001572/0.5521, allocations: 255.9 kB / 0.579 GB, free: 268 kB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009568/0.553, allocations: 454.2 kB / 0.5795 GB, free: 15.82 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 5.393e-05/0.5531, allocations: 29.7 kB / 0.5795 GB, free: 15.78 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004974/0.5536, allocations: 399.4 kB / 0.5799 GB, free: 15.38 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/0.5539, allocations: 197.2 kB / 0.5801 GB, free: 15.19 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.554, allocations: 4 kB / 0.5801 GB, free: 15.18 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 0.0002666/0.5542, allocations: 374.8 kB / 0.5804 GB, free: 14.81 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005064/0.5548, allocations: 198.6 kB / 0.5806 GB, free: 14.61 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007478/0.5555, allocations: 438.4 kB / 0.581 GB, free: 14.09 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006342/0.5562, allocations: 257.9 kB / 0.5813 GB, free: 13.84 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/0.5562, allocations: 4 kB / 0.5813 GB, free: 13.84 MB / 427.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002194/0.5584, allocations: 0.7887 MB / 0.5821 GB, free: 13.04 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.61e-05/0.5585, allocations: 63.41 kB / 0.5821 GB, free: 12.96 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/0.5585, allocations: 8 kB / 0.5821 GB, free: 12.95 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005779/0.5591, allocations: 114 kB / 0.5822 GB, free: 12.84 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008121/0.56, allocations: 147.8 kB / 0.5824 GB, free: 12.69 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00394/0.5639, allocations: 3.086 MB / 0.5854 GB, free: 9.379 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007846/0.5647, allocations: 31.81 kB / 0.5854 GB, free: 9.348 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001548/0.5649, allocations: 55.97 kB / 0.5855 GB, free: 9.293 MB / 427.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,$whenCondition3,$whenCondition4,$PRE.tapRelay1.cnt_1,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_2,$whenCondition1,$whenCondition2,$PRE.tapRelay2.cnt_1,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_2,$PRE.tapRelay2.tap_1,tapRelay2.tap_1,$PRE.tapRelay2.tap_2,tapRelay2.tap_2,$PRE.tapRelay1.tap_1,tapRelay1.tap_1,$PRE.tapRelay1.tap_2,tapRelay1.tap_2) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003479/0.5652, allocations: 205.9 kB / 0.5857 GB, free: 9.074 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/0.5655, allocations: 75.11 kB / 0.5857 GB, free: 9 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/0.5672, allocations: 0.6537 MB / 0.5864 GB, free: 8.336 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.5672, allocations: 8 kB / 0.5864 GB, free: 8.328 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.5673, allocations: 0 / 0.5864 GB, free: 8.328 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.5673, allocations: 3.938 kB / 0.5864 GB, free: 8.324 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00327/0.5706, allocations: 1.359 MB / 0.5877 GB, free: 6.914 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.5706, allocations: 4 kB / 0.5877 GB, free: 6.91 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007316/0.5713, allocations: 111.9 kB / 0.5878 GB, free: 6.801 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.409e-05/0.5714, allocations: 0 / 0.5878 GB, free: 6.801 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.829e-05/0.5714, allocations: 20.08 kB / 0.5878 GB, free: 6.781 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.635e-06/0.5715, allocations: 4 kB / 0.5878 GB, free: 6.777 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/0.5715, allocations: 7.938 kB / 0.5879 GB, free: 6.77 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00211/0.5736, allocations: 1.099 MB / 0.5889 GB, free: 5.609 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004139/0.574, allocations: 188.2 kB / 0.5891 GB, free: 5.406 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.5742, allocations: 11.95 kB / 0.5891 GB, free: 5.395 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005389/0.5748, allocations: 27.97 kB / 0.5891 GB, free: 5.367 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.5749, allocations: 36.45 kB / 0.5892 GB, free: 5.332 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/0.5751, allocations: 71.84 kB / 0.5893 GB, free: 5.262 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0006604/0.5758, allocations: 330.9 kB / 0.5896 GB, free: 4.938 MB / 427.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5758, allocations: 0 / 0.5896 GB, free: 4.938 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.001314/0.5771, allocations: 168 kB / 0.5897 GB, free: 4.773 MB / 427.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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004014/0.5775, allocations: 171 kB / 0.5899 GB, free: 4.598 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.002106/0.5796, allocations: 0.9225 MB / 0.5908 GB, free: 3.637 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.5796, allocations: 4.312 kB / 0.5908 GB, free: 3.633 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008338/0.5805, allocations: 480.4 kB / 0.5913 GB, free: 3.137 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.5816, allocations: 139.5 kB / 0.5914 GB, free: 3 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003485/0.5851, allocations: 1.148 MB / 0.5925 GB, free: 1.812 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/0.5863, allocations: 1.029 MB / 0.5935 GB, free: 0.7539 MB / 427.1 MB Notification: Performance of simCode: alias equations: time 0.0009075/0.5872, allocations: 145.7 kB / 0.5937 GB, free: 0.6094 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.5874, allocations: 51.44 kB / 0.5937 GB, free: 0.5586 MB / 427.1 MB Notification: Performance of SimCode: time 1.413e-06/0.5874, allocations: 0 / 0.5937 GB, free: 0.5586 MB / 427.1 MB Notification: Performance of Templates: time 0.02129/0.6087, allocations: 6.572 MB / 0.6001 GB, free: 9.988 MB / 443.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.makefile (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) 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","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches