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.0007094/0.0007096, allocations: 88.61 kB / 16.31 MB, free: 6.449 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.0007894/0.0007895, allocations: 180.3 kB / 17.21 MB, free: 6.32 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.252/1.252, allocations: 223.3 MB / 241.2 MB, free: 5.195 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2664/0.2664, allocations: 38.07 MB / 330.4 MB, free: 14.14 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003053/0.0003054, allocations: 8 kB / 400.1 MB, free: 9.266 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2511, allocations: 59.17 MB / 459.2 MB, free: 30.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.00747/0.2586, allocations: 9.584 MB / 468.8 MB, free: 23.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005578/0.2642, allocations: 3.678 MB / 472.5 MB, free: 20.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009455/0.2652, allocations: 62.16 kB / 472.6 MB, free: 20.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007529/0.2659, allocations: 336.5 kB / 472.9 MB, free: 20.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002211/0.2681, allocations: 1.117 MB / 474 MB, free: 20.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001997/0.2702, allocations: 0.6374 MB / 474.6 MB, free: 19.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004995/0.2752, allocations: 3.097 MB / 477.7 MB, free: 18.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001795/0.277, allocations: 1.104 MB / 478.8 MB, free: 17.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001313/0.2783, allocations: 0.8262 MB / 479.7 MB, free: 17.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001524/0.2798, allocations: 1.361 MB / 481 MB, free: 16.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.28, allocations: 72.42 kB / 481.1 MB, free: 16.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009077/0.2809, allocations: 439.5 kB / 481.5 MB, free: 16.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006383/0.2816, allocations: 0.8782 MB / 482.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002999/0.2819, allocations: 331 kB / 482.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.2831, allocations: 1.744 MB / 484.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2831, allocations: 4 kB / 484.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2831, allocations: 0 / 484.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.759e-05/0.2832, allocations: 1.094 kB / 484.5 MB, free: 14.58 MB / 350.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.002124/0.2853, allocations: 1.699 MB / 486.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.835e-05/0.2853, allocations: 11.97 kB / 486.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/0.2867, allocations: 357.4 kB / 486.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.2879, allocations: 0.9923 MB / 487.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.268e-05/0.288, allocations: 106.7 kB / 487.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002475/0.2882, allocations: 160 kB / 487.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002351/0.2906, allocations: 2.316 MB / 490.1 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.78e-05/0.2906, allocations: 19.78 kB / 490.1 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.2908, allocations: 59.97 kB / 490.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000363/0.2911, allocations: 226.8 kB / 490.4 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002059/0.2932, allocations: 1.838 MB / 492.2 MB, free: 6.625 MB / 350.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.00745/0.3007, allocations: 9.567 MB / 0.4901 GB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001909/0.3026, allocations: 1.539 MB / 0.4916 GB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007314/0.3033, allocations: 0.5981 MB / 0.4921 GB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.907e-05/0.3034, allocations: 24.95 kB / 0.4922 GB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009955/0.3044, allocations: 0.8527 MB / 0.493 GB, free: 9.434 MB / 366.1 MB Notification: Performance of pre-optimization done (n=130): time 2.585e-06/0.3044, allocations: 0 / 0.493 GB, free: 9.434 MB / 366.1 MB Notification: Performance of matching and sorting (n=131): time 0.00517/0.3096, allocations: 3.988 MB / 0.4969 GB, free: 5.348 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.3097, allocations: 290.3 kB / 0.4972 GB, free: 5.004 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009705/0.3107, allocations: 0.9106 MB / 0.4981 GB, free: 4.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.241e-05/0.3108, allocations: 53.95 kB / 0.4981 GB, free: 4.012 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000507/0.3113, allocations: 0.7628 MB / 0.4989 GB, free: 3.234 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002968/0.3116, allocations: 457.7 kB / 0.4993 GB, free: 2.781 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.868e-05/0.3117, allocations: 36 kB / 0.4993 GB, free: 2.746 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.3118, allocations: 434.7 kB / 0.4997 GB, free: 2.312 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007882/0.3126, allocations: 0.5699 MB / 0.5003 GB, free: 1.742 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.3137, allocations: 1.17 MB / 0.5014 GB, free: 316 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.3148, allocations: 0.8373 MB / 0.5023 GB, free: 15.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.3148, allocations: 8 kB / 0.5023 GB, free: 15.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.003749/0.3186, allocations: 2.474 MB / 0.5047 GB, free: 12.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.181e-05/0.3186, allocations: 63.41 kB / 0.5047 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002457/0.3211, allocations: 1.565 MB / 0.5063 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001375/0.3225, allocations: 0.5478 MB / 0.5068 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009646/0.3234, allocations: 323.5 kB / 0.5071 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008382/0.3318, allocations: 8.689 MB / 0.5156 GB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.3329, allocations: 75.97 kB / 0.5157 GB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/0.333, allocations: 111.8 kB / 0.5158 GB, free: 1.012 MB / 382.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,$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 () * 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 (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.0008523/0.3339, allocations: 0.592 MB / 0.5164 GB, free: 404 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.334, allocations: 126.4 kB / 0.5165 GB, free: 276 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00212/0.3362, allocations: 1.531 MB / 0.518 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.3362, allocations: 12 kB / 0.518 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.634e-06/0.3362, allocations: 4 kB / 0.518 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.3362, allocations: 7.969 kB / 0.518 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003953/0.3402, allocations: 3.075 MB / 0.521 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3402, allocations: 0 / 0.521 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/0.3414, allocations: 299.8 kB / 0.5213 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/0.3414, allocations: 11.95 kB / 0.5213 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.157e-05/0.3415, allocations: 35.98 kB / 0.5213 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.3415, allocations: 8 kB / 0.5213 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3415, allocations: 0 / 0.5213 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002695/0.3442, allocations: 2.304 MB / 0.5236 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004325/0.3447, allocations: 299.5 kB / 0.5239 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.3448, allocations: 35.94 kB / 0.5239 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004755/0.3453, allocations: 47.97 kB / 0.524 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.3454, allocations: 76.89 kB / 0.524 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/0.3456, allocations: 91.83 kB / 0.5241 GB, free: 8.266 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006879/0.3463, allocations: 0.5908 MB / 0.5247 GB, free: 7.664 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3463, allocations: 0 / 0.5247 GB, free: 7.664 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00129/0.3476, allocations: 420 kB / 0.5251 GB, free: 7.254 MB / 398.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 (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.0001749/0.3478, allocations: 151 kB / 0.5252 GB, free: 7.098 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002931/0.3507, allocations: 2.299 MB / 0.5275 GB, free: 4.727 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3507, allocations: 4 kB / 0.5275 GB, free: 4.723 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000978/0.3517, allocations: 0.8711 MB / 0.5283 GB, free: 3.828 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009843/0.3527, allocations: 218.4 kB / 0.5285 GB, free: 3.617 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005677/0.3584, allocations: 4.029 MB / 0.5325 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/0.3597, allocations: 1.465 MB / 0.5339 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00121/0.3609, allocations: 466.3 kB / 0.5344 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002602/0.3612, allocations: 95.42 kB / 0.5344 GB, free: 13.48 MB / 414.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3612, allocations: 0 / 0.5344 GB, free: 13.48 MB / 414.1 MB Notification: Performance of Templates: time 0.02287/0.384, allocations: 13.96 MB / 0.5481 GB, free: 15.61 MB / 430.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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