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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.535/1.535, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.3063/0.3063, allocations: 29.41 MB / 290.5 MB, free: 2.434 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.89e-05/3.04e-05, allocations: 2.312 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01371/0.01374, allocations: 9.019 MB / 377.9 MB, free: 2.266 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007616/0.02135, allocations: 3.353 MB / 381.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001062/0.02242, allocations: 47.56 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00344/0.02585, allocations: 1.046 MB / 382.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003377/0.02923, allocations: 1.143 MB / 383.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002274/0.03151, allocations: 0.7284 MB / 384.2 MB, free: 11.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003716/0.03522, allocations: 2.425 MB / 386.6 MB, free: 9.496 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/0.03662, allocations: 0.6547 MB / 387.3 MB, free: 8.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002941/0.03956, allocations: 1.317 MB / 388.6 MB, free: 7.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002384/0.04194, allocations: 1.368 MB / 390 MB, free: 6.129 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002515/0.04219, allocations: 128 kB / 390.1 MB, free: 6.004 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.04363, allocations: 0.6238 MB / 390.7 MB, free: 5.379 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001207/0.04484, allocations: 1.002 MB / 391.7 MB, free: 4.375 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009327/0.04577, allocations: 0.6235 MB / 392.3 MB, free: 3.75 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003709/0.04948, allocations: 2.442 MB / 394.8 MB, free: 1.301 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.04949, allocations: 0 / 394.8 MB, free: 1.301 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.677e-06/0.04949, allocations: 0 / 394.8 MB, free: 1.301 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.446e-05/0.04957, allocations: 0 / 394.8 MB, free: 1.301 MB / 362.7 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.004713/0.05428, allocations: 2.202 MB / 397 MB, free: 15.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.05433, allocations: 15.98 kB / 397 MB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002781/0.05711, allocations: 0.6278 MB / 397.6 MB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002384/0.0595, allocations: 0.9899 MB / 398.6 MB, free: 13.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.0596, allocations: 103.1 kB / 398.7 MB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003737/0.05998, allocations: 164.8 kB / 398.9 MB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003185/0.06316, allocations: 1.788 MB / 400.7 MB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.289e-05/0.06321, allocations: 11.89 kB / 400.7 MB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/0.06337, allocations: 63.97 kB / 400.7 MB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005839/0.06395, allocations: 226.8 kB / 401 MB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002359/0.06631, allocations: 1.014 MB / 402 MB, free: 9.773 MB / 378.7 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.01373/0.08004, allocations: 9.959 MB / 411.9 MB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002026/0.08207, allocations: 0.9779 MB / 412.9 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007452/0.08282, allocations: 417.5 kB / 413.3 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.329e-05/0.0829, allocations: 29 kB / 413.4 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00121/0.08411, allocations: 0.7802 MB / 414.1 MB, free: 13.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=130): time 3.246e-06/0.08411, allocations: 0 / 414.1 MB, free: 13.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=131): time 0.006016/0.09013, allocations: 3.204 MB / 417.3 MB, free: 9.809 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000212/0.09034, allocations: 286.3 kB / 417.6 MB, free: 9.469 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/0.09184, allocations: 1.064 MB / 418.7 MB, free: 8.379 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.83e-05/0.09193, allocations: 53.69 kB / 418.7 MB, free: 8.32 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008689/0.0928, allocations: 0.8773 MB / 419.6 MB, free: 7.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005024/0.0933, allocations: 0.4926 MB / 420.1 MB, free: 6.934 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005692/0.09387, allocations: 373.1 kB / 420.5 MB, free: 6.559 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003834/0.09425, allocations: 0.559 MB / 421 MB, free: 5.992 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006974/0.09495, allocations: 347.2 kB / 421.4 MB, free: 5.641 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/0.09651, allocations: 1.232 MB / 422.6 MB, free: 4.035 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002661/0.09917, allocations: 1.734 MB / 424.3 MB, free: 1.906 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.498e-05/0.09918, allocations: 12 kB / 424.3 MB, free: 1.895 MB / 394.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004238/0.1034, allocations: 1.962 MB / 426.3 MB, free: 15.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.973e-05/0.1035, allocations: 67.59 kB / 426.4 MB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002483/0.106, allocations: 1.02 MB / 427.4 MB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001985/0.108, allocations: 0.5178 MB / 427.9 MB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.1092, allocations: 335.5 kB / 428.2 MB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01177/0.1209, allocations: 9.057 MB / 437.3 MB, free: 4.375 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.1221, allocations: 67.97 kB / 437.4 MB, free: 4.309 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001859/0.1223, allocations: 104 kB / 437.5 MB, free: 4.207 MB / 410.7 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.0008562/0.1231, allocations: 369.4 kB / 437.8 MB, free: 3.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004179/0.1235, allocations: 183.1 kB / 438 MB, free: 3.641 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002429/0.126, allocations: 1.213 MB / 439.2 MB, free: 2.387 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.126, allocations: 12 kB / 439.2 MB, free: 2.375 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.126, allocations: 0 / 439.2 MB, free: 2.375 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.746e-05/0.126, allocations: 7.969 kB / 439.2 MB, free: 2.367 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1554/0.2814, allocations: 2.654 MB / 441.9 MB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.2815, allocations: 2.906 kB / 441.9 MB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001334/0.2828, allocations: 298.4 kB / 442.2 MB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.127e-05/0.2828, allocations: 6.438 kB / 442.2 MB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.617e-05/0.2829, allocations: 37.16 kB / 442.2 MB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/0.2829, allocations: 8.062 kB / 442.2 MB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2829, allocations: 3.219 kB / 442.2 MB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00225/0.2852, allocations: 1.863 MB / 444.1 MB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005745/0.2857, allocations: 205.6 kB / 444.3 MB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/0.2859, allocations: 37 kB / 444.3 MB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005149/0.2864, allocations: 41.88 kB / 444.4 MB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.2865, allocations: 88.58 kB / 444.5 MB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/0.2867, allocations: 78.39 kB / 444.5 MB, free: 105.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005851/0.2872, allocations: 0.5568 MB / 445.1 MB, free: 104.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2872, allocations: 0 / 445.1 MB, free: 104.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001297/0.2885, allocations: 423.9 kB / 445.5 MB, free: 104.9 MB / 410.7 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.0001775/0.2887, allocations: 144.1 kB / 445.7 MB, free: 104.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002582/0.2913, allocations: 2.266 MB / 447.9 MB, free: 103.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.2913, allocations: 0 / 447.9 MB, free: 103.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006642/0.292, allocations: 0.676 MB / 448.6 MB, free: 103.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009755/0.2929, allocations: 228.6 kB / 448.8 MB, free: 103.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004174/0.2971, allocations: 2.986 MB / 451.8 MB, free: 102.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007511/0.2979, allocations: 0.8256 MB / 452.6 MB, free: 102.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009273/0.2988, allocations: 411.4 kB / 453 MB, free: 102.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/0.299, allocations: 89.23 kB / 453.1 MB, free: 102.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.653e-06/0.299, allocations: 2.188 kB / 453.1 MB, free: 102.2 MB / 410.7 MB Notification: Performance of Templates: time 0.02348/0.3225, allocations: 15.35 MB / 468.5 MB, free: 100.6 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1) [Timeout 240] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.565241125994362]