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.001368/0.001368, allocations: 84.23 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001375/0.001375, allocations: 163.4 kB / 23.95 MB, free: 4.156 MB / 14.72 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.384/1.384, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 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.1674/0.1674, allocations: 29.44 MB / 290.1 MB, free: 3.285 MB / 270.1 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.122e-06/1.122e-06, allocations: 0 / 430.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.962e-05, allocations: 2.281 kB / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.008223/0.008243, allocations: 6.874 MB / 437.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002863/0.01111, allocations: 1.663 MB / 439.3 MB, free: 9.363 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002531/0.01136, allocations: 39.62 kB / 439.3 MB, free: 9.324 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006115/0.01197, allocations: 226.3 kB / 439.5 MB, free: 9.102 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001326/0.0133, allocations: 0.5944 MB / 440.1 MB, free: 8.504 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004522/0.01375, allocations: 219.5 kB / 440.3 MB, free: 8.289 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001511/0.01526, allocations: 1.292 MB / 441.6 MB, free: 6.992 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003549/0.01561, allocations: 219 kB / 441.8 MB, free: 6.773 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000972/0.01659, allocations: 0.7516 MB / 442.6 MB, free: 6.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009348/0.01752, allocations: 0.5999 MB / 443.2 MB, free: 5.418 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.01764, allocations: 68 kB / 443.2 MB, free: 5.352 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.01779, allocations: 64 kB / 443.3 MB, free: 5.289 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003617/0.01815, allocations: 362.9 kB / 443.7 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003577/0.01851, allocations: 295.2 kB / 444 MB, free: 4.645 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009891/0.0195, allocations: 0.915 MB / 444.9 MB, free: 3.727 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.0195, allocations: 3.938 kB / 444.9 MB, free: 3.723 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.0195, allocations: 4 kB / 444.9 MB, free: 3.719 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.01951, allocations: 0 / 444.9 MB, free: 3.719 MB / 366.1 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.001835/0.02135, allocations: 1.16 MB / 446 MB, free: 2.512 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.02138, allocations: 15.98 kB / 446 MB, free: 2.496 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.02153, allocations: 100.3 kB / 446.1 MB, free: 2.398 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.02268, allocations: 0.6464 MB / 446.8 MB, free: 1.723 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.795e-05/0.02273, allocations: 41.69 kB / 446.8 MB, free: 1.684 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-05/0.02283, allocations: 64.38 kB / 446.9 MB, free: 1.621 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.02407, allocations: 0.8717 MB / 447.8 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.02409, allocations: 0 / 447.8 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.008e-05/0.02415, allocations: 28 kB / 447.8 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-05/0.0242, allocations: 33.3 kB / 447.8 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1973/0.2215, allocations: 0.6736 MB / 448.5 MB, free: 30.49 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003528/0.2251, allocations: 2.258 MB / 450.8 MB, free: 29.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009501/0.226, allocations: 0.6217 MB / 451.4 MB, free: 28.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005906/0.2266, allocations: 395.7 kB / 451.8 MB, free: 28.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.2266, allocations: 7.047 kB / 451.8 MB, free: 28.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006019/0.2272, allocations: 0.5353 MB / 452.3 MB, free: 28.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.445e-06/0.2273, allocations: 3.812 kB / 452.3 MB, free: 28.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=64): time 0.002723/0.23, allocations: 2.065 MB / 454.4 MB, free: 27.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.131e-05/0.2301, allocations: 254.2 kB / 454.6 MB, free: 27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006007/0.2307, allocations: 0.5567 MB / 455.2 MB, free: 26.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.2307, allocations: 38.61 kB / 455.2 MB, free: 26.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/0.2309, allocations: 406.2 kB / 455.6 MB, free: 26.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.2311, allocations: 217.9 kB / 455.8 MB, free: 26.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.2313, allocations: 145.3 kB / 456 MB, free: 26.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.2314, allocations: 386.4 kB / 456.4 MB, free: 25.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003724/0.2318, allocations: 276.5 kB / 456.6 MB, free: 25.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004779/0.2322, allocations: 0.504 MB / 457.1 MB, free: 25.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007857/0.233, allocations: 0.7924 MB / 457.9 MB, free: 24.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.233, allocations: 2.75 kB / 457.9 MB, free: 24.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001435/0.2345, allocations: 1.016 MB / 458.9 MB, free: 24.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.853e-05/0.2345, allocations: 64.47 kB / 459 MB, free: 24.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.2345, allocations: 6.219 kB / 459 MB, free: 24.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00039/0.2349, allocations: 108 kB / 459.1 MB, free: 24.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004693/0.2354, allocations: 148 kB / 459.3 MB, free: 24.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/0.2377, allocations: 3.288 MB / 462.5 MB, free: 21.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000391/0.2381, allocations: 37.2 kB / 462.6 MB, free: 21.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.458e-05/0.2382, allocations: 59.33 kB / 462.6 MB, free: 21.12 MB / 366.1 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.0003451/0.2385, allocations: 347.4 kB / 463 MB, free: 20.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.839e-05/0.2386, allocations: 80.5 kB / 463.1 MB, free: 20.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001248/0.2399, allocations: 0.8538 MB / 463.9 MB, free: 20.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.2399, allocations: 6.156 kB / 463.9 MB, free: 20.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.2399, allocations: 3.938 kB / 463.9 MB, free: 20.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.2399, allocations: 7.391 kB / 463.9 MB, free: 20.4 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002143/0.242, allocations: 1.461 MB / 465.4 MB, free: 19.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.242, allocations: 3.109 kB / 465.4 MB, free: 19.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004859/0.2425, allocations: 115.3 kB / 465.5 MB, free: 19.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.2425, allocations: 3.344 kB / 465.5 MB, free: 19.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.394e-05/0.2426, allocations: 20.64 kB / 465.5 MB, free: 19.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.2426, allocations: 7.594 kB / 465.5 MB, free: 19.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2426, allocations: 1.094 kB / 465.5 MB, free: 19.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.2441, allocations: 1.333 MB / 466.9 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/0.2443, allocations: 114.1 kB / 467 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.263e-05/0.2444, allocations: 16.5 kB / 467 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003097/0.2447, allocations: 29.06 kB / 467 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.2448, allocations: 42.02 kB / 467.1 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.159e-05/0.2449, allocations: 56.88 kB / 467.1 MB, free: 18.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004407/0.2453, allocations: 379.5 kB / 467.5 MB, free: 18.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2453, allocations: 4.062 kB / 467.5 MB, free: 18.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007656/0.2461, allocations: 179 kB / 467.7 MB, free: 18.62 MB / 366.1 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.0001457/0.2463, allocations: 127.8 kB / 467.8 MB, free: 18.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001371/0.2476, allocations: 1.09 MB / 468.9 MB, free: 17.83 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2476, allocations: 1.094 kB / 468.9 MB, free: 17.83 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005254/0.2482, allocations: 498 kB / 469.4 MB, free: 17.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007903/0.2489, allocations: 161.2 kB / 469.5 MB, free: 17.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.2511, allocations: 1.553 MB / 471.1 MB, free: 16.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004396/0.2516, allocations: 422.2 kB / 471.5 MB, free: 16.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000363/0.2519, allocations: 145.5 kB / 471.6 MB, free: 16.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.252, allocations: 52.36 kB / 471.7 MB, free: 16.48 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.252, allocations: 5.094 kB / 471.7 MB, free: 16.48 MB / 366.1 MB Notification: Performance of Templates: time 0.01333/0.2654, allocations: 7.546 MB / 479.2 MB, free: 12.77 MB / 366.1 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: 4.812103357166052]