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.001387/0.001387, allocations: 80.92 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.001221/0.001221, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.03/1.03, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.2669/0.2669, allocations: 29.42 MB / 291.2 MB, free: 2.414 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.323e-06/1.323e-06, allocations: 3.938 kB / 316.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.31e-05/1.442e-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.00645/0.006465, allocations: 7.815 MB / 324.7 MB, free: 8.117 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00344/0.009905, allocations: 3.384 MB / 328.1 MB, free: 4.723 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000292/0.0102, allocations: 51.56 kB / 328.1 MB, free: 4.672 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001285/0.01148, allocations: 0.7811 MB / 328.9 MB, free: 3.887 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001092/0.01257, allocations: 1.127 MB / 330 MB, free: 2.754 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007818/0.01336, allocations: 0.7166 MB / 330.8 MB, free: 2.035 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001369/0.01472, allocations: 2.401 MB / 333.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000537/0.01526, allocations: 0.7132 MB / 333.9 MB, free: 14.88 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00133/0.01659, allocations: 1.469 MB / 335.3 MB, free: 13.4 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008951/0.01749, allocations: 1.157 MB / 336.5 MB, free: 12.24 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.0176, allocations: 116 kB / 336.6 MB, free: 12.13 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006832/0.01828, allocations: 0.616 MB / 337.2 MB, free: 11.51 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007336/0.01901, allocations: 0.9859 MB / 338.2 MB, free: 10.52 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005875/0.0196, allocations: 0.608 MB / 338.8 MB, free: 9.914 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.02107, allocations: 1.736 MB / 340.6 MB, free: 8.172 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.02107, allocations: 0 / 340.6 MB, free: 8.172 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.02107, allocations: 0 / 340.6 MB, free: 8.172 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.02109, allocations: 0 / 340.6 MB, free: 8.172 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.001606/0.02269, allocations: 1.841 MB / 342.4 MB, free: 6.281 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.02273, allocations: 11.98 kB / 342.4 MB, free: 6.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/0.02409, allocations: 464.3 kB / 342.9 MB, free: 5.816 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007897/0.02488, allocations: 0.8245 MB / 343.7 MB, free: 4.965 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.249e-05/0.02493, allocations: 107.1 kB / 343.8 MB, free: 4.859 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001925/0.02512, allocations: 160.8 kB / 344 MB, free: 4.703 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.02628, allocations: 1.457 MB / 345.4 MB, free: 3.074 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/0.02631, allocations: 11.88 kB / 345.4 MB, free: 3.062 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.203e-05/0.02639, allocations: 63.97 kB / 345.5 MB, free: 3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002238/0.02662, allocations: 206.8 kB / 345.7 MB, free: 2.797 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007003/0.02732, allocations: 0.6633 MB / 346.4 MB, free: 2.109 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.004661/0.03198, allocations: 7.033 MB / 353.4 MB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007593/0.03274, allocations: 0.8106 MB / 354.2 MB, free: 9.898 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/0.03298, allocations: 287.5 kB / 354.5 MB, free: 9.602 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.397e-05/0.03303, allocations: 25 kB / 354.5 MB, free: 9.578 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004619/0.03349, allocations: 0.6557 MB / 355.2 MB, free: 8.863 MB / 330.7 MB Notification: Performance of pre-optimization done (n=130): time 2.364e-06/0.03349, allocations: 0 / 355.2 MB, free: 8.863 MB / 330.7 MB Notification: Performance of matching and sorting (n=131): time 0.002206/0.0357, allocations: 1.892 MB / 357.1 MB, free: 6.879 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.254e-05/0.03579, allocations: 290.3 kB / 357.3 MB, free: 6.535 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004343/0.03622, allocations: 0.7473 MB / 358.1 MB, free: 5.766 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.066e-05/0.03627, allocations: 53.69 kB / 358.1 MB, free: 5.707 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/0.03655, allocations: 0.6892 MB / 358.8 MB, free: 5.008 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002092/0.03675, allocations: 472 kB / 359.3 MB, free: 4.543 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002328/0.03699, allocations: 303.2 kB / 359.6 MB, free: 4.238 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.267e-05/0.03708, allocations: 369.8 kB / 359.9 MB, free: 3.871 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/0.03731, allocations: 254.1 kB / 360.2 MB, free: 3.609 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004486/0.03776, allocations: 0.8263 MB / 361 MB, free: 2.508 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008336/0.0386, allocations: 1.248 MB / 362.3 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.515e-06/0.0386, allocations: 4 kB / 362.3 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.001783/0.04039, allocations: 1.434 MB / 363.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.232e-05/0.04043, allocations: 79.61 kB / 363.8 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008499/0.04128, allocations: 0.68 MB / 364.5 MB, free: 14.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008512/0.04213, allocations: 0.5123 MB / 365 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005913/0.04272, allocations: 347.5 kB / 365.3 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004076/0.0468, allocations: 6.303 MB / 371.6 MB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003512/0.04715, allocations: 63.95 kB / 371.7 MB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.043e-05/0.04724, allocations: 91.94 kB / 371.8 MB, free: 6.988 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.000263/0.0475, allocations: 301.5 kB / 372.1 MB, free: 6.668 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.04761, allocations: 123.8 kB / 372.2 MB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006974/0.04831, allocations: 0.804 MB / 373 MB, free: 5.707 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.04832, allocations: 12 kB / 373 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.04832, allocations: 4 kB / 373 MB, free: 5.691 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.04833, allocations: 7.969 kB / 373 MB, free: 5.684 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.0498, allocations: 1.628 MB / 374.6 MB, free: 3.984 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.0498, allocations: 0 / 374.6 MB, free: 3.984 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007541/0.05056, allocations: 323.8 kB / 375 MB, free: 3.668 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.05056, allocations: 12 kB / 375 MB, free: 3.656 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-05/0.05061, allocations: 31.98 kB / 375 MB, free: 3.625 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.05061, allocations: 11.94 kB / 375 MB, free: 3.613 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.05061, allocations: 3.938 kB / 375 MB, free: 3.609 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009346/0.05155, allocations: 1.249 MB / 376.3 MB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.05175, allocations: 175.1 kB / 376.4 MB, free: 2.113 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.438e-05/0.05182, allocations: 28 kB / 376.5 MB, free: 2.086 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.05204, allocations: 35.92 kB / 376.5 MB, free: 2.051 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.05215, allocations: 76.86 kB / 376.6 MB, free: 1.973 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.798e-05/0.05221, allocations: 71.92 kB / 376.6 MB, free: 1.902 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002222/0.05244, allocations: 338.2 kB / 377 MB, free: 1.559 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05244, allocations: 0 / 377 MB, free: 1.559 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000652/0.05309, allocations: 420 kB / 377.4 MB, free: 1.148 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.0003472/0.05343, allocations: 128.9 kB / 377.5 MB, free: 1.012 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00124/0.05468, allocations: 1.729 MB / 379.2 MB, free: 15.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.266e-05/0.0547, allocations: 17.81 kB / 379.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003574/0.05506, allocations: 0.5164 MB / 379.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005324/0.05559, allocations: 261.7 kB / 380 MB, free: 14.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002681/0.05827, allocations: 2.787 MB / 382.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.05855, allocations: 447.3 kB / 383.2 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003365/0.05889, allocations: 170.6 kB / 383.4 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000402/0.05929, allocations: 297.2 kB / 383.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.05929, allocations: 0 / 383.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of Templates: time 0.01892/0.07821, allocations: 16.42 MB / 400.1 MB, free: 10.41 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 -s gbode -gbm=radauIIA3 -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.3645398248918355]