Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.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.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter1.alpha_v|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v_norm|meter12.alpha_v|meter12.p.1.|meter12.p.2.|meter12.p.3.|meter12.v_norm|meter22.alpha_v|meter22.p.1.|meter22.p.2.|meter22.p.3.|meter22.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter1.alpha_v|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v_norm|meter12.alpha_v|meter12.p.1.|meter12.p.2.|meter12.p.3.|meter12.v_norm|meter22.alpha_v|meter22.p.1.|meter22.p.2.|meter22.p.3.|meter22.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002239/0.002239, allocations: 175.5 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.679/1.679, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.0008711/0.000871, allocations: 82.66 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.17/0.17, allocations: 37.98 MB / 353.5 MB, free: 1.758 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.655e-05/2.66e-05, allocations: 0 / 417.7 MB, free: 29.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1047, allocations: 56.32 MB / 474.1 MB, free: 4.809 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4067/0.5115, allocations: 109.9 MB / 0.5703 GB, free: 9.293 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.5118, allocations: 87.64 kB / 0.5703 GB, free: 9.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1397/0.6516, allocations: 48.98 MB / 0.6182 GB, free: 14.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.6516, allocations: 0 / 0.6182 GB, free: 14.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.787e-05/0.6517, allocations: 36 kB / 0.6182 GB, free: 14.84 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.00445/0.6562, allocations: 1.587 MB / 0.6198 GB, free: 13.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.6563, allocations: 11.97 kB / 0.6198 GB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00336/0.6596, allocations: 445.3 kB / 0.6202 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00692/0.6666, allocations: 2.07 MB / 0.6222 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.6667, allocations: 109 kB / 0.6223 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004358/0.6672, allocations: 144.4 kB / 0.6225 GB, free: 10.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004279/0.6715, allocations: 2.228 MB / 0.6246 GB, free: 8.668 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.114e-05/0.6716, allocations: 7.938 kB / 0.6246 GB, free: 8.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001543/0.6717, allocations: 63.97 kB / 0.6247 GB, free: 8.598 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003832/0.6721, allocations: 182.8 kB / 0.6249 GB, free: 8.418 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003389/0.6755, allocations: 1.705 MB / 0.6265 GB, free: 6.707 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01453/0.6901, allocations: 9.296 MB / 0.6356 GB, free: 12.94 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002476/0.6926, allocations: 1.452 MB / 0.637 GB, free: 11.45 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001061/0.6937, allocations: 0.6691 MB / 0.6377 GB, free: 10.77 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.255e-05/0.6938, allocations: 16.98 kB / 0.6377 GB, free: 10.76 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001444/0.6952, allocations: 0.9232 MB / 0.6386 GB, free: 9.793 MB / 442.7 MB Notification: Performance of pre-optimization done (n=142): time 5.04e-06/0.6953, allocations: 3.938 kB / 0.6386 GB, free: 9.789 MB / 442.7 MB Notification: Performance of matching and sorting (n=143): time 0.007062/0.7023, allocations: 3.764 MB / 0.6423 GB, free: 5.922 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002364/0.7027, allocations: 290.4 kB / 0.6426 GB, free: 5.574 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.704, allocations: 0.7523 MB / 0.6433 GB, free: 4.797 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000145/0.7041, allocations: 45.7 kB / 0.6433 GB, free: 4.746 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007204/0.7048, allocations: 0.736 MB / 0.6441 GB, free: 3.996 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005599/0.7054, allocations: 493.1 kB / 0.6445 GB, free: 3.508 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.265e-05/0.7055, allocations: 32 kB / 0.6446 GB, free: 3.477 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002761/0.7058, allocations: 442.6 kB / 0.645 GB, free: 3.035 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.7068, allocations: 0.6053 MB / 0.6456 GB, free: 2.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001313/0.7081, allocations: 1.147 MB / 0.6467 GB, free: 1.051 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.7095, allocations: 0.8864 MB / 0.6476 GB, free: 156 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/0.7095, allocations: 4 kB / 0.6476 GB, free: 152 kB / 442.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.005068/0.7146, allocations: 2.505 MB / 0.65 GB, free: 13.61 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.7148, allocations: 67.41 kB / 0.6501 GB, free: 13.53 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003278/0.7181, allocations: 1.678 MB / 0.6517 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001703/0.7198, allocations: 0.5457 MB / 0.6522 GB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.7212, allocations: 323.4 kB / 0.6526 GB, free: 10.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01038/0.7316, allocations: 8.656 MB / 0.661 GB, free: 1.781 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.7331, allocations: 99.92 kB / 0.6611 GB, free: 1.684 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002299/0.7334, allocations: 95.95 kB / 0.6612 GB, free: 1.59 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (169): * Single equations (assignments): 160 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(2,100.0%) 11,(2,100.0%) 12,(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004264/0.7338, allocations: 289.5 kB / 0.6615 GB, free: 1.289 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/0.734, allocations: 126.5 kB / 0.6616 GB, free: 1.164 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002945/0.737, allocations: 1.668 MB / 0.6632 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.376e-05/0.7371, allocations: 20 kB / 0.6632 GB, free: 15.46 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.7371, allocations: 8 kB / 0.6632 GB, free: 15.45 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.464e-05/0.7371, allocations: 11.91 kB / 0.6633 GB, free: 15.44 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005563/0.7427, allocations: 3.193 MB / 0.6664 GB, free: 12.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/0.7428, allocations: 0 / 0.6664 GB, free: 12.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001511/0.7443, allocations: 315.5 kB / 0.6667 GB, free: 11.85 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-05/0.7443, allocations: 20.08 kB / 0.6667 GB, free: 11.83 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/0.7444, allocations: 39.98 kB / 0.6667 GB, free: 11.79 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.7445, allocations: 4 kB / 0.6667 GB, free: 11.79 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.7445, allocations: 7.984 kB / 0.6667 GB, free: 11.78 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003841/0.7483, allocations: 2.603 MB / 0.6693 GB, free: 9.082 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009512/0.7493, allocations: 315.4 kB / 0.6696 GB, free: 8.754 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/0.7495, allocations: 31.98 kB / 0.6696 GB, free: 8.723 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000717/0.7502, allocations: 67.84 kB / 0.6697 GB, free: 8.656 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002158/0.7505, allocations: 80.89 kB / 0.6698 GB, free: 8.578 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/0.7506, allocations: 83.84 kB / 0.6698 GB, free: 8.496 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008497/0.7515, allocations: 0.5629 MB / 0.6704 GB, free: 7.918 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.7515, allocations: 0 / 0.6704 GB, free: 7.918 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001939/0.7534, allocations: 479.8 kB / 0.6708 GB, free: 7.449 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (trafo1.i1[1],trafo1.i1[2],trafo1.i1[3],trafo2.i1[1],trafo2.i1[2],trafo2.i1[3]) * 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 (124): * Single equations (assignments): 118 * Array equations: 3 * 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.0005213/0.754, allocations: 246.3 kB / 0.6711 GB, free: 7.203 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003974/0.758, allocations: 2.376 MB / 0.6734 GB, free: 4.75 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.758, allocations: 0.5625 kB / 0.6734 GB, free: 4.75 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001408/0.7594, allocations: 0.9457 MB / 0.6743 GB, free: 3.781 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.7606, allocations: 183.6 kB / 0.6745 GB, free: 3.602 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005431/0.766, allocations: 2.873 MB / 0.6773 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/0.7674, allocations: 1.498 MB / 0.6788 GB, free: 15.14 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0015/0.7689, allocations: 462.1 kB / 0.6792 GB, free: 14.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003091/0.7692, allocations: 91.42 kB / 0.6793 GB, free: 14.59 MB / 490.7 MB Notification: Performance of SimCode: time 1.323e-06/0.7692, allocations: 0 / 0.6793 GB, free: 14.59 MB / 490.7 MB Notification: Performance of Templates: time 0.03215/0.8014, allocations: 15.86 MB / 0.6948 GB, free: 14.73 MB / 0.4948 GB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transformation.TapChanger.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches