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.00141/0.00141, allocations: 112.2 kB / 17.74 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.001541/0.001541, allocations: 187.1 kB / 18.67 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.356/1.356, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1865/0.1865, allocations: 38.03 MB / 330.6 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 55.91 kB / 458.8 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3154, allocations: 58.07 MB / 0.5048 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.009357/0.3249, allocations: 9.078 MB / 0.5136 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006539/0.3315, allocations: 3.361 MB / 0.5169 GB, free: 15.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001404/0.3329, allocations: 39.19 kB / 0.517 GB, free: 15.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003197/0.3362, allocations: 1.041 MB / 0.518 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003692/0.3399, allocations: 1.101 MB / 0.519 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002615/0.3425, allocations: 0.6885 MB / 0.5197 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004258/0.3468, allocations: 2.383 MB / 0.522 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00148/0.3483, allocations: 0.8168 MB / 0.5228 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00278/0.3511, allocations: 1.001 MB / 0.5238 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002736/0.3539, allocations: 1.343 MB / 0.5251 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003179/0.3542, allocations: 128.9 kB / 0.5253 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001605/0.3558, allocations: 0.5774 MB / 0.5258 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001251/0.3571, allocations: 0.9206 MB / 0.5267 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001547/0.3587, allocations: 0.9042 MB / 0.5276 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004159/0.3628, allocations: 2.339 MB / 0.5299 GB, free: 9.199 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3629, allocations: 1.125 kB / 0.5299 GB, free: 9.199 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3629, allocations: 4 kB / 0.5299 GB, free: 9.195 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.984e-05/0.363, allocations: 0 / 0.5299 GB, free: 9.195 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.004535/0.3675, allocations: 2.015 MB / 0.5319 GB, free: 7.707 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.3676, allocations: 13.27 kB / 0.5319 GB, free: 7.703 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002014/0.3696, allocations: 354.2 kB / 0.5322 GB, free: 7.531 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002458/0.3721, allocations: 1.074 MB / 0.5333 GB, free: 6.766 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.3722, allocations: 106.9 kB / 0.5334 GB, free: 6.715 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004001/0.3726, allocations: 175.8 kB / 0.5335 GB, free: 6.645 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003918/0.3765, allocations: 2.319 MB / 0.5358 GB, free: 5.156 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.777e-05/0.3766, allocations: 9.344 kB / 0.5358 GB, free: 5.152 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001546/0.3768, allocations: 64.72 kB / 0.5359 GB, free: 5.105 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005632/0.3773, allocations: 224.9 kB / 0.5361 GB, free: 5.031 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00317/0.3805, allocations: 1.847 MB / 0.5379 GB, free: 4.156 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.01293/0.3935, allocations: 9.514 MB / 0.5472 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002277/0.3958, allocations: 1.556 MB / 0.5487 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008675/0.3967, allocations: 0.6059 MB / 0.5493 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.252e-05/0.3968, allocations: 20.98 kB / 0.5493 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00108/0.3978, allocations: 0.849 MB / 0.5501 GB, free: 9.246 MB / 414.1 MB Notification: Performance of pre-optimization done (n=130): time 3.156e-06/0.3979, allocations: 0 / 0.5501 GB, free: 9.246 MB / 414.1 MB Notification: Performance of matching and sorting (n=131): time 0.006234/0.4041, allocations: 4.019 MB / 0.5541 GB, free: 5.125 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001414/0.4043, allocations: 290.5 kB / 0.5543 GB, free: 4.781 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.4055, allocations: 0.9147 MB / 0.5552 GB, free: 3.844 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.21e-05/0.4056, allocations: 49.7 kB / 0.5553 GB, free: 3.789 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006785/0.4062, allocations: 0.7666 MB / 0.556 GB, free: 3.008 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003731/0.4066, allocations: 457.6 kB / 0.5565 GB, free: 2.555 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004125/0.407, allocations: 323.2 kB / 0.5568 GB, free: 2.234 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.4072, allocations: 361.9 kB / 0.5571 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008397/0.4081, allocations: 0.5739 MB / 0.5577 GB, free: 1.301 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001367/0.4094, allocations: 1.178 MB / 0.5588 GB, free: 15.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002326/0.4118, allocations: 1.997 MB / 0.5608 GB, free: 13.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.4118, allocations: 7.938 kB / 0.5608 GB, free: 13.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004321/0.4161, allocations: 2.493 MB / 0.5632 GB, free: 11.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.116e-05/0.4162, allocations: 67.41 kB / 0.5633 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00283/0.419, allocations: 1.559 MB / 0.5648 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001601/0.4207, allocations: 0.5575 MB / 0.5653 GB, free: 8.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.4219, allocations: 323.5 kB / 0.5657 GB, free: 8.504 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/0.4328, allocations: 9.455 MB / 0.5749 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.4342, allocations: 71.88 kB / 0.575 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003128/0.4345, allocations: 115.9 kB / 0.5751 GB, free: 14.31 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.001256/0.4358, allocations: 0.5842 MB / 0.5756 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003042/0.4361, allocations: 126.5 kB / 0.5758 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002709/0.4388, allocations: 1.543 MB / 0.5773 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.991e-05/0.4388, allocations: 19.94 kB / 0.5773 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.4388, allocations: 3.938 kB / 0.5773 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.4389, allocations: 3.984 kB / 0.5773 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005908/0.4448, allocations: 3.076 MB / 0.5803 GB, free: 8.824 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/0.4448, allocations: 4 kB / 0.5803 GB, free: 8.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00146/0.4463, allocations: 295.8 kB / 0.5806 GB, free: 8.531 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.925e-05/0.4463, allocations: 11.94 kB / 0.5806 GB, free: 8.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.4464, allocations: 35.98 kB / 0.5806 GB, free: 8.484 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.195e-05/0.4465, allocations: 4 kB / 0.5806 GB, free: 8.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.4465, allocations: 7.938 kB / 0.5806 GB, free: 8.473 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003306/0.4498, allocations: 2.322 MB / 0.5829 GB, free: 6.102 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007917/0.4506, allocations: 291.5 kB / 0.5832 GB, free: 5.797 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002697/0.4509, allocations: 31.98 kB / 0.5832 GB, free: 5.766 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007875/0.4517, allocations: 47.97 kB / 0.5833 GB, free: 5.719 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001801/0.4519, allocations: 76.84 kB / 0.5833 GB, free: 5.645 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001424/0.452, allocations: 79.86 kB / 0.5834 GB, free: 5.566 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001152/0.4532, allocations: 0.5986 MB / 0.584 GB, free: 4.957 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4532, allocations: 0 / 0.584 GB, free: 4.957 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002137/0.4553, allocations: 428 kB / 0.5844 GB, free: 4.539 MB / 446.1 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002913/0.4556, allocations: 139.1 kB / 0.5845 GB, free: 4.395 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004129/0.4598, allocations: 2.32 MB / 0.5868 GB, free: 1.996 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.812e-06/0.4598, allocations: 0 / 0.5868 GB, free: 1.996 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001373/0.4612, allocations: 0.8789 MB / 0.5877 GB, free: 1.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/0.4629, allocations: 229.4 kB / 0.5879 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007348/0.4702, allocations: 3.513 MB / 0.5913 GB, free: 13.31 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001614/0.4719, allocations: 1.465 MB / 0.5927 GB, free: 11.81 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005321/0.4724, allocations: 99.42 kB / 0.5928 GB, free: 11.71 MB / 462.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4725, allocations: 0 / 0.5928 GB, free: 11.71 MB / 462.1 MB Notification: Performance of Templates: time 0.04176/0.5142, allocations: 28.19 MB / 0.6204 GB, free: 15.51 MB / 494.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