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.001575/0.001575, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001543/0.001543, allocations: 165 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 1.029/1.029, allocations: 177.1 MB / 204.9 MB, free: 5.637 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.244/0.244, allocations: 29.41 MB / 290.9 MB, free: 2.508 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.[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.583e-06/1.583e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.012e-05/3.17e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.006949/0.006981, allocations: 7.846 MB / 377.5 MB, free: 3.113 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004862/0.01184, allocations: 3.345 MB / 380.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007261/0.01257, allocations: 51.5 kB / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.01373, allocations: 445.2 kB / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001912/0.01564, allocations: 1.139 MB / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.01704, allocations: 0.7283 MB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002483/0.01952, allocations: 2.417 MB / 385.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008827/0.0204, allocations: 0.6586 MB / 386.3 MB, free: 10.29 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001916/0.02232, allocations: 1.301 MB / 387.6 MB, free: 8.988 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.02378, allocations: 1.356 MB / 388.9 MB, free: 7.629 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001971/0.02398, allocations: 132 kB / 389 MB, free: 7.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.025, allocations: 0.616 MB / 389.7 MB, free: 6.883 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007265/0.02573, allocations: 1.005 MB / 390.7 MB, free: 5.875 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006711/0.0264, allocations: 0.6275 MB / 391.3 MB, free: 5.246 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002007/0.02841, allocations: 1.787 MB / 393.1 MB, free: 3.453 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.02841, allocations: 0 / 393.1 MB, free: 3.453 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.02842, allocations: 0 / 393.1 MB, free: 3.453 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.123e-05/0.02846, allocations: 0 / 393.1 MB, free: 3.453 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.002732/0.03119, allocations: 2.113 MB / 395.2 MB, free: 1.277 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.03123, allocations: 11.98 kB / 395.2 MB, free: 1.266 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/0.03275, allocations: 0.6201 MB / 395.8 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.03407, allocations: 0.9939 MB / 396.8 MB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.119e-05/0.03413, allocations: 107.1 kB / 396.9 MB, free: 15.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002282/0.03436, allocations: 160.8 kB / 397.1 MB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.03618, allocations: 1.682 MB / 398.8 MB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.288e-05/0.03622, allocations: 3.938 kB / 398.8 MB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.114e-05/0.03631, allocations: 67.97 kB / 398.8 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003063/0.03661, allocations: 226.8 kB / 399 MB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.03794, allocations: 0.9141 MB / 400 MB, free: 12.23 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.00716/0.0451, allocations: 9.452 MB / 409.4 MB, free: 2.387 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.04629, allocations: 0.962 MB / 410.4 MB, free: 1.391 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004092/0.0467, allocations: 381.7 kB / 410.7 MB, free: 1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.341e-05/0.04676, allocations: 21 kB / 410.8 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006532/0.04741, allocations: 0.7138 MB / 411.5 MB, free: 208 kB / 378.7 MB Notification: Performance of pre-optimization done (n=130): time 3.717e-06/0.04742, allocations: 0 / 411.5 MB, free: 208 kB / 378.7 MB Notification: Performance of matching and sorting (n=131): time 0.00347/0.05089, allocations: 3.075 MB / 414.6 MB, free: 13.03 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.05099, allocations: 286.3 kB / 414.8 MB, free: 12.69 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009177/0.05191, allocations: 0.9076 MB / 415.7 MB, free: 11.76 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.809e-05/0.05197, allocations: 49.7 kB / 415.8 MB, free: 11.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004232/0.05239, allocations: 0.85 MB / 416.6 MB, free: 10.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002503/0.05264, allocations: 480.1 kB / 417.1 MB, free: 10.37 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002858/0.05293, allocations: 337.1 kB / 417.4 MB, free: 10.03 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.05308, allocations: 0.5319 MB / 418 MB, free: 9.488 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003844/0.05346, allocations: 323.2 kB / 418.3 MB, free: 9.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007469/0.05421, allocations: 1.161 MB / 419.4 MB, free: 7.625 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/0.05549, allocations: 1.61 MB / 421.1 MB, free: 5.621 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.05549, allocations: 8 kB / 421.1 MB, free: 5.613 MB / 394.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.002718/0.05821, allocations: 1.867 MB / 422.9 MB, free: 3.695 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.091e-05/0.05826, allocations: 75.39 kB / 423 MB, free: 3.609 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001303/0.05957, allocations: 0.9425 MB / 423.9 MB, free: 2.652 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/0.06057, allocations: 0.4982 MB / 424.4 MB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006647/0.06123, allocations: 335.5 kB / 424.8 MB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005593/0.06683, allocations: 8.784 MB / 433.6 MB, free: 8.543 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005837/0.06741, allocations: 79.92 kB / 433.6 MB, free: 8.465 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.06751, allocations: 99.97 kB / 433.7 MB, free: 8.367 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.0004123/0.06793, allocations: 349.4 kB / 434.1 MB, free: 8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.06808, allocations: 175.1 kB / 434.2 MB, free: 7.828 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001242/0.06933, allocations: 1.166 MB / 435.4 MB, free: 6.621 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.06934, allocations: 15.98 kB / 435.4 MB, free: 6.605 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.06934, allocations: 4 kB / 435.4 MB, free: 6.602 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.06935, allocations: 7.969 kB / 435.4 MB, free: 6.594 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002909/0.07226, allocations: 2.384 MB / 437.8 MB, free: 4.121 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.07226, allocations: 4 kB / 437.8 MB, free: 4.117 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007232/0.07299, allocations: 295.8 kB / 438.1 MB, free: 3.828 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.07299, allocations: 8 kB / 438.1 MB, free: 3.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.248e-05/0.07305, allocations: 35.98 kB / 438.2 MB, free: 3.785 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/0.07305, allocations: 8 kB / 438.2 MB, free: 3.777 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.07305, allocations: 0 / 438.2 MB, free: 3.777 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.07466, allocations: 1.732 MB / 439.9 MB, free: 1.965 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003065/0.07497, allocations: 211 kB / 440.1 MB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.675e-05/0.07506, allocations: 35.98 kB / 440.1 MB, free: 1.723 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/0.07532, allocations: 36.05 kB / 440.2 MB, free: 1.688 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.07544, allocations: 92.72 kB / 440.3 MB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.042e-05/0.07553, allocations: 79.92 kB / 440.3 MB, free: 1.516 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004072/0.07594, allocations: 496.4 kB / 440.8 MB, free: 1.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.07594, allocations: 4 kB / 440.8 MB, free: 1.016 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000914/0.07685, allocations: 424 kB / 441.2 MB, free: 0.6016 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.0001456/0.077, allocations: 139 kB / 441.4 MB, free: 468 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1291/0.2061, allocations: 2.144 MB / 443.5 MB, free: 95.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.2061, allocations: 0 / 443.5 MB, free: 95.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006289/0.2067, allocations: 0.6125 MB / 444.1 MB, free: 95.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008375/0.2075, allocations: 220 kB / 444.4 MB, free: 95.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00354/0.2111, allocations: 2.958 MB / 447.3 MB, free: 94.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.2114, allocations: 448.1 kB / 447.8 MB, free: 94 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006276/0.212, allocations: 403.9 kB / 448.1 MB, free: 93.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001923/0.2122, allocations: 93.14 kB / 448.2 MB, free: 93.96 MB / 410.7 MB Notification: Performance of SimCode: time 2.034e-06/0.2122, allocations: 4.875 kB / 448.2 MB, free: 93.96 MB / 410.7 MB Notification: Performance of Templates: time 0.02002/0.2322, allocations: 15.42 MB / 463.7 MB, free: 92.47 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.770698882173747]