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.0009999/0.0009999, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009945/0.0009945, allocations: 162.6 kB / 24.99 MB, free: 9.273 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.003/1.003, allocations: 177.1 MB / 205.3 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.2265/0.2265, allocations: 29.41 MB / 291.2 MB, free: 2.402 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 2.214e-06/2.214e-06, allocations: 0 / 369.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.931e-05/3.152e-05, allocations: 2.312 kB / 369.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01129/0.01132, allocations: 9.1 MB / 378.7 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007029/0.01835, allocations: 3.341 MB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/0.01955, allocations: 51.56 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002475/0.02203, allocations: 1.042 MB / 383.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003011/0.02504, allocations: 1.15 MB / 384.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002154/0.02719, allocations: 0.7323 MB / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003898/0.03109, allocations: 2.405 MB / 387.4 MB, free: 9.395 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001381/0.03247, allocations: 0.6586 MB / 388.1 MB, free: 8.715 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002591/0.03506, allocations: 1.328 MB / 389.4 MB, free: 7.383 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002333/0.0374, allocations: 1.36 MB / 390.8 MB, free: 6.02 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003525/0.03775, allocations: 132 kB / 390.9 MB, free: 5.891 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.03913, allocations: 0.6121 MB / 391.5 MB, free: 5.277 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001029/0.04016, allocations: 1.001 MB / 392.5 MB, free: 4.273 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001092/0.04125, allocations: 0.6313 MB / 393.2 MB, free: 3.641 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003563/0.04482, allocations: 1.787 MB / 395 MB, free: 1.848 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.04482, allocations: 0 / 395 MB, free: 1.848 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.04483, allocations: 0 / 395 MB, free: 1.848 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.38e-05/0.04491, allocations: 0 / 395 MB, free: 1.848 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.003969/0.04888, allocations: 2.104 MB / 397.1 MB, free: 15.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.04894, allocations: 11.98 kB / 397.1 MB, free: 15.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00255/0.05149, allocations: 0.6279 MB / 397.7 MB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002093/0.05358, allocations: 0.9899 MB / 398.7 MB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.05369, allocations: 111 kB / 398.8 MB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003608/0.05405, allocations: 166.5 kB / 399 MB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003016/0.05706, allocations: 1.674 MB / 400.6 MB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.963e-05/0.05712, allocations: 7.938 kB / 400.6 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001508/0.05728, allocations: 63.97 kB / 400.7 MB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004676/0.05774, allocations: 222.8 kB / 400.9 MB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002216/0.05996, allocations: 0.9218 MB / 401.8 MB, free: 10.62 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.01057/0.07053, allocations: 9.44 MB / 411.3 MB, free: 0.793 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/0.07247, allocations: 0.9619 MB / 412.2 MB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006574/0.07313, allocations: 385 kB / 412.6 MB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.059e-05/0.0732, allocations: 24.94 kB / 412.6 MB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001031/0.07423, allocations: 0.7216 MB / 413.4 MB, free: 14.6 MB / 394.7 MB Notification: Performance of pre-optimization done (n=130): time 3.897e-06/0.07423, allocations: 0 / 413.4 MB, free: 14.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=131): time 0.005889/0.08012, allocations: 3.079 MB / 416.4 MB, free: 11.42 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001415/0.08026, allocations: 286.3 kB / 416.7 MB, free: 11.08 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.08139, allocations: 0.904 MB / 417.6 MB, free: 10.15 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.252e-05/0.08146, allocations: 53.7 kB / 417.7 MB, free: 10.09 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006726/0.08214, allocations: 0.8461 MB / 418.5 MB, free: 9.234 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004193/0.08255, allocations: 476.1 kB / 419 MB, free: 8.766 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004417/0.083, allocations: 333.1 kB / 419.3 MB, free: 8.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002258/0.08322, allocations: 0.5355 MB / 419.9 MB, free: 7.887 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006673/0.08389, allocations: 323.2 kB / 420.2 MB, free: 7.559 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/0.08503, allocations: 1.158 MB / 421.3 MB, free: 6.027 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002075/0.0871, allocations: 1.614 MB / 422.9 MB, free: 4.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-05/0.08712, allocations: 4 kB / 422.9 MB, free: 4.016 MB / 394.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.003675/0.09079, allocations: 1.88 MB / 424.8 MB, free: 2.086 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.886e-05/0.09086, allocations: 71.39 kB / 424.9 MB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002062/0.09293, allocations: 0.938 MB / 425.8 MB, free: 1.051 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00381/0.09674, allocations: 0.4979 MB / 426.3 MB, free: 0.5391 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.09791, allocations: 339.4 kB / 426.7 MB, free: 212 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008711/0.1066, allocations: 8.784 MB / 435.4 MB, free: 6.938 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.1079, allocations: 71.91 kB / 435.5 MB, free: 6.867 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/0.108, allocations: 103.9 kB / 435.6 MB, free: 6.766 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.0006573/0.1087, allocations: 349.4 kB / 436 MB, free: 6.398 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002721/0.109, allocations: 171.2 kB / 436.1 MB, free: 6.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002002/0.111, allocations: 1.166 MB / 437.3 MB, free: 5.023 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.111, allocations: 15.94 kB / 437.3 MB, free: 5.008 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.111, allocations: 8 kB / 437.3 MB, free: 5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/0.111, allocations: 7.969 kB / 437.3 MB, free: 4.992 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004377/0.1154, allocations: 2.384 MB / 439.7 MB, free: 2.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.353e-06/0.1154, allocations: 0 / 439.7 MB, free: 2.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/0.1166, allocations: 307.8 kB / 440 MB, free: 2.219 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.518e-05/0.1166, allocations: 8 kB / 440 MB, free: 2.211 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.452e-05/0.1167, allocations: 31.98 kB / 440 MB, free: 2.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.053e-05/0.1167, allocations: 8 kB / 440.1 MB, free: 2.172 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.1167, allocations: 0 / 440.1 MB, free: 2.172 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002758/0.1195, allocations: 1.724 MB / 441.8 MB, free: 376 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006527/0.1201, allocations: 219 kB / 442 MB, free: 156 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.1203, allocations: 31.98 kB / 442 MB, free: 124 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005151/0.1208, allocations: 35.98 kB / 442.1 MB, free: 88 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/0.121, allocations: 80.84 kB / 442.1 MB, free: 4 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001525/0.1211, allocations: 79.86 kB / 442.2 MB, free: 15.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007132/0.1219, allocations: 0.4887 MB / 442.7 MB, free: 15.43 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1219, allocations: 0 / 442.7 MB, free: 15.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001895/0.1238, allocations: 428 kB / 443.1 MB, free: 15.01 MB / 426.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.0002382/0.124, allocations: 147 kB / 443.3 MB, free: 14.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003483/0.1275, allocations: 2.14 MB / 445.4 MB, free: 12.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.1275, allocations: 3.938 kB / 445.4 MB, free: 12.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008784/0.1284, allocations: 0.6151 MB / 446 MB, free: 11.94 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.1298, allocations: 231.8 kB / 446.2 MB, free: 11.72 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00616/0.136, allocations: 2.957 MB / 449.2 MB, free: 8.676 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00055/0.1365, allocations: 447.3 kB / 449.6 MB, free: 8.207 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001281/0.1378, allocations: 410.3 kB / 450 MB, free: 7.801 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003025/0.1381, allocations: 96.48 kB / 450.1 MB, free: 7.707 MB / 426.7 MB Notification: Performance of SimCode: time 1.553e-06/0.1381, allocations: 0 / 450.1 MB, free: 7.707 MB / 426.7 MB Notification: Performance of Templates: time 0.1521/0.2902, allocations: 15.41 MB / 465.5 MB, free: 122.9 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.7724045168142766]