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.001555/0.001555, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001672/0.001672, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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.39/1.39, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 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.1696/0.1696, allocations: 29.44 MB / 290.1 MB, free: 3.293 MB / 270.1 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.183e-06/1.183e-06, allocations: 0 / 430.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.46e-05, allocations: 5.234 kB / 430.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01034/0.01036, allocations: 8.431 MB / 439.1 MB, free: 9.484 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006044/0.01641, allocations: 3.201 MB / 442.3 MB, free: 6.273 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005125/0.01692, allocations: 47.62 kB / 442.4 MB, free: 6.227 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002861/0.01978, allocations: 1.029 MB / 443.4 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002399/0.02218, allocations: 1.147 MB / 444.6 MB, free: 4.043 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001871/0.02405, allocations: 0.7284 MB / 445.3 MB, free: 3.312 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002809/0.02686, allocations: 2.417 MB / 447.7 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009446/0.02781, allocations: 0.6546 MB / 448.4 MB, free: 216 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1687/0.1966, allocations: 1.313 MB / 449.7 MB, free: 16.04 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00183/0.1984, allocations: 1.351 MB / 451 MB, free: 16.04 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000222/0.1986, allocations: 129.2 kB / 451.2 MB, free: 16.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.1998, allocations: 0.6091 MB / 451.8 MB, free: 16.04 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008895/0.2007, allocations: 0.9881 MB / 452.8 MB, free: 16.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007784/0.2015, allocations: 0.6204 MB / 453.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002728/0.2042, allocations: 2.432 MB / 455.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2042, allocations: 0 / 455.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2042, allocations: 1.031 kB / 455.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.897e-05/0.2043, allocations: 0 / 455.8 MB, free: 15.75 MB / 366.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.003558/0.2079, allocations: 1.979 MB / 457.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.2079, allocations: 13.11 kB / 457.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002368/0.2103, allocations: 484.2 kB / 458.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/0.2121, allocations: 0.9967 MB / 459.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.618e-05/0.2121, allocations: 107.8 kB / 459.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000414/0.2125, allocations: 161.5 kB / 459.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003256/0.2158, allocations: 2.389 MB / 461.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.766e-05/0.2159, allocations: 11.25 kB / 461.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/0.216, allocations: 60.41 kB / 462 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005035/0.2165, allocations: 224 kB / 462.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002672/0.2192, allocations: 1.9 MB / 464.1 MB, free: 13.37 MB / 366.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.008357/0.2275, allocations: 8.222 MB / 472.3 MB, free: 7.621 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001868/0.2294, allocations: 1.364 MB / 473.7 MB, free: 7.098 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006935/0.2301, allocations: 0.6048 MB / 474.3 MB, free: 6.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.262e-05/0.2302, allocations: 16.88 kB / 474.3 MB, free: 6.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009494/0.2311, allocations: 0.9208 MB / 475.2 MB, free: 6.359 MB / 366.1 MB Notification: Performance of pre-optimization done (n=130): time 3.176e-06/0.2311, allocations: 0 / 475.2 MB, free: 6.359 MB / 366.1 MB Notification: Performance of matching and sorting (n=131): time 0.004949/0.2361, allocations: 4.124 MB / 479.4 MB, free: 3.965 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/0.2361, allocations: 288.7 kB / 479.6 MB, free: 3.641 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008099/0.237, allocations: 0.9311 MB / 480.6 MB, free: 3.105 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.852e-05/0.237, allocations: 50.5 kB / 480.6 MB, free: 3.059 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003601/0.2374, allocations: 0.7926 MB / 481.4 MB, free: 2.363 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.2376, allocations: 464.4 kB / 481.9 MB, free: 1.977 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003499/0.238, allocations: 319.6 kB / 482.2 MB, free: 1.797 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.799e-05/0.238, allocations: 368.5 kB / 482.5 MB, free: 1.449 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007455/0.2388, allocations: 0.6343 MB / 483.2 MB, free: 1.113 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000915/0.2397, allocations: 1.23 MB / 484.4 MB, free: 24 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002516/0.2422, allocations: 1.999 MB / 486.4 MB, free: 14.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.2422, allocations: 4 kB / 486.4 MB, free: 14.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004612/0.2468, allocations: 2.534 MB / 488.9 MB, free: 11.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.825e-05/0.2469, allocations: 67.41 kB / 489 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003025/0.2499, allocations: 1.55 MB / 490.6 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001698/0.2516, allocations: 0.5518 MB / 491.1 MB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.2527, allocations: 324.1 kB / 491.4 MB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01072/0.2634, allocations: 8.87 MB / 0.4886 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.2646, allocations: 67.92 kB / 0.4886 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/0.2647, allocations: 103.9 kB / 0.4887 GB, free: 15.81 MB / 398.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,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.001048/0.2658, allocations: 0.6036 MB / 0.4893 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002572/0.266, allocations: 131.2 kB / 0.4894 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002607/0.2686, allocations: 1.607 MB / 0.491 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.2687, allocations: 16 kB / 0.491 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2687, allocations: 4 kB / 0.491 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.2687, allocations: 11.97 kB / 0.491 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004578/0.2733, allocations: 2.803 MB / 0.4938 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.2733, allocations: 3.984 kB / 0.4938 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/0.2747, allocations: 297.4 kB / 0.4941 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/0.2747, allocations: 8 kB / 0.4941 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.038e-05/0.2748, allocations: 38.31 kB / 0.4941 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.677e-06/0.2748, allocations: 8 kB / 0.4941 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.2748, allocations: 7.656 kB / 0.4941 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00338/0.2782, allocations: 2.45 MB / 0.4965 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005117/0.2787, allocations: 224.9 kB / 0.4967 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.2788, allocations: 35.31 kB / 0.4968 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005573/0.2794, allocations: 43.97 kB / 0.4968 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/0.2796, allocations: 88.14 kB / 0.4969 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/0.2797, allocations: 75.92 kB / 0.497 GB, free: 7.262 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000778/0.2805, allocations: 0.5935 MB / 0.4976 GB, free: 6.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2805, allocations: 0 / 0.4976 GB, free: 6.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001379/0.2819, allocations: 428 kB / 0.498 GB, free: 6.242 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 (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.0002222/0.2821, allocations: 133.8 kB / 0.4981 GB, free: 6.113 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003556/0.2856, allocations: 2.388 MB / 0.5004 GB, free: 3.688 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2856, allocations: 0 / 0.5004 GB, free: 3.688 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.2868, allocations: 0.8395 MB / 0.5012 GB, free: 2.836 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.2878, allocations: 222.5 kB / 0.5015 GB, free: 2.625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005228/0.2931, allocations: 3.326 MB / 0.5047 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/0.2941, allocations: 0.8696 MB / 0.5055 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001019/0.2951, allocations: 470.3 kB / 0.506 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/0.2954, allocations: 92.48 kB / 0.5061 GB, free: 13.77 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2954, allocations: 0 / 0.5061 GB, free: 13.77 MB / 414.1 MB Notification: Performance of Templates: time 0.0284/0.3238, allocations: 15.27 MB / 0.521 GB, free: 14.77 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1) [Timeout 480] 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.157292991876602]