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.001035/0.001035, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001016/0.001016, allocations: 161 kB / 24.56 MB, free: 12 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 0.9211/0.9211, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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.2221/0.2221, allocations: 29.42 MB / 290.9 MB, free: 2.496 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.[0-9,]+.|meter1.v_norm|meter12.alpha_v|meter12.p.[0-9,]+.|meter12.v_norm|meter22.alpha_v|meter22.p.[0-9,]+.|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.[0-9,]+.|meter1.v_norm|meter12.alpha_v|meter12.p.[0-9,]+.|meter12.v_norm|meter22.alpha_v|meter22.p.[0-9,]+.|meter22.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.636e-05, allocations: 9.125 kB / 369.7 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.006751/0.006777, allocations: 7.873 MB / 377.5 MB, free: 3.078 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00465/0.01143, allocations: 3.333 MB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007676/0.0122, allocations: 43.62 kB / 380.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.01375, allocations: 0.8085 MB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001856/0.0156, allocations: 1.131 MB / 382.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.01699, allocations: 0.7323 MB / 383.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00207/0.01906, allocations: 2.394 MB / 386 MB, free: 10.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007007/0.01977, allocations: 0.6586 MB / 386.6 MB, free: 9.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001614/0.02138, allocations: 1.477 MB / 388.1 MB, free: 8.449 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.02245, allocations: 1.243 MB / 389.3 MB, free: 7.203 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.02257, allocations: 116 kB / 389.5 MB, free: 7.09 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008532/0.02343, allocations: 0.6122 MB / 390.1 MB, free: 6.477 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005794/0.024, allocations: 0.9859 MB / 391.1 MB, free: 5.488 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006977/0.0247, allocations: 0.6002 MB / 391.7 MB, free: 4.887 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.02634, allocations: 1.729 MB / 393.4 MB, free: 3.152 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.02635, allocations: 0 / 393.4 MB, free: 3.152 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.02635, allocations: 7.938 kB / 393.4 MB, free: 3.145 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.02636, allocations: 4 kB / 393.4 MB, free: 3.141 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.001965/0.02833, allocations: 2.082 MB / 395.5 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.02837, allocations: 15.98 kB / 395.5 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/0.02974, allocations: 0.6278 MB / 396.1 MB, free: 360 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009483/0.03069, allocations: 0.9226 MB / 397 MB, free: 15.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.604e-05/0.03075, allocations: 107.1 kB / 397.2 MB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002058/0.03095, allocations: 171 kB / 397.3 MB, free: 15.13 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.03279, allocations: 1.67 MB / 399 MB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.299e-05/0.03283, allocations: 7.938 kB / 399 MB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.792e-05/0.03291, allocations: 67.97 kB / 399.1 MB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002941/0.03321, allocations: 218.8 kB / 399.3 MB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.03437, allocations: 0.914 MB / 400.2 MB, free: 12.02 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.006542/0.04091, allocations: 9.463 MB / 409.7 MB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.04205, allocations: 0.9542 MB / 410.6 MB, free: 1.172 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003769/0.04243, allocations: 377.6 kB / 411 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.207e-05/0.04248, allocations: 28.98 kB / 411 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006945/0.04318, allocations: 0.7139 MB / 411.7 MB, free: 15.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=130): time 4.779e-06/0.04318, allocations: 0 / 411.7 MB, free: 15.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=131): time 0.003783/0.04696, allocations: 3.067 MB / 414.8 MB, free: 12.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.04708, allocations: 290.3 kB / 415.1 MB, free: 12.47 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007668/0.04785, allocations: 0.9079 MB / 416 MB, free: 11.54 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.504e-05/0.0479, allocations: 53.7 kB / 416 MB, free: 11.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004433/0.04834, allocations: 0.85 MB / 416.9 MB, free: 10.62 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002606/0.04861, allocations: 472.2 kB / 417.3 MB, free: 10.15 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002735/0.04888, allocations: 337.1 kB / 417.7 MB, free: 9.812 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.04903, allocations: 0.5355 MB / 418.2 MB, free: 9.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004014/0.04943, allocations: 315.2 kB / 418.5 MB, free: 8.949 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.05044, allocations: 1.165 MB / 419.7 MB, free: 7.41 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.0517, allocations: 1.617 MB / 421.3 MB, free: 5.398 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.05171, allocations: 4 kB / 421.3 MB, free: 5.395 MB / 394.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.002233/0.05395, allocations: 1.872 MB / 423.2 MB, free: 3.473 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.715e-05/0.054, allocations: 75.39 kB / 423.2 MB, free: 3.387 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001242/0.05524, allocations: 0.9417 MB / 424.2 MB, free: 2.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009758/0.05622, allocations: 0.4942 MB / 424.7 MB, free: 1.922 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005831/0.0568, allocations: 339.4 kB / 425 MB, free: 1.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005734/0.06254, allocations: 8.796 MB / 433.8 MB, free: 8.312 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006862/0.06322, allocations: 63.98 kB / 433.9 MB, free: 8.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.06333, allocations: 104 kB / 434 MB, free: 8.148 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.0004927/0.06383, allocations: 353.3 kB / 434.3 MB, free: 7.777 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.064, allocations: 171.2 kB / 434.5 MB, free: 7.609 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.06519, allocations: 1.166 MB / 435.7 MB, free: 6.402 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.0652, allocations: 12 kB / 435.7 MB, free: 6.391 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.0652, allocations: 4 kB / 435.7 MB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.06521, allocations: 7.984 kB / 435.7 MB, free: 6.379 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00251/0.06772, allocations: 2.38 MB / 438.1 MB, free: 3.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.06773, allocations: 0 / 438.1 MB, free: 3.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006634/0.06839, allocations: 299.8 kB / 438.3 MB, free: 3.617 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.0684, allocations: 8 kB / 438.4 MB, free: 3.609 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.121e-05/0.06845, allocations: 39.91 kB / 438.4 MB, free: 3.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.543e-06/0.06846, allocations: 8 kB / 438.4 MB, free: 3.562 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.06846, allocations: 3.938 kB / 438.4 MB, free: 3.559 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.07002, allocations: 1.736 MB / 440.1 MB, free: 1.742 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003382/0.07036, allocations: 207.1 kB / 440.3 MB, free: 1.539 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.444e-05/0.07044, allocations: 31.94 kB / 440.4 MB, free: 1.508 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00026/0.0707, allocations: 44.03 kB / 440.4 MB, free: 1.465 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.07082, allocations: 80.84 kB / 440.5 MB, free: 1.383 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003382/0.07116, allocations: 83.89 kB / 440.6 MB, free: 1.301 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004082/0.07157, allocations: 0.4887 MB / 441.1 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.07157, allocations: 3.938 kB / 441.1 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009999/0.07257, allocations: 428 kB / 441.5 MB, free: 388 kB / 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.000168/0.07274, allocations: 147 kB / 441.6 MB, free: 232 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.172/0.2448, allocations: 2.135 MB / 443.8 MB, free: 94.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/0.2448, allocations: 0 / 443.8 MB, free: 94.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006688/0.2454, allocations: 0.6142 MB / 444.4 MB, free: 94.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.2465, allocations: 219.3 kB / 444.6 MB, free: 94.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003885/0.2504, allocations: 2.95 MB / 447.5 MB, free: 93.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.2507, allocations: 449.6 kB / 448 MB, free: 93.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007339/0.2514, allocations: 401.8 kB / 448.4 MB, free: 93.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.2516, allocations: 91.72 kB / 448.5 MB, free: 93.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.553e-06/0.2516, allocations: 0 / 448.5 MB, free: 93.05 MB / 410.7 MB Notification: Performance of Templates: time 0.02167/0.2733, allocations: 16.02 MB / 464.5 MB, free: 91.46 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5725014419294894]