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.001444/0.001444, 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.001401/0.001401, allocations: 171.8 kB / 24.92 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.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.121 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.2421/0.2421, allocations: 29.42 MB / 291.2 MB, free: 2.363 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.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.543e-06/1.543e-06, allocations: 0 / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.88e-05, allocations: 2.969 kB / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.007091/0.00712, allocations: 5.938 MB / 322.8 MB, free: 9.984 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002642/0.009762, allocations: 1.76 MB / 324.6 MB, free: 8.219 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003441/0.01011, allocations: 39.62 kB / 324.6 MB, free: 8.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004924/0.0106, allocations: 206.6 kB / 324.8 MB, free: 7.977 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.01161, allocations: 0.5943 MB / 325.4 MB, free: 7.379 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.01198, allocations: 215.6 kB / 325.6 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001206/0.01319, allocations: 1.292 MB / 326.9 MB, free: 5.871 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002763/0.01347, allocations: 221 kB / 327.1 MB, free: 5.648 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.01456, allocations: 0.8884 MB / 328 MB, free: 4.758 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006118/0.01517, allocations: 482.5 kB / 328.5 MB, free: 4.285 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.087e-05/0.01526, allocations: 60 kB / 328.6 MB, free: 4.227 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.01537, allocations: 60 kB / 328.6 MB, free: 4.168 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002219/0.01559, allocations: 343.1 kB / 329 MB, free: 3.832 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002255/0.01582, allocations: 279.3 kB / 329.2 MB, free: 3.559 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005861/0.0164, allocations: 0.6304 MB / 329.9 MB, free: 2.926 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.01641, allocations: 4 kB / 329.9 MB, free: 2.922 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.01641, allocations: 0 / 329.9 MB, free: 2.922 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.799e-05/0.01643, allocations: 0 / 329.9 MB, free: 2.922 MB / 298.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.001011/0.01744, allocations: 1.081 MB / 330.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.01747, allocations: 15.98 kB / 331 MB, free: 1.785 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.0176, allocations: 112.8 kB / 331.1 MB, free: 1.676 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006257/0.01822, allocations: 0.5633 MB / 331.6 MB, free: 1.086 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.01825, allocations: 53.69 kB / 331.7 MB, free: 1.035 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.906e-05/0.01832, allocations: 56.38 kB / 331.7 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005494/0.01887, allocations: 0.601 MB / 332.3 MB, free: 332 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.01889, allocations: 0 / 332.3 MB, free: 332 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.01892, allocations: 24 kB / 332.4 MB, free: 308 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.924e-05/0.01896, allocations: 37.3 kB / 332.4 MB, free: 268 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003013/0.01926, allocations: 276.4 kB / 332.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/0.02106, allocations: 1.777 MB / 334.5 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003789/0.02144, allocations: 413 kB / 334.9 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/0.02167, allocations: 238.6 kB / 335.1 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.0217, allocations: 12.33 kB / 335.1 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003224/0.02202, allocations: 451.6 kB / 335.5 MB, free: 12.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=63): time 1.753e-06/0.02203, allocations: 0 / 335.5 MB, free: 12.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=63): time 0.0008066/0.02283, allocations: 0.8451 MB / 336.4 MB, free: 12.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.201e-05/0.02291, allocations: 255.8 kB / 336.6 MB, free: 11.74 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.02319, allocations: 490.9 kB / 337.1 MB, free: 11.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.02322, allocations: 37.7 kB / 337.2 MB, free: 11.21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.02335, allocations: 333.6 kB / 337.5 MB, free: 10.88 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.02346, allocations: 214.2 kB / 337.7 MB, free: 10.67 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.02357, allocations: 142.5 kB / 337.8 MB, free: 10.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.534e-05/0.02367, allocations: 390.7 kB / 338.2 MB, free: 10.13 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.02377, allocations: 140.2 kB / 338.3 MB, free: 9.984 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.02398, allocations: 368.3 kB / 338.7 MB, free: 9.516 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003617/0.02434, allocations: 0.5512 MB / 339.3 MB, free: 8.844 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.02434, allocations: 3.938 kB / 339.3 MB, free: 8.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.0005647/0.02491, allocations: 0.6165 MB / 339.9 MB, free: 8.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.109e-05/0.02495, allocations: 59.41 kB / 339.9 MB, free: 8.109 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.02496, allocations: 11.98 kB / 339.9 MB, free: 8.098 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002295/0.02519, allocations: 107.6 kB / 340.1 MB, free: 7.984 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.02546, allocations: 155.7 kB / 340.2 MB, free: 7.832 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/0.02693, allocations: 3.012 MB / 343.2 MB, free: 4.629 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.02712, allocations: 79.5 kB / 343.3 MB, free: 4.551 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.696e-05/0.02717, allocations: 43.91 kB / 343.3 MB, free: 4.508 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (89): * Single equations (assignments): 85 * 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.0001792/0.02735, allocations: 245.7 kB / 343.6 MB, free: 4.246 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.081e-05/0.02741, allocations: 67.97 kB / 343.6 MB, free: 4.18 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003693/0.02778, allocations: 494.5 kB / 344.1 MB, free: 3.664 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.02778, allocations: 8 kB / 344.1 MB, free: 3.656 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.02778, allocations: 0 / 344.1 MB, free: 3.656 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.02779, allocations: 3.984 kB / 344.1 MB, free: 3.652 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008036/0.02859, allocations: 0.9393 MB / 345.1 MB, free: 2.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.02859, allocations: 0 / 345.1 MB, free: 2.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.02886, allocations: 115.9 kB / 345.2 MB, free: 2.547 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.02886, allocations: 4 kB / 345.2 MB, free: 2.543 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.02889, allocations: 20 kB / 345.2 MB, free: 2.523 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.02889, allocations: 7.969 kB / 345.2 MB, free: 2.516 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.02889, allocations: 7.938 kB / 345.2 MB, free: 2.508 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005551/0.02945, allocations: 0.7837 MB / 346 MB, free: 1.66 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.02955, allocations: 95.38 kB / 346.1 MB, free: 1.566 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.655e-05/0.0296, allocations: 16.06 kB / 346.1 MB, free: 1.551 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.02972, allocations: 28.02 kB / 346.1 MB, free: 1.523 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.837e-05/0.02978, allocations: 36.38 kB / 346.2 MB, free: 1.488 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.905e-05/0.02983, allocations: 63.91 kB / 346.2 MB, free: 1.426 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001797/0.03001, allocations: 204.3 kB / 346.4 MB, free: 1.227 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03001, allocations: 7.938 kB / 346.5 MB, free: 1.219 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003887/0.0304, allocations: 207.7 kB / 346.7 MB, free: 1.016 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (54): * Single equations (assignments): 51 * 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 9.884e-05/0.0305, allocations: 105 kB / 346.8 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000716/0.03121, allocations: 0.8684 MB / 347.6 MB, free: 15.96 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/0.03122, allocations: 4 kB / 347.6 MB, free: 15.95 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002173/0.03144, allocations: 375.5 kB / 348 MB, free: 15.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.03184, allocations: 155.1 kB / 348.1 MB, free: 15.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.03359, allocations: 1.388 MB / 349.5 MB, free: 13.96 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/0.03374, allocations: 203.4 kB / 349.7 MB, free: 13.74 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002191/0.03396, allocations: 93.67 kB / 349.8 MB, free: 13.65 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002749/0.03423, allocations: 209.3 kB / 350 MB, free: 13.44 MB / 330.7 MB Notification: Performance of SimCode: time 6.51e-07/0.03423, allocations: 4 kB / 350 MB, free: 13.44 MB / 330.7 MB Notification: Performance of Templates: time 0.01067/0.0449, allocations: 8.232 MB / 358.3 MB, free: 5.398 MB / 330.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 -s gbode -gbm=radauIIA3 -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.1710578901693225]