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.001033/0.001032, allocations: 180.5 kB / 16.38 MB, free: 5.766 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.309/1.309, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0007855/0.0007855, allocations: 95.92 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1603/0.1603, allocations: 38.06 MB / 357.2 MB, free: 1.891 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003965/0.0003964, allocations: 12 kB / 424 MB, free: 37.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2942, allocations: 56.32 MB / 480.3 MB, free: 9.531 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1268/0.421, allocations: 100.2 MB / 0.5669 GB, free: 2.246 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/0.4213, allocations: 99.94 kB / 0.567 GB, free: 2.148 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04622/0.4676, allocations: 16.94 MB / 0.5835 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4676, allocations: 0 / 0.5835 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.388e-05/0.4677, allocations: 23.94 kB / 0.5835 GB, free: 0.9531 MB / 410.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.001798/0.4695, allocations: 1.117 MB / 0.5846 GB, free: 15.77 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.4695, allocations: 12.03 kB / 0.5846 GB, free: 15.76 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.4697, allocations: 94.83 kB / 0.5847 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004129/0.4738, allocations: 1.697 MB / 0.5864 GB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.475e-05/0.4739, allocations: 45.31 kB / 0.5864 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.474, allocations: 67.98 kB / 0.5865 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.4753, allocations: 0.7981 MB / 0.5873 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.4753, allocations: 0 / 0.5873 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.539e-05/0.4754, allocations: 31.98 kB / 0.5873 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-05/0.4754, allocations: 41.25 kB / 0.5873 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009207/0.4764, allocations: 0.6101 MB / 0.5879 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003871/0.4802, allocations: 2.642 MB / 0.5905 GB, free: 9.535 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009266/0.4812, allocations: 0.6215 MB / 0.5911 GB, free: 8.895 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.4812, allocations: 4.5 kB / 0.5911 GB, free: 8.891 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005763/0.4818, allocations: 487 kB / 0.5916 GB, free: 8.371 MB / 426.7 MB Notification: Performance of pre-optimization done (n=63): time 2.214e-06/0.4818, allocations: 0 / 0.5916 GB, free: 8.371 MB / 426.7 MB Notification: Performance of matching and sorting (n=64): time 0.003252/0.4851, allocations: 2.514 MB / 0.594 GB, free: 5.652 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.4852, allocations: 255.9 kB / 0.5943 GB, free: 5.348 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005985/0.4858, allocations: 0.4916 MB / 0.5948 GB, free: 4.848 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.147e-05/0.4859, allocations: 37.7 kB / 0.5948 GB, free: 4.805 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002873/0.4862, allocations: 399.4 kB / 0.5952 GB, free: 4.406 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.4864, allocations: 205.1 kB / 0.5954 GB, free: 4.203 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.4864, allocations: 16 kB / 0.5954 GB, free: 4.188 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.4866, allocations: 386.8 kB / 0.5958 GB, free: 3.801 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/0.4869, allocations: 221.9 kB / 0.596 GB, free: 3.586 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000467/0.4874, allocations: 461.8 kB / 0.5964 GB, free: 3.035 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000463/0.4878, allocations: 341.4 kB / 0.5967 GB, free: 2.688 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.4879, allocations: 0 / 0.5967 GB, free: 2.688 MB / 426.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001483/0.4894, allocations: 0.9716 MB / 0.5977 GB, free: 1.691 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.883e-05/0.4894, allocations: 63.39 kB / 0.5977 GB, free: 1.617 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.4895, allocations: 8 kB / 0.5978 GB, free: 1.609 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004819/0.49, allocations: 117.6 kB / 0.5979 GB, free: 1.488 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000519/0.4905, allocations: 151.9 kB / 0.598 GB, free: 1.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003087/0.4936, allocations: 3.257 MB / 0.6012 GB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000507/0.4941, allocations: 43.88 kB / 0.6012 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.988e-05/0.4942, allocations: 55.95 kB / 0.6013 GB, free: 13.72 MB / 442.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 84 * 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%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004961/0.4947, allocations: 346.7 kB / 0.6016 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.989e-05/0.4948, allocations: 83.09 kB / 0.6017 GB, free: 13.28 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.4961, allocations: 0.9848 MB / 0.6027 GB, free: 12.22 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.4961, allocations: 4 kB / 0.6027 GB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.4961, allocations: 0 / 0.6027 GB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.4961, allocations: 7.984 kB / 0.6027 GB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/0.4982, allocations: 1.71 MB / 0.6043 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.4982, allocations: 0 / 0.6043 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004883/0.4987, allocations: 99.88 kB / 0.6044 GB, free: 10.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001043/0.4988, allocations: 45.73 kB / 0.6045 GB, free: 10.24 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.446e-05/0.4988, allocations: 24.05 kB / 0.6045 GB, free: 10.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001802/0.5006, allocations: 2.758 MB / 0.6072 GB, free: 7.188 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5007, allocations: 0 / 0.6072 GB, free: 7.188 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.5023, allocations: 1.425 MB / 0.6086 GB, free: 5.668 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003061/0.5027, allocations: 192.1 kB / 0.6088 GB, free: 5.461 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.74e-05/0.5027, allocations: 16 kB / 0.6088 GB, free: 5.445 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003343/0.5031, allocations: 27.98 kB / 0.6088 GB, free: 5.418 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.339e-05/0.5032, allocations: 44.33 kB / 0.6089 GB, free: 5.375 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.941e-05/0.5033, allocations: 63.98 kB / 0.6089 GB, free: 5.312 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004353/0.5037, allocations: 383.1 kB / 0.6093 GB, free: 4.945 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5037, allocations: 0 / 0.6093 GB, free: 4.945 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007791/0.5045, allocations: 204 kB / 0.6095 GB, free: 4.746 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (53): * Single equations (assignments): 48 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002807/0.5048, allocations: 178.9 kB / 0.6096 GB, free: 4.566 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001373/0.5062, allocations: 1.012 MB / 0.6106 GB, free: 3.508 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.5062, allocations: 0 / 0.6106 GB, free: 3.508 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006861/0.5069, allocations: 0.7173 MB / 0.6113 GB, free: 2.738 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006305/0.5075, allocations: 143.5 kB / 0.6115 GB, free: 2.598 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.51, allocations: 1.827 MB / 0.6133 GB, free: 0.7383 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005701/0.5106, allocations: 1.029 MB / 0.6143 GB, free: 15.68 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004555/0.511, allocations: 145.8 kB / 0.6144 GB, free: 15.54 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.5111, allocations: 51.42 kB / 0.6144 GB, free: 15.49 MB / 458.7 MB Notification: Performance of SimCode: time 7.61e-07/0.5111, allocations: 4 kB / 0.6145 GB, free: 15.48 MB / 458.7 MB Notification: Performance of Templates: time 0.01503/0.5262, allocations: 7.668 MB / 0.6219 GB, free: 7.824 MB / 458.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