Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.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.001223/0.001223, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005786/0.005786, allocations: 160.6 kB / 24.7 MB, free: 9.43 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 0.8453/0.8453, allocations: 177.1 MB / 205 MB, free: 5.75 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.2105/0.2105, allocations: 29.4 MB / 290.8 MB, free: 2.426 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.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter1.alpha_v|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v_norm|meter12.alpha_v|meter12.p.1.|meter12.p.2.|meter12.p.3.|meter12.v_norm|meter22.alpha_v|meter22.p.1.|meter22.p.2.|meter22.p.3.|meter22.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter1.alpha_v|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v_norm|meter12.alpha_v|meter12.p.1.|meter12.p.2.|meter12.p.3.|meter12.v_norm|meter22.alpha_v|meter22.p.1.|meter22.p.2.|meter22.p.3.|meter22.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.844e-05, allocations: 2.281 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.006666/0.006694, allocations: 8.431 MB / 439.9 MB, free: 4.617 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00446/0.01115, allocations: 3.201 MB / 443.1 MB, free: 1.406 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006865/0.01184, allocations: 55.56 kB / 443.2 MB, free: 1.352 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001603/0.01344, allocations: 1.029 MB / 444.2 MB, free: 328 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1615/0.1749, allocations: 1.14 MB / 445.3 MB, free: 44.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001847/0.1768, allocations: 0.7289 MB / 446.1 MB, free: 44.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002396/0.1792, allocations: 2.419 MB / 448.5 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007701/0.1799, allocations: 0.6581 MB / 449.1 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001576/0.1815, allocations: 1.318 MB / 450.5 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001278/0.1828, allocations: 1.346 MB / 451.8 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.1829, allocations: 126.2 kB / 451.9 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008673/0.1838, allocations: 0.6173 MB / 452.5 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005091/0.1843, allocations: 0.991 MB / 453.5 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005079/0.1848, allocations: 0.6176 MB / 454.1 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002022/0.1868, allocations: 2.426 MB / 456.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1868, allocations: 0 / 456.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1868, allocations: 0 / 456.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.59e-05/0.1869, allocations: 3.375 kB / 456.6 MB, free: 42.54 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.002084/0.1889, allocations: 1.978 MB / 458.6 MB, free: 41.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.189, allocations: 13.83 kB / 458.6 MB, free: 41.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.1901, allocations: 482.3 kB / 459 MB, free: 41.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.1912, allocations: 1 MB / 460 MB, free: 40.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.099e-05/0.1913, allocations: 101.4 kB / 460.1 MB, free: 40.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000224/0.1915, allocations: 169.9 kB / 460.3 MB, free: 40.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/0.1934, allocations: 2.388 MB / 462.7 MB, free: 39.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.367e-05/0.1934, allocations: 10.06 kB / 462.7 MB, free: 39.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.641e-05/0.1935, allocations: 57.94 kB / 462.8 MB, free: 39.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002614/0.1938, allocations: 224.4 kB / 463 MB, free: 39.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/0.1955, allocations: 1.902 MB / 464.9 MB, free: 38.88 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006043/0.2015, allocations: 8.219 MB / 473.1 MB, free: 33.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.2028, allocations: 1.344 MB / 474.4 MB, free: 32.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004899/0.2033, allocations: 0.6031 MB / 475 MB, free: 32.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.797e-05/0.2034, allocations: 16.5 kB / 475.1 MB, free: 32.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006353/0.204, allocations: 0.9246 MB / 476 MB, free: 31.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 3.557e-06/0.204, allocations: 0 / 476 MB, free: 31.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=131): time 0.003686/0.2077, allocations: 4.127 MB / 480.1 MB, free: 29.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.732e-05/0.2078, allocations: 284.2 kB / 480.4 MB, free: 29.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007775/0.2085, allocations: 0.9375 MB / 481.3 MB, free: 29.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.67e-05/0.2086, allocations: 49.2 kB / 481.4 MB, free: 28.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003663/0.2089, allocations: 0.7826 MB / 482.2 MB, free: 28.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/0.2091, allocations: 470.7 kB / 482.6 MB, free: 28.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000272/0.2094, allocations: 328.7 kB / 482.9 MB, free: 27.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.713e-05/0.2095, allocations: 361.2 kB / 483.3 MB, free: 27.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005943/0.2101, allocations: 0.6339 MB / 483.9 MB, free: 27.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007889/0.2109, allocations: 1.225 MB / 485.2 MB, free: 26.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00156/0.2124, allocations: 2.004 MB / 487.2 MB, free: 25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.2124, allocations: 10.5 kB / 487.2 MB, free: 25 MB / 410.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.002754/0.2152, allocations: 2.528 MB / 489.7 MB, free: 24.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.287e-05/0.2152, allocations: 70.91 kB / 489.8 MB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001718/0.217, allocations: 1.557 MB / 491.3 MB, free: 23.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009097/0.2179, allocations: 0.537 MB / 491.9 MB, free: 23.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006831/0.2185, allocations: 326.3 kB / 492.2 MB, free: 23.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006281/0.2248, allocations: 8.87 MB / 0.4893 GB, free: 16.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009482/0.2258, allocations: 74.95 kB / 0.4894 GB, free: 16.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/0.2259, allocations: 109.2 kB / 0.4895 GB, free: 16.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (175): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (2,11,100.0%), (2,12,100.0%), (2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008103/0.2267, allocations: 0.5943 MB / 0.4901 GB, free: 16.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.2269, allocations: 133.2 kB / 0.4902 GB, free: 16.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001643/0.2285, allocations: 1.613 MB / 0.4918 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.2285, allocations: 12.06 kB / 0.4918 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2285, allocations: 1.062 kB / 0.4918 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.2285, allocations: 7.031 kB / 0.4918 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00315/0.2317, allocations: 2.807 MB / 0.4945 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.2317, allocations: 2.156 kB / 0.4945 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000747/0.2324, allocations: 294.2 kB / 0.4948 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.798e-06/0.2324, allocations: 6.438 kB / 0.4948 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.455e-05/0.2325, allocations: 39.84 kB / 0.4948 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.2325, allocations: 6.828 kB / 0.4949 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.2325, allocations: 8.375 kB / 0.4949 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00221/0.2347, allocations: 2.457 MB / 0.4973 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004326/0.2351, allocations: 218.9 kB / 0.4975 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.392e-05/0.2352, allocations: 31.05 kB / 0.4975 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/0.2355, allocations: 46.05 kB / 0.4975 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.2356, allocations: 84.36 kB / 0.4976 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.93e-05/0.2357, allocations: 79.25 kB / 0.4977 GB, free: 13.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005695/0.2363, allocations: 0.5908 MB / 0.4983 GB, free: 12.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2363, allocations: 0 / 0.4983 GB, free: 12.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001172/0.2375, allocations: 425.5 kB / 0.4987 GB, free: 12.94 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (trafo1.i1[1],trafo1.i1[2],trafo1.i1[3],trafo2.i1[1],trafo2.i1[2],trafo2.i1[3]) * 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 (121): * Single equations (assignments): 118 * 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.0001557/0.2376, allocations: 145.9 kB / 0.4988 GB, free: 12.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002424/0.2401, allocations: 2.384 MB / 0.5012 GB, free: 11.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.2401, allocations: 2.312 kB / 0.5012 GB, free: 11.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007459/0.2408, allocations: 0.8405 MB / 0.502 GB, free: 11.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008141/0.2416, allocations: 225.7 kB / 0.5022 GB, free: 11.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003916/0.2455, allocations: 3.477 MB / 0.5056 GB, free: 7.895 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007036/0.2462, allocations: 0.87 MB / 0.5064 GB, free: 7.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/0.2465, allocations: 109.8 kB / 0.5065 GB, free: 7.129 MB / 410.7 MB Notification: Performance of SimCode: time 1.533e-06/0.2465, allocations: 0 / 0.5065 GB, free: 7.129 MB / 410.7 MB Notification: Performance of Templates: time 0.02565/0.2721, allocations: 29.1 MB / 0.535 GB, free: 11.13 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transformation.TapChanger.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.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: 6.687869927845895]