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.00117/0.00117, allocations: 108.3 kB / 17.06 MB, free: 5.824 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.001187/0.001187, allocations: 191 kB / 18 MB, free: 4.977 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.374/1.374, 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.1765/0.1765, allocations: 38.04 MB / 329.9 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 63.89 kB / 458.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4289/0.4303, allocations: 58.06 MB / 0.5041 GB, free: 7.688 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.009994/0.4403, allocations: 9.083 MB / 0.513 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006889/0.4473, allocations: 3.359 MB / 0.5163 GB, free: 14.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.4484, allocations: 35.06 kB / 0.5163 GB, free: 14.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00302/0.4514, allocations: 1.046 MB / 0.5173 GB, free: 14.33 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003127/0.4545, allocations: 1.101 MB / 0.5184 GB, free: 13.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002513/0.4571, allocations: 0.6883 MB / 0.5191 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003906/0.461, allocations: 2.387 MB / 0.5214 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/0.4623, allocations: 0.8123 MB / 0.5222 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002459/0.4647, allocations: 1.01 MB / 0.5232 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002248/0.467, allocations: 1.339 MB / 0.5245 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002823/0.4673, allocations: 128.3 kB / 0.5246 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.4688, allocations: 0.5729 MB / 0.5252 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001311/0.4701, allocations: 0.9288 MB / 0.5261 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00121/0.4714, allocations: 0.8958 MB / 0.5269 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003654/0.475, allocations: 2.338 MB / 0.5292 GB, free: 9.148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.4751, allocations: 1.094 kB / 0.5292 GB, free: 9.148 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.5e-06/0.4751, allocations: 3.984 kB / 0.5292 GB, free: 9.145 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.888e-05/0.4751, allocations: 3.938 kB / 0.5292 GB, free: 9.141 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.005067/0.4802, allocations: 2.018 MB / 0.5312 GB, free: 7.652 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.4802, allocations: 12.3 kB / 0.5312 GB, free: 7.648 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002109/0.4824, allocations: 354.7 kB / 0.5316 GB, free: 7.477 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002773/0.4852, allocations: 1.082 MB / 0.5326 GB, free: 6.703 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.657e-05/0.4853, allocations: 98.86 kB / 0.5327 GB, free: 6.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000424/0.4857, allocations: 171 kB / 0.5329 GB, free: 6.594 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004654/0.4904, allocations: 2.324 MB / 0.5351 GB, free: 5.102 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.901e-05/0.4905, allocations: 12.25 kB / 0.5351 GB, free: 5.094 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/0.4906, allocations: 60.86 kB / 0.5352 GB, free: 5.051 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006121/0.4912, allocations: 225.4 kB / 0.5354 GB, free: 4.977 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003741/0.495, allocations: 1.851 MB / 0.5372 GB, free: 4.098 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.01336/0.5084, allocations: 9.517 MB / 0.5465 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002578/0.511, allocations: 1.542 MB / 0.548 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008407/0.5118, allocations: 0.6059 MB / 0.5486 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.931e-05/0.5119, allocations: 24.97 kB / 0.5486 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001167/0.5131, allocations: 0.8567 MB / 0.5495 GB, free: 9.242 MB / 414.1 MB Notification: Performance of pre-optimization done (n=130): time 3.507e-06/0.5131, allocations: 0 / 0.5495 GB, free: 9.242 MB / 414.1 MB Notification: Performance of matching and sorting (n=131): time 0.006737/0.5199, allocations: 4.019 MB / 0.5534 GB, free: 5.121 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000195/0.5201, allocations: 278.3 kB / 0.5537 GB, free: 4.789 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.5214, allocations: 0.9185 MB / 0.5546 GB, free: 3.848 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.5215, allocations: 49.95 kB / 0.5546 GB, free: 3.793 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007742/0.5223, allocations: 0.7706 MB / 0.5554 GB, free: 3.008 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004126/0.5227, allocations: 453.6 kB / 0.5558 GB, free: 2.559 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004176/0.5231, allocations: 323.2 kB / 0.5561 GB, free: 2.238 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.5233, allocations: 361.9 kB / 0.5565 GB, free: 1.879 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008619/0.5242, allocations: 0.5778 MB / 0.557 GB, free: 1.301 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.5254, allocations: 1.174 MB / 0.5582 GB, free: 15.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002399/0.5278, allocations: 2.004 MB / 0.5601 GB, free: 13.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-05/0.5279, allocations: 8 kB / 0.5601 GB, free: 13.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004431/0.5323, allocations: 2.493 MB / 0.5626 GB, free: 11.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.476e-05/0.5324, allocations: 75.39 kB / 0.5626 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002746/0.5351, allocations: 1.56 MB / 0.5642 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001601/0.5368, allocations: 0.542 MB / 0.5647 GB, free: 8.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.538, allocations: 331.5 kB / 0.565 GB, free: 8.496 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/0.5485, allocations: 9.453 MB / 0.5742 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.5499, allocations: 75.88 kB / 0.5743 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001758/0.5501, allocations: 99.97 kB / 0.5744 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.001229/0.5513, allocations: 0.592 MB / 0.575 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/0.5515, allocations: 122.5 kB / 0.5751 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002538/0.5541, allocations: 1.543 MB / 0.5766 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.5541, allocations: 12 kB / 0.5766 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.948e-06/0.5541, allocations: 11.94 kB / 0.5766 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.5541, allocations: 7.922 kB / 0.5766 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004981/0.5591, allocations: 3.072 MB / 0.5796 GB, free: 8.824 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.5592, allocations: 0 / 0.5796 GB, free: 8.824 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001365/0.5605, allocations: 299.8 kB / 0.5799 GB, free: 8.531 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/0.5606, allocations: 8 kB / 0.5799 GB, free: 8.523 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.328e-05/0.5606, allocations: 35.97 kB / 0.58 GB, free: 8.488 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.008e-05/0.5607, allocations: 8 kB / 0.58 GB, free: 8.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.5607, allocations: 3.938 kB / 0.58 GB, free: 8.477 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003049/0.5637, allocations: 2.33 MB / 0.5822 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006554/0.5644, allocations: 287.5 kB / 0.5825 GB, free: 5.797 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.5645, allocations: 32 kB / 0.5826 GB, free: 5.766 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005413/0.5651, allocations: 39.97 kB / 0.5826 GB, free: 5.727 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/0.5653, allocations: 88.77 kB / 0.5827 GB, free: 5.641 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/0.5654, allocations: 79.91 kB / 0.5828 GB, free: 5.562 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008266/0.5662, allocations: 0.6025 MB / 0.5833 GB, free: 4.949 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5662, allocations: 0 / 0.5833 GB, free: 4.949 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001616/0.5679, allocations: 420 kB / 0.5837 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.0002287/0.5681, allocations: 149 kB / 0.5839 GB, free: 4.387 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003707/0.5718, allocations: 2.32 MB / 0.5861 GB, free: 1.988 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.5718, allocations: 0.6875 kB / 0.5861 GB, free: 1.988 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.573, allocations: 0.875 MB / 0.587 GB, free: 1.086 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.5741, allocations: 220.1 kB / 0.5872 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005673/0.5798, allocations: 3.375 MB / 0.5905 GB, free: 13.45 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001201/0.581, allocations: 1.469 MB / 0.5919 GB, free: 11.95 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00112/0.5822, allocations: 466.3 kB / 0.5924 GB, free: 11.49 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002638/0.5824, allocations: 95.42 kB / 0.5925 GB, free: 11.4 MB / 462.1 MB Notification: Performance of SimCode: time 1.162e-06/0.5825, allocations: 0 / 0.5925 GB, free: 11.4 MB / 462.1 MB Notification: Performance of Templates: time 0.02676/0.6092, allocations: 15.7 MB / 0.6078 GB, free: 11.8 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