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.001938/0.001938, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.002283/0.002283, allocations: 161.6 kB / 24.27 MB, free: 172 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.609/1.609, allocations: 177.1 MB / 204.6 MB, free: 5.582 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.3072/0.3072, allocations: 29.42 MB / 290.5 MB, free: 2.422 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.914e-06/1.914e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.877e-05/3.069e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.01012/0.01016, allocations: 6.896 MB / 375.8 MB, free: 4.371 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003359/0.01351, allocations: 1.656 MB / 377.4 MB, free: 2.711 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005242/0.01404, allocations: 39.62 kB / 377.5 MB, free: 2.672 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008227/0.01486, allocations: 230.3 kB / 377.7 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001728/0.01659, allocations: 0.606 MB / 378.3 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006107/0.0172, allocations: 219.5 kB / 378.5 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001883/0.01908, allocations: 1.289 MB / 379.8 MB, free: 336 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004603/0.01954, allocations: 211 kB / 380 MB, free: 124 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001725/0.02127, allocations: 0.7516 MB / 380.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/0.02255, allocations: 0.6038 MB / 381.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.02268, allocations: 68 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.02285, allocations: 64 kB / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004329/0.02328, allocations: 355 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004017/0.02368, allocations: 295.3 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.02489, allocations: 0.9227 MB / 383.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.0249, allocations: 0 / 383.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.0249, allocations: 0 / 383.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.02491, allocations: 4 kB / 383.1 MB, free: 13.07 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.00221/0.02712, allocations: 1.157 MB / 384.2 MB, free: 11.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.02716, allocations: 15.98 kB / 384.2 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002634/0.02742, allocations: 156.2 kB / 384.4 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.02869, allocations: 0.67 MB / 385 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.299e-05/0.02875, allocations: 45.69 kB / 385.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.02887, allocations: 64.38 kB / 385.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.03029, allocations: 0.8717 MB / 386 MB, free: 9.973 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.03031, allocations: 0 / 386 MB, free: 9.973 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.583e-05/0.03038, allocations: 24 kB / 386.1 MB, free: 9.949 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.817e-05/0.03043, allocations: 37.3 kB / 386.1 MB, free: 9.914 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.03158, allocations: 0.672 MB / 386.8 MB, free: 9.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003908/0.03549, allocations: 2.276 MB / 389 MB, free: 6.875 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.0366, allocations: 0.6163 MB / 389.7 MB, free: 6.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007315/0.03734, allocations: 402.4 kB / 390 MB, free: 5.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.03737, allocations: 8.5 kB / 390.1 MB, free: 5.812 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008187/0.03819, allocations: 0.5348 MB / 390.6 MB, free: 5.223 MB / 362.7 MB Notification: Performance of pre-optimization done (n=63): time 2.315e-06/0.03819, allocations: 0 / 390.6 MB, free: 5.223 MB / 362.7 MB Notification: Performance of matching and sorting (n=64): time 0.003613/0.0418, allocations: 2.083 MB / 392.7 MB, free: 3.047 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002031/0.04201, allocations: 251.8 kB / 392.9 MB, free: 2.746 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007552/0.04276, allocations: 0.5537 MB / 393.5 MB, free: 2.184 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.289e-05/0.04282, allocations: 45.64 kB / 393.5 MB, free: 2.133 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003899/0.04321, allocations: 408.5 kB / 393.9 MB, free: 1.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000395/0.0436, allocations: 218.2 kB / 394.1 MB, free: 1.516 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002411/0.04384, allocations: 142.6 kB / 394.3 MB, free: 1.371 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002698/0.04411, allocations: 394.6 kB / 394.7 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004526/0.04456, allocations: 277.3 kB / 394.9 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007113/0.04528, allocations: 0.5011 MB / 395.4 MB, free: 84 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.04641, allocations: 0.7927 MB / 396.2 MB, free: 15.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.04642, allocations: 0 / 396.2 MB, free: 15.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00191/0.04833, allocations: 1.056 MB / 397.3 MB, free: 14.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.622e-05/0.0484, allocations: 63.39 kB / 397.3 MB, free: 14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.04841, allocations: 8 kB / 397.3 MB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005426/0.04895, allocations: 121.9 kB / 397.5 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005328/0.04949, allocations: 143.7 kB / 397.6 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003917/0.0534, allocations: 3.306 MB / 400.9 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004901/0.05389, allocations: 35.98 kB / 400.9 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002237/0.05412, allocations: 55.95 kB / 401 MB, free: 10.12 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.0005623/0.05468, allocations: 351 kB / 401.3 MB, free: 9.758 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/0.05488, allocations: 103.5 kB / 401.4 MB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001478/0.05636, allocations: 0.8574 MB / 402.3 MB, free: 8.762 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.05637, allocations: 4 kB / 402.3 MB, free: 8.758 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.05637, allocations: 3.984 kB / 402.3 MB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.05638, allocations: 4 kB / 402.3 MB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002628/0.05901, allocations: 1.47 MB / 403.8 MB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.05901, allocations: 192 / 403.8 MB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005369/0.05955, allocations: 107.9 kB / 403.9 MB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.151e-05/0.05956, allocations: 4 kB / 403.9 MB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.923e-05/0.05962, allocations: 19.98 kB / 403.9 MB, free: 7.086 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.05963, allocations: 4 kB / 403.9 MB, free: 7.082 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.05963, allocations: 4 kB / 403.9 MB, free: 7.078 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/0.06167, allocations: 1.356 MB / 405.3 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002721/0.06194, allocations: 107.6 kB / 405.4 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.06205, allocations: 20 kB / 405.4 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003607/0.06241, allocations: 31.97 kB / 405.4 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.06254, allocations: 36.44 kB / 405.5 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.06264, allocations: 67.84 kB / 405.5 MB, free: 5.395 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00053/0.06317, allocations: 378.8 kB / 405.9 MB, free: 5.027 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06317, allocations: 0 / 405.9 MB, free: 5.027 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008092/0.06398, allocations: 183.9 kB / 406.1 MB, free: 4.848 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.0001997/0.06418, allocations: 127.2 kB / 406.2 MB, free: 4.711 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001934/0.06611, allocations: 1.089 MB / 407.3 MB, free: 3.547 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.06611, allocations: 4.062 kB / 407.3 MB, free: 3.543 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006944/0.06681, allocations: 496.8 kB / 407.8 MB, free: 3.023 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009055/0.06771, allocations: 166.2 kB / 407.9 MB, free: 2.867 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003027/0.07074, allocations: 1.577 MB / 409.5 MB, free: 1.223 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005503/0.07129, allocations: 417.1 kB / 409.9 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004579/0.07175, allocations: 145.7 kB / 410.1 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.0719, allocations: 52.48 kB / 410.1 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of SimCode: time 8.51e-07/0.0719, allocations: 4 kB / 410.1 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of Templates: time 0.01714/0.08904, allocations: 7.58 MB / 417.7 MB, free: 9.148 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) [Timeout 480] 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.141013678046875]