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.001003/0.001003, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001426/0.00243, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001071/0.001071, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001304/0.002376, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.913/0.913, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07823/0.9912, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1143/0.1143, allocations: 29.44 MB / 273.4 MB, free: 1.492 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1083/0.2226, allocations: 9.531 MB / 283 MB, free: 12.85 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="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="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.292e-06/1.292e-06, allocations: 3.938 kB / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.066e-05/1.195e-05, allocations: 5.016 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.005228/0.00524, allocations: 5.964 MB / 290.2 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.007206, allocations: 1.773 MB / 292 MB, free: 5.883 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000259/0.007465, allocations: 40.97 kB / 292 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004111/0.007876, allocations: 213.7 kB / 292.2 MB, free: 5.699 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007459/0.008622, allocations: 0.586 MB / 292.8 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.008919, allocations: 212.7 kB / 293 MB, free: 5.047 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001069/0.009988, allocations: 1.277 MB / 294.3 MB, free: 4.34 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002586/0.01025, allocations: 221.5 kB / 294.5 MB, free: 4.211 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001219/0.01147, allocations: 0.9232 MB / 295.4 MB, free: 3.594 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004732/0.01194, allocations: 478.5 kB / 295.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.38e-05/0.012, allocations: 60 kB / 296 MB, free: 3.066 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.4e-05/0.0121, allocations: 60 kB / 296 MB, free: 3.008 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001995/0.0123, allocations: 311.2 kB / 296.3 MB, free: 2.703 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.0125, allocations: 235.4 kB / 296.6 MB, free: 2.473 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004884/0.01298, allocations: 0.5837 MB / 297.1 MB, free: 1.887 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.488e-05/0.013, allocations: 0 / 297.1 MB, free: 1.887 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.013, allocations: 0 / 297.1 MB, free: 1.887 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.847e-05/0.01302, allocations: 0 / 297.1 MB, free: 1.887 MB / 282.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.001144/0.01416, allocations: 1.268 MB / 298.4 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.736e-05/0.01419, allocations: 8.031 kB / 298.4 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.01431, allocations: 112.8 kB / 298.5 MB, free: 472 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005617/0.01487, allocations: 0.5493 MB / 299.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.0149, allocations: 49.69 kB / 299.1 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.446e-05/0.01497, allocations: 78.69 kB / 299.2 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004923/0.01546, allocations: 0.5894 MB / 299.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.01547, allocations: 0 / 299.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.0155, allocations: 28 kB / 299.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.531e-05/0.01554, allocations: 33.3 kB / 299.8 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002529/0.01579, allocations: 276.3 kB / 300.1 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.0173, allocations: 1.804 MB / 301.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007004/0.018, allocations: 397.2 kB / 302.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.01823, allocations: 242.6 kB / 302.5 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.01826, allocations: 12.48 kB / 302.6 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003083/0.01857, allocations: 451.5 kB / 303 MB, free: 11.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=63): time 1.653e-06/0.01857, allocations: 0 / 303 MB, free: 11.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=63): time 0.0007327/0.0193, allocations: 0.8802 MB / 303.9 MB, free: 10.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.957e-05/0.01938, allocations: 251.8 kB / 304.1 MB, free: 10.5 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.01963, allocations: 486.9 kB / 304.6 MB, free: 10.01 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.01966, allocations: 41.64 kB / 304.6 MB, free: 9.961 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.01979, allocations: 333.5 kB / 305 MB, free: 9.629 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.01989, allocations: 218.2 kB / 305.2 MB, free: 9.414 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.02, allocations: 142.5 kB / 305.3 MB, free: 9.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.02011, allocations: 394.7 kB / 305.7 MB, free: 8.875 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.02022, allocations: 144.2 kB / 305.8 MB, free: 8.719 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.02041, allocations: 364.3 kB / 306.2 MB, free: 8.258 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/0.02077, allocations: 0.559 MB / 306.8 MB, free: 7.578 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.02077, allocations: 0 / 306.8 MB, free: 7.578 MB / 298.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.0006034/0.02138, allocations: 0.6126 MB / 307.4 MB, free: 6.922 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.146e-05/0.02144, allocations: 71.95 kB / 307.4 MB, free: 6.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.02145, allocations: 4 kB / 307.5 MB, free: 6.836 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002357/0.02168, allocations: 103.3 kB / 307.6 MB, free: 6.727 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.02196, allocations: 171.8 kB / 307.7 MB, free: 6.559 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/0.02378, allocations: 3.02 MB / 310.7 MB, free: 3.352 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.02399, allocations: 75.41 kB / 310.8 MB, free: 3.277 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.414e-05/0.02405, allocations: 51.95 kB / 310.9 MB, free: 3.227 MB / 298.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.0001725/0.02422, allocations: 233.8 kB / 311.1 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.734e-05/0.02428, allocations: 67.97 kB / 311.2 MB, free: 2.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003601/0.02464, allocations: 0.5024 MB / 311.7 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.02464, allocations: 8 kB / 311.7 MB, free: 2.371 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.02464, allocations: 0 / 311.7 MB, free: 2.371 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.02465, allocations: 3.984 kB / 311.7 MB, free: 2.367 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008185/0.02546, allocations: 0.9472 MB / 312.6 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.02547, allocations: 3.938 kB / 312.6 MB, free: 1.359 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/0.02573, allocations: 119.9 kB / 312.7 MB, free: 1.242 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.02583, allocations: 99.3 kB / 312.8 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.02583, allocations: 4 kB / 312.8 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.02586, allocations: 27.97 kB / 312.9 MB, free: 1.109 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.02586, allocations: 7.938 kB / 312.9 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.02586, allocations: 0 / 312.9 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005302/0.02639, allocations: 0.7993 MB / 313.7 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.492e-05/0.02644, allocations: 19.98 kB / 313.7 MB, free: 228 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.02656, allocations: 12.03 kB / 313.7 MB, free: 216 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.708e-05/0.02662, allocations: 52.36 kB / 313.8 MB, free: 164 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.234e-05/0.02667, allocations: 47.94 kB / 313.8 MB, free: 116 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001414/0.02681, allocations: 212.3 kB / 314 MB, free: 15.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.02681, allocations: 0 / 314 MB, free: 15.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003972/0.02721, allocations: 211.6 kB / 314.2 MB, free: 15.7 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 0.0001041/0.02731, allocations: 101.7 kB / 314.3 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006495/0.02796, allocations: 0.8763 MB / 315.2 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.65e-05/0.02798, allocations: 12 kB / 315.2 MB, free: 14.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.02821, allocations: 375.4 kB / 315.6 MB, free: 14.22 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.02866, allocations: 234.8 kB / 315.8 MB, free: 14 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007989/0.03665, allocations: 1.389 MB / 317.2 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.03679, allocations: 211.3 kB / 317.4 MB, free: 12.32 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002183/0.03701, allocations: 89.7 kB / 317.5 MB, free: 12.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002746/0.03729, allocations: 213.2 kB / 317.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of SimCode: time 1.322e-06/0.03729, allocations: 0 / 317.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of Templates: time 0.01051/0.04779, allocations: 8.339 MB / 326 MB, free: 3.871 MB / 314.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 -ignoreHideResult -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: 2.8399908458814025]