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.001352/0.001352, allocations: 75.27 kB / 21.24 MB, free: 0.5469 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.001521/0.001521, allocations: 158.6 kB / 24.5 MB, free: 3.723 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.465/1.465, allocations: 177.2 MB / 204.9 MB, free: 9.004 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.1773/0.1773, allocations: 29.43 MB / 290.7 MB, free: 3.27 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.002146/0.002146, allocations: 59.91 kB / 431.2 MB, free: 3.211 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3653, allocations: 62.44 MB / 493.6 MB, free: 37.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.006434/0.3718, allocations: 6.938 MB / 0.4888 GB, free: 33.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002337/0.3741, allocations: 1.658 MB / 0.4905 GB, free: 32.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003172/0.3744, allocations: 39.19 kB / 0.4905 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005734/0.375, allocations: 215.5 kB / 0.4907 GB, free: 31.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009499/0.3759, allocations: 0.5936 MB / 0.4913 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.3763, allocations: 214.6 kB / 0.4915 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001084/0.3774, allocations: 1.255 MB / 0.4927 GB, free: 30.92 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000344/0.3777, allocations: 220.9 kB / 0.4929 GB, free: 30.83 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007219/0.3784, allocations: 0.5752 MB / 0.4935 GB, free: 30.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000774/0.3792, allocations: 0.65 MB / 0.4941 GB, free: 30.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.42e-05/0.3793, allocations: 64.56 kB / 0.4942 GB, free: 30.35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.3794, allocations: 65.94 kB / 0.4942 GB, free: 30.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002362/0.3797, allocations: 335.9 kB / 0.4946 GB, free: 30.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003054/0.38, allocations: 354.4 kB / 0.4949 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006996/0.3807, allocations: 0.9349 MB / 0.4958 GB, free: 29.67 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3807, allocations: 0 / 0.4958 GB, free: 29.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3807, allocations: 3.938 kB / 0.4958 GB, free: 29.67 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.3807, allocations: 0 / 0.4958 GB, free: 29.67 MB / 446.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.001586/0.3823, allocations: 1.175 MB / 0.497 GB, free: 28.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.3823, allocations: 12.73 kB / 0.497 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.3824, allocations: 101.2 kB / 0.4971 GB, free: 28.83 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009678/0.3834, allocations: 0.6394 MB / 0.4977 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.586e-05/0.3834, allocations: 50.88 kB / 0.4977 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.033e-05/0.3835, allocations: 61.81 kB / 0.4978 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009927/0.3845, allocations: 0.8685 MB / 0.4987 GB, free: 27.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.3845, allocations: 0 / 0.4987 GB, free: 27.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.195e-05/0.3846, allocations: 29.77 kB / 0.4987 GB, free: 27.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.932e-05/0.3846, allocations: 38.47 kB / 0.4987 GB, free: 27.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00081/0.3854, allocations: 0.6721 MB / 0.4994 GB, free: 27.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002894/0.3883, allocations: 2.26 MB / 0.5016 GB, free: 26.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008179/0.3891, allocations: 0.6268 MB / 0.5022 GB, free: 25.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005466/0.3897, allocations: 397.2 kB / 0.5026 GB, free: 25.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.59e-05/0.3897, allocations: 7.688 kB / 0.5026 GB, free: 25.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005302/0.3902, allocations: 0.5375 MB / 0.5031 GB, free: 25.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=63): time 1.913e-06/0.3902, allocations: 0 / 0.5031 GB, free: 25.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=64): time 0.002458/0.3927, allocations: 2.063 MB / 0.5051 GB, free: 24.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.449e-05/0.3928, allocations: 251.2 kB / 0.5054 GB, free: 23.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004888/0.3933, allocations: 0.5577 MB / 0.5059 GB, free: 23.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.3933, allocations: 47.98 kB / 0.506 GB, free: 23.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.3935, allocations: 401.3 kB / 0.5063 GB, free: 23.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.3936, allocations: 222.5 kB / 0.5065 GB, free: 23.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.3938, allocations: 146.1 kB / 0.5067 GB, free: 23.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.135e-05/0.3939, allocations: 383.9 kB / 0.5071 GB, free: 22.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002982/0.3942, allocations: 280.2 kB / 0.5073 GB, free: 22.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003799/0.3945, allocations: 0.502 MB / 0.5078 GB, free: 22.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006978/0.3952, allocations: 0.7937 MB / 0.5086 GB, free: 21.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.3952, allocations: 6.938 kB / 0.5086 GB, free: 21.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001282/0.3965, allocations: 0.9998 MB / 0.5096 GB, free: 21.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.457e-05/0.3966, allocations: 67.52 kB / 0.5096 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.3966, allocations: 6.5 kB / 0.5096 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003592/0.3969, allocations: 112 kB / 0.5097 GB, free: 20.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000458/0.3974, allocations: 150.5 kB / 0.5099 GB, free: 20.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/0.3995, allocations: 3.296 MB / 0.5131 GB, free: 17.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003831/0.3999, allocations: 37.17 kB / 0.5131 GB, free: 17.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.471e-05/0.4, allocations: 57.98 kB / 0.5132 GB, free: 17.87 MB / 446.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.0003027/0.4003, allocations: 349 kB / 0.5135 GB, free: 17.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.07e-05/0.4003, allocations: 80.47 kB / 0.5136 GB, free: 17.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/0.4015, allocations: 0.8503 MB / 0.5144 GB, free: 17.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.383e-06/0.4015, allocations: 6.562 kB / 0.5144 GB, free: 17.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.4015, allocations: 0 / 0.5144 GB, free: 17.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.4015, allocations: 8.844 kB / 0.5145 GB, free: 17.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001782/0.4033, allocations: 1.467 MB / 0.5159 GB, free: 16.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4033, allocations: 1.125 kB / 0.5159 GB, free: 16.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004661/0.4037, allocations: 115.1 kB / 0.516 GB, free: 16.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.4037, allocations: 6.609 kB / 0.516 GB, free: 16.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.791e-05/0.4038, allocations: 17.12 kB / 0.516 GB, free: 16.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.4038, allocations: 6.188 kB / 0.516 GB, free: 16.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4038, allocations: 1.406 kB / 0.516 GB, free: 16.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.4051, allocations: 1.336 MB / 0.5173 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001971/0.4053, allocations: 108.8 kB / 0.5174 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.353e-05/0.4054, allocations: 16.38 kB / 0.5175 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003118/0.4057, allocations: 33.5 kB / 0.5175 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.446e-05/0.4058, allocations: 47.86 kB / 0.5175 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.38e-05/0.4059, allocations: 55.5 kB / 0.5176 GB, free: 15.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003508/0.4063, allocations: 376.2 kB / 0.5179 GB, free: 15.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4063, allocations: 0 / 0.5179 GB, free: 15.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006917/0.407, allocations: 177.8 kB / 0.5181 GB, free: 15.34 MB / 446.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.000111/0.4071, allocations: 134.6 kB / 0.5182 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.4083, allocations: 1.084 MB / 0.5193 GB, free: 14.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4083, allocations: 5.719 kB / 0.5193 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004667/0.4088, allocations: 499.2 kB / 0.5198 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007574/0.4095, allocations: 167.2 kB / 0.5199 GB, free: 14.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.4117, allocations: 1.614 MB / 0.5215 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.4121, allocations: 415.7 kB / 0.5219 GB, free: 13.17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003665/0.4124, allocations: 152.9 kB / 0.5221 GB, free: 13.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.4125, allocations: 49.31 kB / 0.5221 GB, free: 13.13 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4125, allocations: 0.9688 kB / 0.5221 GB, free: 13.13 MB / 446.1 MB Notification: Performance of Templates: time 0.01554/0.4281, allocations: 7.594 MB / 0.5295 GB, free: 12.18 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 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.225675976951607] Failed to read output from testmodel.py, exit status != 0: 0.43692313809879124 0.44912548799999996 0.065661972 Calling exit ...