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.001418/0.001418, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001535/0.001535, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.484/1.484, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 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.2415/0.2415, allocations: 38.55 MB / 353.2 MB, free: 12.34 MB / 286.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002235/0.002235, allocations: 71.89 kB / 493.7 MB, free: 4.211 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2846, allocations: 62.45 MB / 0.5432 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.009019/0.2936, allocations: 6.937 MB / 0.5499 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003592/0.2972, allocations: 1.665 MB / 0.5516 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007164/0.2979, allocations: 36.53 kB / 0.5516 GB, free: 9.832 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00092/0.2988, allocations: 221.4 kB / 0.5518 GB, free: 9.664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00182/0.3006, allocations: 0.5868 MB / 0.5524 GB, free: 9.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006196/0.3012, allocations: 212.6 kB / 0.5526 GB, free: 9.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001754/0.303, allocations: 1.261 MB / 0.5538 GB, free: 8.309 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003898/0.3034, allocations: 213.6 kB / 0.554 GB, free: 8.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001128/0.3045, allocations: 0.5781 MB / 0.5546 GB, free: 7.848 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.3056, allocations: 0.6499 MB / 0.5552 GB, free: 7.484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.3058, allocations: 62.47 kB / 0.5553 GB, free: 7.484 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.3059, allocations: 67.91 kB / 0.5553 GB, free: 7.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003651/0.3063, allocations: 342.4 kB / 0.5557 GB, free: 7.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004753/0.3068, allocations: 350.1 kB / 0.556 GB, free: 7.062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.3079, allocations: 0.9362 MB / 0.5569 GB, free: 6.129 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3079, allocations: 0 / 0.5569 GB, free: 6.129 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3079, allocations: 0 / 0.5569 GB, free: 6.129 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.663e-05/0.3079, allocations: 0 / 0.5569 GB, free: 6.129 MB / 398.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.002192/0.3101, allocations: 1.176 MB / 0.5581 GB, free: 4.902 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.3102, allocations: 11.98 kB / 0.5581 GB, free: 4.891 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.3103, allocations: 100.3 kB / 0.5582 GB, free: 4.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.3117, allocations: 0.6355 MB / 0.5588 GB, free: 4.129 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.672e-05/0.3118, allocations: 57.23 kB / 0.5588 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.3119, allocations: 63.98 kB / 0.5589 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.3132, allocations: 0.8678 MB / 0.5598 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.3132, allocations: 4 kB / 0.5598 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-05/0.3133, allocations: 23.98 kB / 0.5598 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.547e-05/0.3133, allocations: 37.25 kB / 0.5598 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.3144, allocations: 0.6759 MB / 0.5605 GB, free: 2.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00368/0.3181, allocations: 2.257 MB / 0.5627 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.3191, allocations: 0.6343 MB / 0.5633 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006424/0.3198, allocations: 386.4 kB / 0.5637 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.3198, allocations: 8.438 kB / 0.5637 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000663/0.3205, allocations: 0.542 MB / 0.5642 GB, free: 14.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 2.505e-06/0.3205, allocations: 0 / 0.5642 GB, free: 14.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.003129/0.3236, allocations: 2.051 MB / 0.5662 GB, free: 12.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001587/0.3238, allocations: 259.7 kB / 0.5665 GB, free: 11.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006832/0.3245, allocations: 0.5614 MB / 0.567 GB, free: 11.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.492e-05/0.3245, allocations: 37.7 kB / 0.567 GB, free: 11.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003425/0.3248, allocations: 412.5 kB / 0.5674 GB, free: 10.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/0.325, allocations: 226.1 kB / 0.5676 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.3252, allocations: 146.6 kB / 0.5678 GB, free: 10.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.3254, allocations: 378.8 kB / 0.5681 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004076/0.3258, allocations: 277.3 kB / 0.5684 GB, free: 9.832 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006081/0.3264, allocations: 0.5011 MB / 0.5689 GB, free: 9.223 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009944/0.3274, allocations: 0.7964 MB / 0.5697 GB, free: 8.309 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.3274, allocations: 4 kB / 0.5697 GB, free: 8.305 MB / 414.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001735/0.3292, allocations: 1.001 MB / 0.5707 GB, free: 7.262 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.167e-05/0.3293, allocations: 66.2 kB / 0.5707 GB, free: 7.188 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.3293, allocations: 8 kB / 0.5707 GB, free: 7.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004303/0.3297, allocations: 113.8 kB / 0.5708 GB, free: 7.062 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005438/0.3302, allocations: 151.7 kB / 0.571 GB, free: 6.914 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003304/0.3335, allocations: 3.291 MB / 0.5742 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000477/0.334, allocations: 43.97 kB / 0.5742 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.322e-05/0.3341, allocations: 51.91 kB / 0.5743 GB, free: 3.324 MB / 414.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.0004806/0.3346, allocations: 354.6 kB / 0.5746 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.3347, allocations: 75.53 kB / 0.5747 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.3359, allocations: 0.861 MB / 0.5755 GB, free: 1.984 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.336, allocations: 4 kB / 0.5755 GB, free: 1.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.336, allocations: 4 kB / 0.5755 GB, free: 1.977 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.336, allocations: 0 / 0.5755 GB, free: 1.977 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/0.3383, allocations: 1.477 MB / 0.577 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3383, allocations: 0 / 0.577 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005003/0.3388, allocations: 104 kB / 0.5771 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/0.3388, allocations: 4 kB / 0.5771 GB, free: 336 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.666e-05/0.3388, allocations: 23.98 kB / 0.5771 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.306e-06/0.3388, allocations: 7.938 kB / 0.5771 GB, free: 304 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.3388, allocations: 4 kB / 0.5771 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/0.3406, allocations: 1.328 MB / 0.5784 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002899/0.3409, allocations: 115.4 kB / 0.5785 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.178e-05/0.341, allocations: 12 kB / 0.5785 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003261/0.3413, allocations: 27.97 kB / 0.5786 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.3414, allocations: 56.3 kB / 0.5786 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.993e-05/0.3415, allocations: 55.94 kB / 0.5787 GB, free: 14.64 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004417/0.3419, allocations: 374.8 kB / 0.579 GB, free: 14.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3419, allocations: 0 / 0.579 GB, free: 14.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008216/0.3428, allocations: 176 kB / 0.5792 GB, free: 14.1 MB / 430.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.0001556/0.3429, allocations: 143 kB / 0.5793 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001581/0.3445, allocations: 1.092 MB / 0.5804 GB, free: 12.79 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3445, allocations: 0 / 0.5804 GB, free: 12.79 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005999/0.3451, allocations: 0.4893 MB / 0.5809 GB, free: 12.26 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00081/0.3459, allocations: 158.3 kB / 0.581 GB, free: 12.11 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/0.3485, allocations: 1.687 MB / 0.5827 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000456/0.349, allocations: 417.1 kB / 0.5831 GB, free: 9.926 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.3491, allocations: 51.44 kB / 0.5831 GB, free: 9.875 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3491, allocations: 4 kB / 0.5831 GB, free: 9.871 MB / 430.1 MB Notification: Performance of Templates: time 0.01748/0.3666, allocations: 12.41 MB / 0.5953 GB, free: 13.48 MB / 446.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.mat","/var/lib/jenkins1/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: 9.224788438063115]