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.002403/0.002403, allocations: 83.67 kB / 20.96 MB, free: 3.32 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.002765/0.002765, allocations: 161.3 kB / 24.27 MB, free: 12 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 1.605/1.605, allocations: 177.2 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3174/0.3174, allocations: 29.42 MB / 290.5 MB, free: 2.383 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.222e-06/1.222e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.561e-05, allocations: 2.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.01031/0.01034, allocations: 7.29 MB / 376.2 MB, free: 3.98 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003455/0.01379, allocations: 1.714 MB / 377.9 MB, free: 2.262 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004704/0.01426, allocations: 35.69 kB / 377.9 MB, free: 2.227 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006872/0.01495, allocations: 230.3 kB / 378.1 MB, free: 2 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001464/0.01641, allocations: 0.6022 MB / 378.7 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005255/0.01694, allocations: 215.6 kB / 379 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001845/0.01878, allocations: 1.292 MB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003992/0.01918, allocations: 211 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.02043, allocations: 0.7554 MB / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.02155, allocations: 0.6155 MB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000139/0.02169, allocations: 64 kB / 381.9 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000176/0.02187, allocations: 64 kB / 382 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004142/0.02228, allocations: 359 kB / 382.3 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004315/0.02271, allocations: 295.3 kB / 382.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.02398, allocations: 0.9267 MB / 383.5 MB, free: 12.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.02399, allocations: 8 kB / 383.5 MB, free: 12.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.02399, allocations: 0 / 383.5 MB, free: 12.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.024, allocations: 0 / 383.5 MB, free: 12.6 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.00226/0.02626, allocations: 1.326 MB / 384.9 MB, free: 11.22 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.0263, allocations: 11.98 kB / 384.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002499/0.02655, allocations: 152.3 kB / 385 MB, free: 11.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.02793, allocations: 0.6493 MB / 385.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.091e-05/0.02799, allocations: 45.67 kB / 385.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.02809, allocations: 72.31 kB / 385.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.02944, allocations: 0.7276 MB / 386.5 MB, free: 9.484 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.02946, allocations: 0 / 386.5 MB, free: 9.484 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.383e-05/0.02952, allocations: 28 kB / 386.5 MB, free: 9.457 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.369e-05/0.02958, allocations: 37.23 kB / 386.6 MB, free: 9.422 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008317/0.03041, allocations: 428.3 kB / 387 MB, free: 8.992 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004035/0.03444, allocations: 2.652 MB / 389.6 MB, free: 6.246 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000971/0.03541, allocations: 0.5224 MB / 390.2 MB, free: 5.688 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006479/0.03606, allocations: 332.1 kB / 390.5 MB, free: 5.344 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.378e-05/0.03611, allocations: 8.5 kB / 390.5 MB, free: 5.336 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007344/0.03684, allocations: 0.5223 MB / 391 MB, free: 4.758 MB / 362.7 MB Notification: Performance of pre-optimization done (n=63): time 2.134e-06/0.03684, allocations: 0 / 391 MB, free: 4.758 MB / 362.7 MB Notification: Performance of matching and sorting (n=64): time 0.003209/0.04005, allocations: 1.834 MB / 392.9 MB, free: 2.828 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001905/0.04024, allocations: 255.8 kB / 393.1 MB, free: 2.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009892/0.04123, allocations: 0.6625 MB / 393.8 MB, free: 1.844 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.905e-05/0.04128, allocations: 41.7 kB / 393.8 MB, free: 1.797 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004525/0.04173, allocations: 475.2 kB / 394.3 MB, free: 1.324 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002409/0.04197, allocations: 234.2 kB / 394.5 MB, free: 1.094 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002676/0.04224, allocations: 172.2 kB / 394.7 MB, free: 0.918 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003862/0.04263, allocations: 0.6015 MB / 395.3 MB, free: 312 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003659/0.04299, allocations: 201.3 kB / 395.5 MB, free: 100 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006884/0.04368, allocations: 0.5312 MB / 396 MB, free: 15.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.04471, allocations: 0.7639 MB / 396.8 MB, free: 14.49 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-06/0.04472, allocations: 4 kB / 396.8 MB, free: 14.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0017/0.04642, allocations: 0.8939 MB / 397.7 MB, free: 13.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.277e-05/0.04649, allocations: 67.44 kB / 397.7 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.0465, allocations: 8 kB / 397.7 MB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005161/0.04702, allocations: 119.2 kB / 397.8 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005445/0.04757, allocations: 159.7 kB / 398 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004484/0.05205, allocations: 4.384 MB / 402.4 MB, free: 8.559 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005326/0.05258, allocations: 35.92 kB / 402.4 MB, free: 8.523 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.244e-05/0.05267, allocations: 51.97 kB / 402.5 MB, free: 8.473 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.0004343/0.05311, allocations: 305.6 kB / 402.8 MB, free: 8.152 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.05326, allocations: 103.5 kB / 402.9 MB, free: 8.051 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.05455, allocations: 0.7598 MB / 403.6 MB, free: 7.258 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.05456, allocations: 4 kB / 403.6 MB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.05456, allocations: 4.031 kB / 403.6 MB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.05457, allocations: 7.984 kB / 403.6 MB, free: 7.242 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002536/0.0571, allocations: 1.513 MB / 405.2 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.05711, allocations: 4 kB / 405.2 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005253/0.05764, allocations: 108 kB / 405.3 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.377e-06/0.05764, allocations: 8.094 kB / 405.3 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.781e-05/0.05769, allocations: 23.98 kB / 405.3 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.0577, allocations: 7.938 kB / 405.3 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.0577, allocations: 0 / 405.3 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/0.05953, allocations: 1.254 MB / 406.6 MB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003168/0.05984, allocations: 103.5 kB / 406.7 MB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.968e-05/0.05993, allocations: 19.98 kB / 406.7 MB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002963/0.06023, allocations: 19.98 kB / 406.7 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.06037, allocations: 44.42 kB / 406.7 MB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/0.06049, allocations: 55.94 kB / 406.8 MB, free: 3.938 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006047/0.06109, allocations: 410.7 kB / 407.2 MB, free: 3.539 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06109, allocations: 0 / 407.2 MB, free: 3.539 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001032/0.06212, allocations: 176 kB / 407.4 MB, free: 3.367 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.0001869/0.06231, allocations: 119.9 kB / 407.5 MB, free: 3.238 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001729/0.06404, allocations: 1.142 MB / 408.6 MB, free: 2.004 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.06405, allocations: 4 kB / 408.6 MB, free: 2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005965/0.06464, allocations: 467.2 kB / 409.1 MB, free: 1.508 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000877/0.06552, allocations: 173.2 kB / 409.3 MB, free: 1.348 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/0.06816, allocations: 1.46 MB / 410.7 MB, free: 15.81 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005104/0.06867, allocations: 409.1 kB / 411.1 MB, free: 15.39 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000397/0.06907, allocations: 125.7 kB / 411.2 MB, free: 15.26 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.0692, allocations: 56.5 kB / 411.3 MB, free: 15.21 MB / 394.7 MB Notification: Performance of SimCode: time 1.302e-06/0.0692, allocations: 0 / 411.3 MB, free: 15.21 MB / 394.7 MB Notification: Performance of Templates: time 0.0178/0.08699, allocations: 7.59 MB / 418.9 MB, free: 7.758 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.173512522946112]