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.001336/0.001336, allocations: 110.3 kB / 17.06 MB, free: 6.129 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.00146/0.001461, allocations: 191 kB / 18 MB, free: 5.207 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.494/1.494, allocations: 222.9 MB / 241.7 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.184/0.184, allocations: 38.04 MB / 329.9 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 67.89 kB / 458.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4546/0.4567, allocations: 58.05 MB / 0.5041 GB, free: 7.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01035/0.4671, allocations: 9.078 MB / 0.513 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007623/0.4748, allocations: 3.368 MB / 0.5163 GB, free: 14.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001442/0.4763, allocations: 33.81 kB / 0.5163 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003501/0.4798, allocations: 1.049 MB / 0.5173 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00398/0.4838, allocations: 1.11 MB / 0.5184 GB, free: 13.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002709/0.4865, allocations: 0.6876 MB / 0.5191 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004811/0.4914, allocations: 2.391 MB / 0.5214 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001484/0.4929, allocations: 0.8207 MB / 0.5222 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002785/0.4957, allocations: 1 MB / 0.5232 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003236/0.4989, allocations: 1.339 MB / 0.5245 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004013/0.4993, allocations: 128.8 kB / 0.5246 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001846/0.5012, allocations: 0.5763 MB / 0.5252 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00138/0.5026, allocations: 0.9261 MB / 0.5261 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00156/0.5042, allocations: 0.8997 MB / 0.527 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003784/0.508, allocations: 2.34 MB / 0.5292 GB, free: 9.121 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.508, allocations: 4 kB / 0.5292 GB, free: 9.117 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.829e-06/0.508, allocations: 0 / 0.5292 GB, free: 9.117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.048e-05/0.5081, allocations: 5.219 kB / 0.5293 GB, free: 9.113 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.004623/0.5127, allocations: 2.013 MB / 0.5312 GB, free: 7.629 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.5128, allocations: 13.8 kB / 0.5312 GB, free: 7.625 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001987/0.5148, allocations: 357.2 kB / 0.5316 GB, free: 7.449 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00224/0.517, allocations: 1.082 MB / 0.5326 GB, free: 6.676 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.593e-05/0.5171, allocations: 103.3 kB / 0.5327 GB, free: 6.629 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000392/0.5175, allocations: 162.9 kB / 0.5329 GB, free: 6.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004006/0.5216, allocations: 2.324 MB / 0.5351 GB, free: 5.078 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.153e-05/0.5216, allocations: 8.531 kB / 0.5352 GB, free: 5.074 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001567/0.5218, allocations: 68.97 kB / 0.5352 GB, free: 5.023 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000563/0.5224, allocations: 220.9 kB / 0.5354 GB, free: 4.953 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003295/0.5257, allocations: 1.848 MB / 0.5372 GB, free: 4.078 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.01305/0.5387, allocations: 9.517 MB / 0.5465 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002948/0.5417, allocations: 1.548 MB / 0.548 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009782/0.5427, allocations: 0.6059 MB / 0.5486 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.593e-05/0.5428, allocations: 21 kB / 0.5487 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001306/0.5441, allocations: 0.8528 MB / 0.5495 GB, free: 9.273 MB / 414.1 MB Notification: Performance of pre-optimization done (n=130): time 6.141e-06/0.5442, allocations: 0 / 0.5495 GB, free: 9.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=131): time 0.008419/0.5526, allocations: 4.023 MB / 0.5534 GB, free: 5.148 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002348/0.5529, allocations: 282.3 kB / 0.5537 GB, free: 4.812 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/0.5543, allocations: 0.9147 MB / 0.5546 GB, free: 3.875 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.875e-05/0.5544, allocations: 49.7 kB / 0.5546 GB, free: 3.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007045/0.5551, allocations: 0.7628 MB / 0.5554 GB, free: 3.043 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003858/0.5555, allocations: 461.6 kB / 0.5558 GB, free: 2.586 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004473/0.556, allocations: 319.2 kB / 0.5561 GB, free: 2.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.5562, allocations: 366 kB / 0.5565 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009079/0.5571, allocations: 0.5739 MB / 0.557 GB, free: 1.332 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.5584, allocations: 1.174 MB / 0.5582 GB, free: 15.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0027/0.5612, allocations: 2.001 MB / 0.5601 GB, free: 13.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/0.5612, allocations: 4 kB / 0.5601 GB, free: 13.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.00451/0.5657, allocations: 2.501 MB / 0.5626 GB, free: 11.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.663e-05/0.5658, allocations: 71.66 kB / 0.5626 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002753/0.5685, allocations: 1.563 MB / 0.5642 GB, free: 9.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001632/0.5702, allocations: 0.5506 MB / 0.5647 GB, free: 8.848 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.5713, allocations: 323.5 kB / 0.565 GB, free: 8.531 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01071/0.5821, allocations: 9.461 MB / 0.5743 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.5835, allocations: 75.94 kB / 0.5743 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/0.5837, allocations: 104 kB / 0.5744 GB, free: 14.34 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.001162/0.5848, allocations: 0.588 MB / 0.575 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002047/0.5851, allocations: 130.5 kB / 0.5751 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002414/0.5875, allocations: 1.543 MB / 0.5766 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.5875, allocations: 12 kB / 0.5766 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.5875, allocations: 7.938 kB / 0.5766 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.5875, allocations: 3.984 kB / 0.5767 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004827/0.5924, allocations: 3.072 MB / 0.5797 GB, free: 8.852 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.776e-05/0.5924, allocations: 4 kB / 0.5797 GB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/0.5938, allocations: 295.8 kB / 0.5799 GB, free: 8.559 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.245e-05/0.5938, allocations: 8 kB / 0.5799 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-05/0.5939, allocations: 35.98 kB / 0.58 GB, free: 8.516 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.987e-06/0.5939, allocations: 4 kB / 0.58 GB, free: 8.512 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.5939, allocations: 4 kB / 0.58 GB, free: 8.508 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003182/0.5971, allocations: 2.326 MB / 0.5823 GB, free: 6.133 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006852/0.5978, allocations: 295.5 kB / 0.5825 GB, free: 5.824 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/0.598, allocations: 31.98 kB / 0.5826 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000548/0.5985, allocations: 43.97 kB / 0.5826 GB, free: 5.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/0.5987, allocations: 80.78 kB / 0.5827 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001423/0.5989, allocations: 75.92 kB / 0.5828 GB, free: 5.598 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008562/0.5997, allocations: 0.5986 MB / 0.5833 GB, free: 4.988 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5997, allocations: 4 kB / 0.5834 GB, free: 4.984 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00156/0.6013, allocations: 428 kB / 0.5838 GB, free: 4.566 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.0002271/0.6015, allocations: 135.1 kB / 0.5839 GB, free: 4.426 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003693/0.6052, allocations: 2.323 MB / 0.5862 GB, free: 2.023 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.6053, allocations: 0 / 0.5862 GB, free: 2.023 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001129/0.6064, allocations: 0.8804 MB / 0.587 GB, free: 1.117 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.6076, allocations: 233.6 kB / 0.5872 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006116/0.6137, allocations: 3.361 MB / 0.5905 GB, free: 13.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/0.615, allocations: 1.465 MB / 0.592 GB, free: 11.99 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001285/0.6163, allocations: 470.3 kB / 0.5924 GB, free: 11.52 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002577/0.6166, allocations: 91.42 kB / 0.5925 GB, free: 11.43 MB / 462.1 MB Notification: Performance of SimCode: time 1.202e-06/0.6166, allocations: 3.938 kB / 0.5925 GB, free: 11.43 MB / 462.1 MB Notification: Performance of Templates: time 0.02944/0.646, allocations: 15.71 MB / 0.6078 GB, free: 11.83 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transformation.TapChanger.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches