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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.001044, allocations: 110.3 kB / 17.75 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009891/0.0009891, allocations: 185.4 kB / 18.68 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.261/1.261, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2035/0.2035, allocations: 38.04 MB / 330.6 MB, free: 8.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.91 kB / 458.8 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2679, allocations: 58.06 MB / 0.5048 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.007452/0.2754, allocations: 9.083 MB / 0.5136 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004932/0.2804, allocations: 3.365 MB / 0.5169 GB, free: 15.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004157/0.2808, allocations: 39.47 kB / 0.517 GB, free: 15.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002534/0.2833, allocations: 1.045 MB / 0.518 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002284/0.2856, allocations: 1.093 MB / 0.5191 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.2874, allocations: 0.6853 MB / 0.5197 GB, free: 13.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003003/0.2904, allocations: 2.387 MB / 0.5221 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.2916, allocations: 0.8189 MB / 0.5229 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/0.2932, allocations: 1.002 MB / 0.5238 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001725/0.295, allocations: 1.336 MB / 0.5251 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002186/0.2952, allocations: 127.7 kB / 0.5253 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.2964, allocations: 0.5802 MB / 0.5258 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001053/0.2975, allocations: 0.9249 MB / 0.5267 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001001/0.2985, allocations: 0.9003 MB / 0.5276 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002432/0.3009, allocations: 2.337 MB / 0.5299 GB, free: 9.168 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3009, allocations: 4 kB / 0.5299 GB, free: 9.164 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.471e-06/0.3009, allocations: 3.984 kB / 0.5299 GB, free: 9.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.172e-05/0.301, allocations: 5.594 kB / 0.5299 GB, free: 9.156 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: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.00327/0.3042, allocations: 2.01 MB / 0.5319 GB, free: 7.672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.3043, allocations: 12.77 kB / 0.5319 GB, free: 7.668 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001753/0.3061, allocations: 358 kB / 0.5322 GB, free: 7.492 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001933/0.308, allocations: 1.077 MB / 0.5333 GB, free: 6.723 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.607e-05/0.3081, allocations: 103.9 kB / 0.5334 GB, free: 6.676 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003213/0.3084, allocations: 170.9 kB / 0.5335 GB, free: 6.609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003235/0.3117, allocations: 2.324 MB / 0.5358 GB, free: 5.117 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.253e-05/0.3117, allocations: 8.062 kB / 0.5358 GB, free: 5.113 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001499/0.3119, allocations: 61.31 kB / 0.5359 GB, free: 5.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005129/0.3124, allocations: 225 kB / 0.5361 GB, free: 4.996 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002811/0.3152, allocations: 1.844 MB / 0.5379 GB, free: 4.125 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01014/0.3254, allocations: 9.52 MB / 0.5472 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002135/0.3275, allocations: 1.545 MB / 0.5487 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008152/0.3283, allocations: 0.6059 MB / 0.5493 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.22e-05/0.3284, allocations: 20.97 kB / 0.5493 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001062/0.3295, allocations: 0.8606 MB / 0.5501 GB, free: 9.219 MB / 414.1 MB Notification: Performance of pre-optimization done (n=130): time 5.741e-06/0.3295, allocations: 0 / 0.5501 GB, free: 9.219 MB / 414.1 MB Notification: Performance of matching and sorting (n=131): time 0.005613/0.3351, allocations: 4.019 MB / 0.5541 GB, free: 5.098 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.3353, allocations: 286.4 kB / 0.5543 GB, free: 4.758 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009658/0.3362, allocations: 0.9185 MB / 0.5552 GB, free: 3.816 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.138e-05/0.3363, allocations: 49.7 kB / 0.5553 GB, free: 3.762 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004928/0.3368, allocations: 0.7627 MB / 0.556 GB, free: 2.984 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003474/0.3372, allocations: 457.6 kB / 0.5565 GB, free: 2.531 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004041/0.3376, allocations: 323.2 kB / 0.5568 GB, free: 2.211 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3377, allocations: 361.9 kB / 0.5571 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008611/0.3386, allocations: 0.5778 MB / 0.5577 GB, free: 1.273 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.3398, allocations: 1.178 MB / 0.5588 GB, free: 15.83 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002288/0.3421, allocations: 1.993 MB / 0.5608 GB, free: 13.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.3421, allocations: 8 kB / 0.5608 GB, free: 13.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004283/0.3464, allocations: 2.493 MB / 0.5632 GB, free: 11.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.437e-05/0.3465, allocations: 67.39 kB / 0.5633 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002957/0.3495, allocations: 1.567 MB / 0.5648 GB, free: 9.355 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001596/0.3511, allocations: 0.5459 MB / 0.5654 GB, free: 8.801 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.3521, allocations: 327.5 kB / 0.5657 GB, free: 8.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009893/0.362, allocations: 9.451 MB / 0.5749 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.363, allocations: 79.81 kB / 0.575 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002056/0.3633, allocations: 104 kB / 0.5751 GB, free: 14.29 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (175): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (2,11,100.0%), (2,12,100.0%), (2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000979/0.3642, allocations: 0.5958 MB / 0.5757 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002191/0.3645, allocations: 126.5 kB / 0.5758 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002343/0.3668, allocations: 1.539 MB / 0.5773 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.3668, allocations: 3.984 kB / 0.5773 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.3669, allocations: 0 / 0.5773 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005751/0.3674, allocations: 299.4 kB / 0.5776 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.3676, allocations: 31.98 kB / 0.5776 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000498/0.3681, allocations: 43.97 kB / 0.5776 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.3683, allocations: 76.89 kB / 0.5777 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003331/0.3716, allocations: 1.996 MB / 0.5797 GB, free: 9.484 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003152/0.3748, allocations: 2.558 MB / 0.5822 GB, free: 6.895 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008694/0.3757, allocations: 0.6913 MB / 0.5828 GB, free: 6.203 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007686/0.3764, allocations: 0.6025 MB / 0.5834 GB, free: 5.59 MB / 446.1 MB Notification: Performance of Backend: time 4.61e-07/0.3764, allocations: 4 kB / 0.5834 GB, free: 5.586 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004057/0.3805, allocations: 2.086 MB / 0.5855 GB, free: 3.422 MB / 446.1 MB Notification: Performance of SimCode: time 0.004749/0.3853, allocations: 3.514 MB / 0.5889 GB, free: 15.83 MB / 462.1 MB Notification: Performance of Templates: time 0.03174/0.417, allocations: 20.02 MB / 0.6084 GB, free: 11.9 MB / 478.1 MB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transformation.TapChanger.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches