Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.001073/0.001073, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001008/0.001008, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.9816/0.9816, allocations: 177.1 MB / 205 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.2254/0.2254, allocations: 29.41 MB / 290.9 MB, free: 2.523 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.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter12.i|meter12.p|meter12.v|meter22.i|meter22.p|meter22.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter12.i|meter12.p|meter12.v|meter22.i|meter22.p|meter22.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.798e-05, allocations: 2.312 kB / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.005974/0.006002, allocations: 5.934 MB / 375.6 MB, free: 5.043 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002607/0.008609, allocations: 1.722 MB / 377.3 MB, free: 3.316 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004497/0.009059, allocations: 43.62 kB / 377.3 MB, free: 3.273 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006146/0.009673, allocations: 210.5 kB / 377.5 MB, free: 3.066 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001133/0.01081, allocations: 0.5867 MB / 378.1 MB, free: 2.477 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004435/0.01125, allocations: 219.5 kB / 378.3 MB, free: 2.262 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001217/0.01247, allocations: 1.292 MB / 379.6 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003107/0.01278, allocations: 211 kB / 379.8 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009986/0.01378, allocations: 0.7284 MB / 380.6 MB, free: 28 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007991/0.01458, allocations: 0.6078 MB / 381.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.744e-05/0.01467, allocations: 60 kB / 381.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.0148, allocations: 68 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002448/0.01505, allocations: 367 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003915/0.01544, allocations: 295.2 kB / 381.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007005/0.01614, allocations: 0.6655 MB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.01614, allocations: 3.984 kB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.01615, allocations: 0 / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.717e-05/0.01616, allocations: 0 / 382.6 MB, free: 13.97 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001417/0.01758, allocations: 1.276 MB / 383.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.01762, allocations: 15.98 kB / 383.9 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.01779, allocations: 152.3 kB / 384.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000818/0.0186, allocations: 0.6494 MB / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/0.01864, allocations: 49.67 kB / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-05/0.01871, allocations: 64.31 kB / 384.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009744/0.01968, allocations: 0.6612 MB / 385.5 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.0197, allocations: 3.938 kB / 385.5 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/0.01973, allocations: 24 kB / 385.5 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.267e-05/0.01977, allocations: 37.3 kB / 385.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004587/0.02023, allocations: 374.9 kB / 385.9 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/0.02247, allocations: 2.495 MB / 388.4 MB, free: 7.941 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000587/0.02306, allocations: 499.8 kB / 388.9 MB, free: 7.418 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003643/0.02342, allocations: 312.1 kB / 389.2 MB, free: 7.094 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.801e-05/0.02346, allocations: 8.5 kB / 389.2 MB, free: 7.086 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004005/0.02386, allocations: 490.9 kB / 389.7 MB, free: 6.551 MB / 362.7 MB Notification: Performance of pre-optimization done (n=63): time 2.605e-06/0.02386, allocations: 0 / 389.7 MB, free: 6.551 MB / 362.7 MB Notification: Performance of matching and sorting (n=64): time 0.001833/0.0257, allocations: 1.709 MB / 391.4 MB, free: 4.746 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.513e-05/0.02579, allocations: 251.8 kB / 391.6 MB, free: 4.445 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004032/0.0262, allocations: 0.5727 MB / 392.2 MB, free: 3.859 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.02622, allocations: 41.83 kB / 392.2 MB, free: 3.812 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004845/0.02671, allocations: 471 kB / 392.7 MB, free: 3.344 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.02682, allocations: 214.2 kB / 392.9 MB, free: 3.133 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.02695, allocations: 152.2 kB / 393.1 MB, free: 2.977 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.02712, allocations: 0.5703 MB / 393.6 MB, free: 2.395 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.02728, allocations: 169.3 kB / 393.8 MB, free: 2.219 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002985/0.02758, allocations: 499.7 kB / 394.3 MB, free: 1.582 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00048/0.02806, allocations: 0.682 MB / 395 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.02806, allocations: 4 kB / 395 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0008421/0.02891, allocations: 0.8387 MB / 395.8 MB, free: 15.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.383e-05/0.02895, allocations: 59.41 kB / 395.9 MB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.02896, allocations: 8 kB / 395.9 MB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002767/0.02924, allocations: 115.6 kB / 396 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002888/0.02953, allocations: 155.7 kB / 396.1 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002321/0.03185, allocations: 4.244 MB / 400.4 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/0.03209, allocations: 31.98 kB / 400.4 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-05/0.03214, allocations: 55.97 kB / 400.5 MB, free: 10.93 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00023/0.03237, allocations: 289.6 kB / 400.8 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.266e-05/0.03246, allocations: 103.7 kB / 400.9 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006252/0.03308, allocations: 0.7052 MB / 401.6 MB, free: 9.781 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.03309, allocations: 8 kB / 401.6 MB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.03309, allocations: 4 kB / 401.6 MB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.0331, allocations: 7.969 kB / 401.6 MB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.03431, allocations: 1.364 MB / 402.9 MB, free: 8.324 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.03431, allocations: 4 kB / 403 MB, free: 8.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002559/0.03457, allocations: 103.9 kB / 403.1 MB, free: 8.219 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.03457, allocations: 4 kB / 403.1 MB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.0346, allocations: 19.98 kB / 403.1 MB, free: 8.195 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.0346, allocations: 7.938 kB / 403.1 MB, free: 8.188 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.03461, allocations: 0 / 403.1 MB, free: 8.188 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008916/0.0355, allocations: 1.148 MB / 404.2 MB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.03563, allocations: 103.5 kB / 404.3 MB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/0.03568, allocations: 23.92 kB / 404.4 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.03582, allocations: 23.98 kB / 404.4 MB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.331e-05/0.03591, allocations: 48.36 kB / 404.4 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.321e-05/0.03596, allocations: 51.94 kB / 404.5 MB, free: 6.715 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002488/0.03621, allocations: 354.7 kB / 404.8 MB, free: 6.371 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03621, allocations: 0 / 404.8 MB, free: 6.371 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004772/0.03669, allocations: 176 kB / 405 MB, free: 6.199 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (trafo1.i1,trafo2.i1) * 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 (55): * Single equations (assignments): 52 * 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.0001193/0.03681, allocations: 131.1 kB / 405.1 MB, free: 6.059 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009538/0.03776, allocations: 1.061 MB / 406.2 MB, free: 4.906 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.03776, allocations: 0 / 406.2 MB, free: 4.906 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005577/0.03832, allocations: 417.9 kB / 406.6 MB, free: 4.461 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004905/0.03881, allocations: 167.1 kB / 406.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.04083, allocations: 1.449 MB / 408.2 MB, free: 2.785 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.04097, allocations: 215.4 kB / 408.4 MB, free: 2.555 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002614/0.04123, allocations: 133.7 kB / 408.5 MB, free: 2.422 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.952e-05/0.04132, allocations: 48.5 kB / 408.6 MB, free: 2.375 MB / 378.7 MB Notification: Performance of SimCode: time 1.553e-06/0.04132, allocations: 0 / 408.6 MB, free: 2.375 MB / 378.7 MB Notification: Performance of Templates: time 0.01062/0.05195, allocations: 7.633 MB / 416.2 MB, free: 10.88 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.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.4455821625888348]