Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007624/0.0007624, allocations: 87.52 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008176/0.0008176, allocations: 176.3 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.4 MB / 223.7 MB, free: 13.05 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1768/0.1768, allocations: 38.06 MB / 310.1 MB, free: 5.91 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009117/0.0009117, allocations: 16 kB / 377.2 MB, free: 2.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2969, allocations: 56.33 MB / 433.5 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.006318/0.3033, allocations: 8.49 MB / 442 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002774/0.3061, allocations: 2.257 MB / 444.2 MB, free: 7.887 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004007/0.3065, allocations: 59.56 kB / 444.3 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004961/0.307, allocations: 210.8 kB / 444.5 MB, free: 7.621 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008896/0.3079, allocations: 0.533 MB / 445 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003201/0.3082, allocations: 187.8 kB / 445.2 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001241/0.3095, allocations: 1.944 MB / 447.2 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003485/0.3098, allocations: 286.6 kB / 447.4 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004856/0.3103, allocations: 453.7 kB / 447.9 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00073/0.3111, allocations: 0.654 MB / 448.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.396e-05/0.3111, allocations: 32 kB / 448.6 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.474e-05/0.3112, allocations: 36 kB / 448.6 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002164/0.3115, allocations: 303.1 kB / 448.9 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002929/0.3118, allocations: 419.5 kB / 449.3 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005468/0.3123, allocations: 0.8599 MB / 450.2 MB, free: 1.926 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3123, allocations: 0 / 450.2 MB, free: 1.926 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3123, allocations: 4 kB / 450.2 MB, free: 1.922 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.556e-05/0.3124, allocations: 0 / 450.2 MB, free: 1.922 MB / 318.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.001483/0.3138, allocations: 1.073 MB / 451.2 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.3139, allocations: 12.03 kB / 451.3 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.314, allocations: 95.72 kB / 451.4 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008881/0.3149, allocations: 0.6604 MB / 452 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.545e-05/0.315, allocations: 61.23 kB / 452.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.3151, allocations: 63.84 kB / 452.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.3164, allocations: 0.8099 MB / 452.9 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.3164, allocations: 3.938 kB / 452.9 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.095e-05/0.3165, allocations: 28 kB / 453 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.265e-05/0.3166, allocations: 33.3 kB / 453 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009099/0.3175, allocations: 0.614 MB / 453.6 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003425/0.3209, allocations: 2.653 MB / 456.3 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009406/0.3219, allocations: 0.605 MB / 456.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000588/0.3225, allocations: 383.1 kB / 457.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.3225, allocations: 4.438 kB / 457.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006023/0.3231, allocations: 495 kB / 457.7 MB, free: 10.03 MB / 334.1 MB Notification: Performance of pre-optimization done (n=63): time 1.703e-06/0.3231, allocations: 0 / 457.7 MB, free: 10.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=64): time 0.002804/0.3259, allocations: 1.969 MB / 459.7 MB, free: 7.965 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/0.3261, allocations: 263.9 kB / 460 MB, free: 7.652 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005984/0.3267, allocations: 0.5625 MB / 460.5 MB, free: 7.082 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.278e-05/0.3268, allocations: 41.69 kB / 460.6 MB, free: 7.035 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002985/0.3271, allocations: 399.5 kB / 461 MB, free: 6.637 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.3272, allocations: 205.1 kB / 461.2 MB, free: 6.434 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.3273, allocations: 77.67 kB / 461.2 MB, free: 6.352 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.3275, allocations: 378.8 kB / 461.6 MB, free: 5.973 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003679/0.3279, allocations: 225.9 kB / 461.8 MB, free: 5.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005597/0.3285, allocations: 461.8 kB / 462.3 MB, free: 5.199 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009943/0.3295, allocations: 0.7973 MB / 463.1 MB, free: 4.277 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.3295, allocations: 4 kB / 463.1 MB, free: 4.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001445/0.331, allocations: 0.9445 MB / 464 MB, free: 3.305 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.812e-05/0.331, allocations: 71.33 kB / 464.1 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.331, allocations: 8 kB / 464.1 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003838/0.3314, allocations: 109.6 kB / 464.2 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004819/0.3319, allocations: 143.9 kB / 464.4 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002725/0.3347, allocations: 3.004 MB / 467.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004169/0.3351, allocations: 39.97 kB / 467.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.72e-05/0.3352, allocations: 67.95 kB / 467.5 MB, free: 15.59 MB / 350.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.0004336/0.3356, allocations: 350.6 kB / 467.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.25e-05/0.3357, allocations: 71.16 kB / 467.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/0.3369, allocations: 0.7857 MB / 468.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.3369, allocations: 4 kB / 468.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.3369, allocations: 8 kB / 468.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.3369, allocations: 3.984 kB / 468.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001898/0.3388, allocations: 1.542 MB / 470.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3389, allocations: 3.984 kB / 470.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004823/0.3393, allocations: 107.9 kB / 470.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.3394, allocations: 4 kB / 470.3 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.048e-05/0.3394, allocations: 24.02 kB / 470.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.3394, allocations: 4 kB / 470.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3394, allocations: 7.875 kB / 470.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.3408, allocations: 1.207 MB / 471.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001988/0.3411, allocations: 188.1 kB / 471.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.426e-05/0.3411, allocations: 16 kB / 471.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003053/0.3415, allocations: 32.05 kB / 471.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.591e-05/0.3416, allocations: 48.31 kB / 471.8 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.012e-05/0.3416, allocations: 55.92 kB / 471.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004257/0.3421, allocations: 391.1 kB / 472.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.554e-06/0.3421, allocations: 0 / 472.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005902/0.3427, allocations: 183.9 kB / 472.5 MB, free: 10.42 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0001639/0.3429, allocations: 127.1 kB / 472.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.3443, allocations: 1.015 MB / 473.6 MB, free: 9.219 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3443, allocations: 0 / 473.6 MB, free: 9.219 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005237/0.3448, allocations: 493.2 kB / 474.1 MB, free: 8.707 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008145/0.3457, allocations: 157 kB / 474.2 MB, free: 8.555 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/0.3482, allocations: 1.9 MB / 476.1 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005564/0.3487, allocations: 1.009 MB / 477.1 MB, free: 5.582 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004305/0.3492, allocations: 149.8 kB / 477.3 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.3493, allocations: 59.42 kB / 477.4 MB, free: 5.375 MB / 350.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3493, allocations: 0 / 477.4 MB, free: 5.375 MB / 350.1 MB Notification: Performance of Templates: time 0.01258/0.3619, allocations: 6.863 MB / 484.2 MB, free: 14.53 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) Environment - environmentSimulation: