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.001088/0.001088, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001058/0.001058, allocations: 168.7 kB / 24.82 MB, free: 8.918 MB / 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.036/1.036, allocations: 177.2 MB / 205.3 MB, free: 5.504 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.2157/0.2157, allocations: 29.43 MB / 291.2 MB, free: 2.469 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.433e-06/1.433e-06, allocations: 0 / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251e-05/1.395e-05, allocations: 13.41 kB / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.005717/0.005731, allocations: 7.745 MB / 377.9 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003244/0.008975, allocations: 3.294 MB / 381.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002719/0.009247, allocations: 51.56 kB / 381.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.01028, allocations: 0.7929 MB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001029/0.01131, allocations: 1.131 MB / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007527/0.01206, allocations: 0.7323 MB / 383.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001321/0.01338, allocations: 2.394 MB / 386.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007746/0.01415, allocations: 0.6625 MB / 386.9 MB, free: 9.832 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.01522, allocations: 1.469 MB / 388.4 MB, free: 8.359 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008758/0.01609, allocations: 1.243 MB / 389.6 MB, free: 7.113 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.01621, allocations: 116 kB / 389.7 MB, free: 7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006008/0.01681, allocations: 0.6198 MB / 390.4 MB, free: 6.379 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005051/0.01732, allocations: 0.9781 MB / 391.3 MB, free: 5.398 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003869/0.0177, allocations: 0.6041 MB / 391.9 MB, free: 4.793 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.01885, allocations: 1.732 MB / 393.7 MB, free: 3.055 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.01885, allocations: 0 / 393.7 MB, free: 3.055 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01885, allocations: 0 / 393.7 MB, free: 3.055 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.01886, allocations: 4 kB / 393.7 MB, free: 3.051 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.00187/0.02073, allocations: 2.046 MB / 395.7 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.02077, allocations: 15.98 kB / 395.7 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.02183, allocations: 0.4915 MB / 396.2 MB, free: 444 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007943/0.02262, allocations: 0.878 MB / 397.1 MB, free: 15.53 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.239e-05/0.02268, allocations: 107.1 kB / 397.2 MB, free: 15.42 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001889/0.02287, allocations: 160.8 kB / 397.4 MB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.02406, allocations: 1.549 MB / 398.9 MB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/0.02409, allocations: 11.89 kB / 398.9 MB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.947e-05/0.02417, allocations: 63.97 kB / 399 MB, free: 13.42 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002329/0.0244, allocations: 198.8 kB / 399.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007479/0.02515, allocations: 0.7372 MB / 399.9 MB, free: 12.46 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.005684/0.03083, allocations: 9.322 MB / 409.3 MB, free: 2.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008275/0.03166, allocations: 0.879 MB / 410.1 MB, free: 1.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002592/0.03192, allocations: 313.5 kB / 410.4 MB, free: 1.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.448e-05/0.03197, allocations: 24.98 kB / 410.5 MB, free: 1.496 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000513/0.03248, allocations: 0.6629 MB / 411.1 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of pre-optimization done (n=130): time 2.254e-06/0.03249, allocations: 0 / 411.1 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of matching and sorting (n=131): time 0.00215/0.03464, allocations: 2.19 MB / 413.3 MB, free: 14.49 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.653e-05/0.03473, allocations: 286.3 kB / 413.6 MB, free: 14.15 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005486/0.03528, allocations: 0.8992 MB / 414.5 MB, free: 13.22 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.833e-05/0.03533, allocations: 49.7 kB / 414.5 MB, free: 13.17 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006365/0.03597, allocations: 0.8538 MB / 415.4 MB, free: 12.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.03619, allocations: 480.3 kB / 415.9 MB, free: 11.83 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002567/0.03644, allocations: 348.9 kB / 416.2 MB, free: 11.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.03658, allocations: 0.5393 MB / 416.7 MB, free: 10.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.0368, allocations: 251.2 kB / 417 MB, free: 10.67 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005685/0.03737, allocations: 1.107 MB / 418.1 MB, free: 9.191 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009444/0.03832, allocations: 1.508 MB / 419.6 MB, free: 7.289 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.03832, allocations: 8 kB / 419.6 MB, free: 7.281 MB / 394.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.001736/0.04006, allocations: 1.723 MB / 421.3 MB, free: 5.508 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.764e-05/0.04011, allocations: 67.41 kB / 421.4 MB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001264/0.04137, allocations: 0.8362 MB / 422.2 MB, free: 4.578 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008133/0.04218, allocations: 496 kB / 422.7 MB, free: 4.082 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005057/0.04269, allocations: 327.4 kB / 423 MB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004792/0.04748, allocations: 8.553 MB / 431.6 MB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003636/0.04785, allocations: 67.88 kB / 431.7 MB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.4e-05/0.04794, allocations: 83.97 kB / 431.7 MB, free: 10.61 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.000293/0.04823, allocations: 349.4 kB / 432.1 MB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.04836, allocations: 171.2 kB / 432.3 MB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009287/0.04929, allocations: 1.041 MB / 433.3 MB, free: 8.996 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.0493, allocations: 12 kB / 433.3 MB, free: 8.984 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.0493, allocations: 3.938 kB / 433.3 MB, free: 8.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.04931, allocations: 7.922 kB / 433.3 MB, free: 8.973 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00176/0.05107, allocations: 2.013 MB / 435.3 MB, free: 6.879 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.05107, allocations: 3.984 kB / 435.3 MB, free: 6.875 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005929/0.05167, allocations: 279.9 kB / 435.6 MB, free: 6.602 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.05167, allocations: 7.938 kB / 435.6 MB, free: 6.594 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.621e-05/0.05172, allocations: 43.97 kB / 435.7 MB, free: 6.551 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.05172, allocations: 8 kB / 435.7 MB, free: 6.543 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.05172, allocations: 4 kB / 435.7 MB, free: 6.539 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/0.05313, allocations: 1.545 MB / 437.2 MB, free: 4.914 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/0.05335, allocations: 195 kB / 437.4 MB, free: 4.723 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.087e-05/0.05342, allocations: 32 kB / 437.4 MB, free: 4.691 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.05363, allocations: 35.98 kB / 437.5 MB, free: 4.656 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.273e-05/0.05373, allocations: 80.84 kB / 437.6 MB, free: 4.574 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.879e-05/0.0538, allocations: 71.86 kB / 437.6 MB, free: 4.504 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002688/0.05406, allocations: 472.2 kB / 438.1 MB, free: 4.031 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.05406, allocations: 4 kB / 438.1 MB, free: 4.027 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007265/0.05479, allocations: 420 kB / 438.5 MB, free: 3.617 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.0001548/0.05495, allocations: 147 kB / 438.6 MB, free: 3.465 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001424/0.05637, allocations: 2.003 MB / 440.6 MB, free: 1.344 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.05637, allocations: 0.5625 kB / 440.6 MB, free: 1.344 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003789/0.05675, allocations: 0.5604 MB / 441.2 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005789/0.05733, allocations: 229.4 kB / 441.4 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003304/0.06063, allocations: 2.907 MB / 444.3 MB, free: 13.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.06092, allocations: 443.3 kB / 444.8 MB, free: 13.07 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003332/0.06125, allocations: 174.6 kB / 444.9 MB, free: 12.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003951/0.06165, allocations: 338 kB / 445.3 MB, free: 12.56 MB / 426.7 MB Notification: Performance of SimCode: time 6.51e-07/0.06165, allocations: 0 / 445.3 MB, free: 12.56 MB / 426.7 MB Notification: Performance of Templates: time 0.1408/0.2025, allocations: 16.4 MB / 461.7 MB, free: 109 MB / 426.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.581043932121247]