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.001034/0.001034, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001089/0.001089, allocations: 163.9 kB / 25.61 MB, free: 8.582 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 0.9295/0.9295, allocations: 177.2 MB / 206.1 MB, free: 4.473 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.135/0.135, allocations: 29.43 MB / 292 MB, free: 2.613 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.513e-06/1.513e-06, allocations: 0 / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.288e-05/1.44e-05, allocations: 2.312 kB / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.005835/0.005849, allocations: 7.739 MB / 378.6 MB, free: 24.54 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004057/0.009906, allocations: 3.306 MB / 381.9 MB, free: 21.22 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006522/0.01056, allocations: 51.56 kB / 382 MB, free: 21.17 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.01178, allocations: 0.7929 MB / 382.8 MB, free: 20.38 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001842/0.01362, allocations: 1.135 MB / 383.9 MB, free: 19.23 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.01501, allocations: 0.7284 MB / 384.6 MB, free: 18.5 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002022/0.01703, allocations: 2.398 MB / 387 MB, free: 16.1 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009112/0.01794, allocations: 0.6547 MB / 387.7 MB, free: 15.42 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001775/0.01972, allocations: 1.488 MB / 389.2 MB, free: 13.93 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.02091, allocations: 1.235 MB / 390.4 MB, free: 12.69 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001996/0.02111, allocations: 116 kB / 390.5 MB, free: 12.57 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.02213, allocations: 0.6121 MB / 391.1 MB, free: 11.96 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005105/0.02264, allocations: 0.982 MB / 392.1 MB, free: 10.98 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005561/0.02319, allocations: 0.5963 MB / 392.7 MB, free: 10.38 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.02469, allocations: 1.74 MB / 394.5 MB, free: 8.633 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.02469, allocations: 0 / 394.5 MB, free: 8.633 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.02469, allocations: 4 kB / 394.5 MB, free: 8.629 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.903e-05/0.02474, allocations: 0 / 394.5 MB, free: 8.629 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.002054/0.0268, allocations: 2.038 MB / 396.5 MB, free: 6.527 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.02684, allocations: 16.02 kB / 396.5 MB, free: 6.512 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001263/0.0281, allocations: 0.4953 MB / 397 MB, free: 6.016 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009262/0.02902, allocations: 0.8818 MB / 397.9 MB, free: 5.109 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.482e-05/0.02907, allocations: 103.1 kB / 398 MB, free: 5.008 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/0.02926, allocations: 160.8 kB / 398.2 MB, free: 4.852 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.03044, allocations: 1.553 MB / 399.7 MB, free: 3.078 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.935e-05/0.03048, allocations: 11.89 kB / 399.7 MB, free: 3.066 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.927e-05/0.03056, allocations: 59.97 kB / 399.8 MB, free: 3.008 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002338/0.0308, allocations: 202.8 kB / 400 MB, free: 2.809 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007896/0.03158, allocations: 0.745 MB / 400.7 MB, free: 2.039 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.005886/0.03747, allocations: 9.318 MB / 410 MB, free: 8.316 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009093/0.03838, allocations: 0.8604 MB / 410.9 MB, free: 7.426 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002743/0.03865, allocations: 305.7 kB / 411.2 MB, free: 7.109 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.944e-05/0.0387, allocations: 25 kB / 411.2 MB, free: 7.086 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005278/0.03923, allocations: 0.6667 MB / 411.9 MB, free: 6.355 MB / 330.7 MB Notification: Performance of pre-optimization done (n=130): time 2.946e-06/0.03923, allocations: 0 / 411.9 MB, free: 6.355 MB / 330.7 MB Notification: Performance of matching and sorting (n=131): time 0.002526/0.04176, allocations: 2.19 MB / 414.1 MB, free: 4.078 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.04188, allocations: 286.3 kB / 414.4 MB, free: 3.738 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006271/0.0425, allocations: 0.907 MB / 415.3 MB, free: 2.805 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.432e-05/0.04256, allocations: 45.7 kB / 415.3 MB, free: 2.754 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00045/0.04301, allocations: 0.8577 MB / 416.2 MB, free: 1.883 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002713/0.04328, allocations: 476 kB / 416.6 MB, free: 1.414 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002834/0.04356, allocations: 348.9 kB / 417 MB, free: 1.066 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.04371, allocations: 0.5393 MB / 417.5 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002769/0.04399, allocations: 247.2 kB / 417.8 MB, free: 272 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006103/0.0446, allocations: 1.107 MB / 418.9 MB, free: 14.78 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.04565, allocations: 1.5 MB / 420.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/0.04567, allocations: 8 kB / 420.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.00202/0.04769, allocations: 1.727 MB / 422.1 MB, free: 11.11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.275e-05/0.04774, allocations: 67.39 kB / 422.2 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001089/0.04883, allocations: 0.8414 MB / 423 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009828/0.04981, allocations: 487.8 kB / 423.5 MB, free: 9.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006096/0.05042, allocations: 331.5 kB / 423.8 MB, free: 9.355 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005474/0.05589, allocations: 8.555 MB / 432.4 MB, free: 368 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009232/0.05682, allocations: 67.92 kB / 432.4 MB, free: 300 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.05695, allocations: 87.95 kB / 432.5 MB, free: 212 kB / 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.0005821/0.05753, allocations: 345.4 kB / 432.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.0577, allocations: 175.2 kB / 433 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.05874, allocations: 1.045 MB / 434.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.05875, allocations: 12 kB / 434.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.05875, allocations: 3.938 kB / 434.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.05876, allocations: 7.922 kB / 434.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002158/0.06092, allocations: 2.017 MB / 436.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.06092, allocations: 0 / 436.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006618/0.06158, allocations: 279.7 kB / 436.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.06159, allocations: 12.12 kB / 436.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.469e-05/0.06164, allocations: 35.98 kB / 436.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.06165, allocations: 4 kB / 436.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.06165, allocations: 4 kB / 436.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/0.06321, allocations: 1.537 MB / 438 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002758/0.06349, allocations: 191 kB / 438.2 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.732e-05/0.06358, allocations: 35.98 kB / 438.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.06382, allocations: 28 kB / 438.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.06393, allocations: 84.78 kB / 438.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.979e-05/0.06402, allocations: 75.91 kB / 438.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000312/0.06434, allocations: 472.2 kB / 438.8 MB, free: 9.633 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06434, allocations: 0 / 438.8 MB, free: 9.633 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001101/0.06544, allocations: 420 kB / 439.2 MB, free: 9.223 MB / 362.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.0001605/0.0656, allocations: 147.6 kB / 439.4 MB, free: 9.066 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001716/0.06731, allocations: 2.018 MB / 441.4 MB, free: 6.934 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.06732, allocations: 4 kB / 441.4 MB, free: 6.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004177/0.06773, allocations: 0.5504 MB / 442 MB, free: 6.344 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000647/0.06838, allocations: 235.6 kB / 442.2 MB, free: 6.117 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003623/0.072, allocations: 2.918 MB / 445.1 MB, free: 3.113 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.07233, allocations: 447.3 kB / 445.5 MB, free: 2.648 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004085/0.07274, allocations: 170.6 kB / 445.7 MB, free: 2.477 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004197/0.07316, allocations: 334.1 kB / 446 MB, free: 2.148 MB / 362.7 MB Notification: Performance of SimCode: time 1.232e-06/0.07316, allocations: 0 / 446 MB, free: 2.148 MB / 362.7 MB Notification: Performance of Templates: time 0.02122/0.09437, allocations: 16.78 MB / 462.8 MB, free: 1.602 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.524177111685276]