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.001001/0.001001, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001092/0.001092, allocations: 169.6 kB / 24.91 MB, free: 8.734 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.034/1.034, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2655/0.2655, allocations: 29.42 MB / 291.2 MB, free: 2.398 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.563e-06/1.563e-06, allocations: 0 / 316.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.086e-05/1.242e-05, allocations: 2.312 kB / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.005936/0.005948, allocations: 7.767 MB / 324.6 MB, free: 8.156 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004284/0.01023, allocations: 3.376 MB / 328 MB, free: 4.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004267/0.01066, allocations: 51.56 kB / 328 MB, free: 4.719 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.01185, allocations: 0.7967 MB / 328.8 MB, free: 3.918 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001484/0.01334, allocations: 1.135 MB / 330 MB, free: 2.777 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.01457, allocations: 0.7323 MB / 330.7 MB, free: 2.043 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002216/0.01679, allocations: 2.405 MB / 333.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008359/0.01762, allocations: 0.7132 MB / 333.8 MB, free: 14.88 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001523/0.01915, allocations: 1.469 MB / 335.3 MB, free: 13.41 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001365/0.02051, allocations: 1.153 MB / 336.4 MB, free: 12.25 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002055/0.02072, allocations: 116 kB / 336.6 MB, free: 12.14 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000864/0.02158, allocations: 0.6121 MB / 337.2 MB, free: 11.52 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006059/0.02219, allocations: 0.9781 MB / 338.2 MB, free: 10.54 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005989/0.02279, allocations: 0.6118 MB / 338.8 MB, free: 9.93 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001726/0.02451, allocations: 1.721 MB / 340.5 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.02452, allocations: 3.984 kB / 340.5 MB, free: 8.199 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.02452, allocations: 0 / 340.5 MB, free: 8.199 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.568e-05/0.02455, allocations: 0 / 340.5 MB, free: 8.199 MB / 314.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.00202/0.02657, allocations: 1.845 MB / 342.3 MB, free: 6.305 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.02661, allocations: 11.98 kB / 342.3 MB, free: 6.293 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/0.02787, allocations: 460.2 kB / 342.8 MB, free: 5.844 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008974/0.02876, allocations: 0.8245 MB / 343.6 MB, free: 4.992 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.489e-05/0.02883, allocations: 107.1 kB / 343.7 MB, free: 4.887 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002108/0.02904, allocations: 168.7 kB / 343.9 MB, free: 4.723 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.03028, allocations: 1.453 MB / 345.3 MB, free: 3.098 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/0.03032, allocations: 7.938 kB / 345.4 MB, free: 3.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.913e-05/0.0304, allocations: 67.95 kB / 345.4 MB, free: 3.023 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002441/0.03065, allocations: 198.8 kB / 345.6 MB, free: 2.828 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007607/0.03141, allocations: 0.6749 MB / 346.3 MB, free: 2.129 MB / 314.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.005033/0.03644, allocations: 7.029 MB / 353.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008205/0.03726, allocations: 0.8136 MB / 354.1 MB, free: 9.918 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002518/0.03751, allocations: 291.5 kB / 354.4 MB, free: 9.617 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.247e-05/0.03757, allocations: 21 kB / 354.4 MB, free: 9.598 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006289/0.0382, allocations: 0.6518 MB / 355.1 MB, free: 8.887 MB / 330.7 MB Notification: Performance of pre-optimization done (n=130): time 2.955e-06/0.0382, allocations: 0 / 355.1 MB, free: 8.887 MB / 330.7 MB Notification: Performance of matching and sorting (n=131): time 0.002556/0.04076, allocations: 1.9 MB / 357 MB, free: 6.895 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.04087, allocations: 290.3 kB / 357.3 MB, free: 6.551 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005785/0.04145, allocations: 0.7473 MB / 358 MB, free: 5.781 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.564e-05/0.04152, allocations: 53.69 kB / 358.1 MB, free: 5.723 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003747/0.04189, allocations: 0.6893 MB / 358.8 MB, free: 5.023 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002952/0.04219, allocations: 472 kB / 359.2 MB, free: 4.559 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000329/0.04251, allocations: 307.2 kB / 359.5 MB, free: 4.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.04263, allocations: 369.7 kB / 359.9 MB, free: 3.883 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003223/0.04295, allocations: 250.1 kB / 360.1 MB, free: 3.625 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006174/0.04357, allocations: 0.8224 MB / 360.9 MB, free: 2.527 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.04476, allocations: 1.252 MB / 362.2 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.37e-05/0.04477, allocations: 8 kB / 362.2 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.002057/0.04683, allocations: 1.438 MB / 363.6 MB, free: 15.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.896e-05/0.04688, allocations: 67.44 kB / 363.7 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001134/0.04801, allocations: 0.6878 MB / 364.4 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/0.04913, allocations: 0.5041 MB / 364.9 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007373/0.04986, allocations: 327.5 kB / 365.2 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005063/0.05493, allocations: 6.282 MB / 371.5 MB, free: 7.203 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005175/0.05544, allocations: 63.89 kB / 371.6 MB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.05557, allocations: 83.95 kB / 371.6 MB, free: 7.059 MB / 346.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.0003977/0.05596, allocations: 309.5 kB / 372 MB, free: 6.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.05612, allocations: 119.9 kB / 372.1 MB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009443/0.05707, allocations: 0.8 MB / 372.9 MB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.05708, allocations: 12 kB / 372.9 MB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.05708, allocations: 4 kB / 372.9 MB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.05709, allocations: 11.91 kB / 372.9 MB, free: 5.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/0.05907, allocations: 1.628 MB / 374.5 MB, free: 4.051 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.05908, allocations: 4 kB / 374.5 MB, free: 4.047 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008248/0.0599, allocations: 279.8 kB / 374.8 MB, free: 3.773 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.05991, allocations: 8 kB / 374.8 MB, free: 3.766 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.159e-05/0.05997, allocations: 35.98 kB / 374.8 MB, free: 3.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.05998, allocations: 7.938 kB / 374.9 MB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.05999, allocations: 7.984 kB / 374.9 MB, free: 3.715 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.06125, allocations: 1.249 MB / 376.1 MB, free: 2.391 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002755/0.06153, allocations: 167.1 kB / 376.3 MB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.06164, allocations: 32 kB / 376.3 MB, free: 2.195 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003082/0.06195, allocations: 39.91 kB / 376.3 MB, free: 2.156 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.06207, allocations: 76.8 kB / 376.4 MB, free: 2.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.442e-05/0.06217, allocations: 71.92 kB / 376.5 MB, free: 2.008 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003098/0.06248, allocations: 334.2 kB / 376.8 MB, free: 1.668 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06248, allocations: 0 / 376.8 MB, free: 1.668 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001024/0.0635, allocations: 424 kB / 377.2 MB, free: 1.254 MB / 346.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.0001718/0.06367, allocations: 128.2 kB / 377.4 MB, free: 1.117 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001723/0.0654, allocations: 1.723 MB / 379.1 MB, free: 15.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.823e-05/0.06542, allocations: 18 kB / 379.1 MB, free: 15.28 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000487/0.06591, allocations: 0.5226 MB / 379.6 MB, free: 14.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007674/0.06668, allocations: 258.5 kB / 379.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00371/0.07039, allocations: 2.783 MB / 382.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.07079, allocations: 451.3 kB / 383.1 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004441/0.07123, allocations: 166.6 kB / 383.3 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005195/0.07175, allocations: 305.2 kB / 383.6 MB, free: 10.68 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/0.07175, allocations: 0 / 383.6 MB, free: 10.68 MB / 362.7 MB Notification: Performance of Templates: time 0.02362/0.09538, allocations: 16.41 MB / 400 MB, free: 10.53 MB / 378.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.4936308041214943]