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.001335/0.001335, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.2 MB / 219.4 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008318/0.0008319, allocations: 82 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1825/0.1825, allocations: 37.98 MB / 353.5 MB, free: 1.742 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.729e-05/2.733e-05, allocations: 0 / 417.7 MB, free: 29.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08971/0.08975, allocations: 56.33 MB / 474.1 MB, free: 4.793 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3177/0.4075, allocations: 100.1 MB / 0.5607 GB, free: 2.656 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.4078, allocations: 92.19 kB / 0.5608 GB, free: 2.609 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05961/0.4674, allocations: 16.94 MB / 0.5773 GB, free: 3.945 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.4674, allocations: 0 / 0.5773 GB, free: 3.945 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.107e-05/0.4675, allocations: 24 kB / 0.5773 GB, free: 3.922 MB / 378.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.001508/0.469, allocations: 1 MB / 0.5783 GB, free: 2.914 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.469, allocations: 8.031 kB / 0.5783 GB, free: 2.906 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.4692, allocations: 94.83 kB / 0.5784 GB, free: 2.812 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004018/0.4732, allocations: 1.697 MB / 0.5801 GB, free: 1.344 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.081e-05/0.4733, allocations: 49.73 kB / 0.5801 GB, free: 1.312 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.954e-05/0.4734, allocations: 62.5 kB / 0.5802 GB, free: 1.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.4745, allocations: 0.7841 MB / 0.5809 GB, free: 0.668 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.4746, allocations: 3.938 kB / 0.5809 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.892e-05/0.4746, allocations: 28.56 kB / 0.581 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.237e-05/0.4747, allocations: 37.25 kB / 0.581 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008864/0.4756, allocations: 0.5991 MB / 0.5816 GB, free: 208 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003277/0.4789, allocations: 2.638 MB / 0.5842 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008723/0.4798, allocations: 0.6068 MB / 0.5847 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005398/0.4803, allocations: 377 kB / 0.5851 GB, free: 13.22 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-05/0.4804, allocations: 4.438 kB / 0.5851 GB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005554/0.4809, allocations: 473.5 kB / 0.5856 GB, free: 12.79 MB / 394.7 MB Notification: Performance of pre-optimization done (n=63): time 2.284e-06/0.4809, allocations: 0 / 0.5856 GB, free: 12.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=64): time 0.002324/0.4833, allocations: 1.757 MB / 0.5873 GB, free: 11.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.4834, allocations: 250.8 kB / 0.5875 GB, free: 10.96 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005218/0.4839, allocations: 495.5 kB / 0.588 GB, free: 10.56 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/0.484, allocations: 37.14 kB / 0.588 GB, free: 10.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/0.4842, allocations: 393.8 kB / 0.5884 GB, free: 10.24 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.4844, allocations: 208 kB / 0.5886 GB, free: 10.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.4844, allocations: 15.69 kB / 0.5886 GB, free: 10.06 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.4846, allocations: 392.7 kB / 0.589 GB, free: 9.703 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003208/0.4849, allocations: 213.2 kB / 0.5892 GB, free: 9.562 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004519/0.4854, allocations: 445.8 kB / 0.5896 GB, free: 9.109 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/0.4858, allocations: 335.2 kB / 0.5899 GB, free: 8.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.4858, allocations: 4 kB / 0.5899 GB, free: 8.836 MB / 394.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001392/0.4872, allocations: 0.9323 MB / 0.5908 GB, free: 8.074 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.644e-05/0.4873, allocations: 59.41 kB / 0.5909 GB, free: 8.004 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.4873, allocations: 8 kB / 0.5909 GB, free: 7.996 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000358/0.4876, allocations: 104.7 kB / 0.591 GB, free: 7.906 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000495/0.4882, allocations: 151.7 kB / 0.5912 GB, free: 7.762 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002783/0.4909, allocations: 3.192 MB / 0.5943 GB, free: 4.578 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004419/0.4914, allocations: 53.38 kB / 0.5943 GB, free: 4.539 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.047e-05/0.4915, allocations: 55.47 kB / 0.5944 GB, free: 4.492 MB / 394.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,$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.0002079/0.4917, allocations: 234.7 kB / 0.5946 GB, free: 4.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.561e-05/0.4918, allocations: 79.14 kB / 0.5947 GB, free: 4.191 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.4929, allocations: 0.7655 MB / 0.5954 GB, free: 3.609 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.493, allocations: 4 kB / 0.5954 GB, free: 3.605 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.493, allocations: 0 / 0.5954 GB, free: 3.605 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.493, allocations: 7.922 kB / 0.5954 GB, free: 3.598 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002075/0.4951, allocations: 1.558 MB / 0.597 GB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4951, allocations: 0 / 0.597 GB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004906/0.4956, allocations: 111.2 kB / 0.5971 GB, free: 2.203 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.4956, allocations: 4 kB / 0.5971 GB, free: 2.199 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.023e-05/0.4956, allocations: 21.17 kB / 0.5971 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.241e-06/0.4957, allocations: 7.938 kB / 0.5971 GB, free: 2.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.4957, allocations: 7.938 kB / 0.5971 GB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.4972, allocations: 1.222 MB / 0.5983 GB, free: 1.164 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000231/0.4974, allocations: 182.7 kB / 0.5985 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.808e-05/0.4975, allocations: 21.69 kB / 0.5985 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003124/0.4978, allocations: 25.86 kB / 0.5985 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.703e-05/0.4979, allocations: 42.38 kB / 0.5986 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.925e-05/0.498, allocations: 63.17 kB / 0.5986 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003829/0.4984, allocations: 384.9 kB / 0.599 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4984, allocations: 0 / 0.599 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006636/0.4991, allocations: 192.2 kB / 0.5992 GB, free: 408 kB / 394.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) * 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.0002547/0.4993, allocations: 193.3 kB / 0.5994 GB, free: 212 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001292/0.5006, allocations: 0.9784 MB / 0.6003 GB, free: 15.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5006, allocations: 4.125 kB / 0.6003 GB, free: 15.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005264/0.5012, allocations: 499.6 kB / 0.6008 GB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005876/0.5018, allocations: 136.2 kB / 0.6009 GB, free: 14.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/0.5042, allocations: 1.19 MB / 0.6021 GB, free: 13.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008365/0.5051, allocations: 1.026 MB / 0.6031 GB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007036/0.5058, allocations: 149.8 kB / 0.6032 GB, free: 12.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.506, allocations: 55.42 kB / 0.6033 GB, free: 12.55 MB / 410.7 MB Notification: Performance of SimCode: time 3.41e-07/0.506, allocations: 4 kB / 0.6033 GB, free: 12.55 MB / 410.7 MB Notification: Performance of Templates: time 0.02134/0.5273, allocations: 7.625 MB / 0.6107 GB, free: 4.938 MB / 410.7 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