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.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.001408/0.001408, allocations: 74.83 kB / 20.49 MB, free: 1.246 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.00153/0.00153, allocations: 163.7 kB / 23.75 MB, free: 4.223 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.514/1.514, allocations: 177.2 MB / 204.1 MB, free: 9.293 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1821/0.1821, allocations: 29.42 MB / 289.9 MB, free: 3.41 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_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.002136/0.002136, allocations: 63.91 kB / 430.4 MB, free: 2.176 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3304, allocations: 62.45 MB / 492.9 MB, free: 1.984 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.01008/0.3405, allocations: 6.895 MB / 499.8 MB, free: 11.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003514/0.344, allocations: 1.656 MB / 0.4897 GB, free: 9.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004799/0.3444, allocations: 43.62 kB / 0.4897 GB, free: 9.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008201/0.3453, allocations: 226.4 kB / 0.4899 GB, free: 9.137 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001489/0.3468, allocations: 0.5832 MB / 0.4905 GB, free: 8.551 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005002/0.3473, allocations: 223.7 kB / 0.4907 GB, free: 8.332 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001715/0.349, allocations: 1.254 MB / 0.492 GB, free: 7.074 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004004/0.3494, allocations: 215 kB / 0.4922 GB, free: 6.859 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001158/0.3505, allocations: 0.763 MB / 0.4929 GB, free: 6.094 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009906/0.3515, allocations: 0.6461 MB / 0.4935 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.3516, allocations: 64 kB / 0.4936 GB, free: 5.383 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.3518, allocations: 64 kB / 0.4937 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003379/0.3521, allocations: 339 kB / 0.494 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004143/0.3525, allocations: 358.2 kB / 0.4943 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.3536, allocations: 0.9297 MB / 0.4952 GB, free: 3.703 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.3536, allocations: 8 kB / 0.4952 GB, free: 3.695 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3536, allocations: 0 / 0.4952 GB, free: 3.695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.3536, allocations: 0 / 0.4952 GB, free: 3.695 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.002155/0.3558, allocations: 1.18 MB / 0.4964 GB, free: 2.465 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.3558, allocations: 15.92 kB / 0.4964 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.356, allocations: 96.33 kB / 0.4965 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.3572, allocations: 0.6317 MB / 0.4971 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.267e-05/0.3573, allocations: 49.25 kB / 0.4972 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.3574, allocations: 67.98 kB / 0.4972 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.3589, allocations: 0.8756 MB / 0.4981 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.3589, allocations: 0 / 0.4981 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.057e-05/0.359, allocations: 28 kB / 0.4981 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.348e-05/0.3591, allocations: 37.28 kB / 0.4981 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.3602, allocations: 0.672 MB / 0.4988 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00364/0.3638, allocations: 2.257 MB / 0.501 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.3648, allocations: 0.6201 MB / 0.5016 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006499/0.3655, allocations: 394.5 kB / 0.502 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.502e-05/0.3655, allocations: 4.5 kB / 0.502 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000679/0.3662, allocations: 0.5386 MB / 0.5025 GB, free: 11.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 2.344e-06/0.3662, allocations: 0 / 0.5025 GB, free: 11.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.003167/0.3694, allocations: 2.072 MB / 0.5045 GB, free: 9.762 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001712/0.3695, allocations: 247.8 kB / 0.5048 GB, free: 9.465 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000699/0.3702, allocations: 0.5614 MB / 0.5053 GB, free: 8.895 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.961e-05/0.3703, allocations: 37.7 kB / 0.5054 GB, free: 8.852 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003611/0.3707, allocations: 412.3 kB / 0.5057 GB, free: 8.441 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002004/0.3709, allocations: 218.2 kB / 0.506 GB, free: 8.227 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/0.3711, allocations: 154.5 kB / 0.5061 GB, free: 8.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002216/0.3713, allocations: 382.8 kB / 0.5065 GB, free: 7.688 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000438/0.3717, allocations: 277.3 kB / 0.5067 GB, free: 7.402 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006502/0.3724, allocations: 0.5013 MB / 0.5072 GB, free: 6.793 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.3735, allocations: 0.7966 MB / 0.508 GB, free: 5.875 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3735, allocations: 0 / 0.508 GB, free: 5.875 MB / 414.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001675/0.3751, allocations: 1.009 MB / 0.509 GB, free: 4.824 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.258e-05/0.3752, allocations: 63.41 kB / 0.509 GB, free: 4.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.3752, allocations: 4 kB / 0.5091 GB, free: 4.746 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004191/0.3756, allocations: 113.5 kB / 0.5092 GB, free: 4.629 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005104/0.3762, allocations: 151.7 kB / 0.5093 GB, free: 4.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00348/0.3796, allocations: 3.291 MB / 0.5125 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004546/0.3801, allocations: 31.98 kB / 0.5125 GB, free: 0.957 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.025e-05/0.3802, allocations: 59.95 kB / 0.5126 GB, free: 0.8984 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.0005044/0.3807, allocations: 351 kB / 0.5129 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.3808, allocations: 79.52 kB / 0.513 GB, free: 468 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001321/0.3821, allocations: 0.8613 MB / 0.5139 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.3821, allocations: 8.188 kB / 0.5139 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3821, allocations: 4 kB / 0.5139 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.3821, allocations: 3.984 kB / 0.5139 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002369/0.3845, allocations: 1.47 MB / 0.5153 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3845, allocations: 0 / 0.5153 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005145/0.385, allocations: 107.9 kB / 0.5154 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.385, allocations: 0 / 0.5154 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.058e-05/0.3851, allocations: 23.98 kB / 0.5154 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.3851, allocations: 0 / 0.5154 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.269e-06/0.3851, allocations: 7.938 kB / 0.5154 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.387, allocations: 1.336 MB / 0.5167 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000267/0.3873, allocations: 111.4 kB / 0.5169 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.895e-05/0.3874, allocations: 16 kB / 0.5169 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003223/0.3877, allocations: 31.97 kB / 0.5169 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.3878, allocations: 40.31 kB / 0.5169 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.842e-05/0.3879, allocations: 63.92 kB / 0.517 GB, free: 12.21 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005133/0.3884, allocations: 374.8 kB / 0.5174 GB, free: 11.84 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3884, allocations: 0 / 0.5174 GB, free: 11.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000778/0.3892, allocations: 180.1 kB / 0.5175 GB, free: 11.67 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.0001611/0.3894, allocations: 115.2 kB / 0.5176 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0017/0.3911, allocations: 1.095 MB / 0.5187 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3911, allocations: 0 / 0.5187 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006165/0.3917, allocations: 496.8 kB / 0.5192 GB, free: 9.852 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000881/0.3926, allocations: 159.7 kB / 0.5193 GB, free: 9.699 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/0.3953, allocations: 1.634 MB / 0.5209 GB, free: 8.008 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004905/0.3958, allocations: 417 kB / 0.5213 GB, free: 7.574 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004603/0.3963, allocations: 149.6 kB / 0.5215 GB, free: 7.426 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.3964, allocations: 52.5 kB / 0.5215 GB, free: 7.375 MB / 430.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3964, allocations: 0 / 0.5215 GB, free: 7.375 MB / 430.1 MB Notification: Performance of Templates: time 0.01756/0.414, allocations: 7.583 MB / 0.5289 GB, free: 15.92 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.265089772641659] Failed to read output from testmodel.py, exit status != 0: 0.4238372724503279 0.439121525 0.08222212000000001 Calling exit ...