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.0009346/0.0009346, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00127/0.002204, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009894/0.0009894, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001296/0.002286, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9166/0.9166, allocations: 177.2 MB / 189.8 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08388/1, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] 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.1128/0.1128, allocations: 29.43 MB / 273.6 MB, free: 1.336 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1114/0.2242, allocations: 9.525 MB / 283.1 MB, free: 12.81 MB / 282.7 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: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 284.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.394e-06/8.637e-06, allocations: 2.312 kB / 284.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.00476/0.004769, allocations: 5.989 MB / 290.4 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002425/0.007194, allocations: 1.785 MB / 292.2 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002896/0.007483, allocations: 36.94 kB / 292.2 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003992/0.007883, allocations: 213.2 kB / 292.4 MB, free: 5.578 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007704/0.008653, allocations: 0.5876 MB / 293 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.008987, allocations: 212.2 kB / 293.2 MB, free: 4.926 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001016/0.01, allocations: 1.277 MB / 294.5 MB, free: 4.219 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002472/0.01025, allocations: 229.8 kB / 294.7 MB, free: 4.082 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009913/0.01124, allocations: 0.9177 MB / 295.6 MB, free: 3.414 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004849/0.01173, allocations: 482.6 kB / 296.1 MB, free: 2.941 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.742e-05/0.01179, allocations: 56 kB / 296.2 MB, free: 2.887 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.893e-05/0.01189, allocations: 56 kB / 296.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.01208, allocations: 315.1 kB / 296.5 MB, free: 2.523 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.01226, allocations: 231.5 kB / 296.8 MB, free: 2.297 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004637/0.01272, allocations: 0.5798 MB / 297.3 MB, free: 1.715 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.01273, allocations: 0 / 297.3 MB, free: 1.715 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01273, allocations: 0 / 297.3 MB, free: 1.715 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.556e-05/0.01275, allocations: 7.938 kB / 297.4 MB, free: 1.707 MB / 282.7 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.001111/0.01386, allocations: 1.264 MB / 298.6 MB, free: 412 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.624e-05/0.01388, allocations: 12.03 kB / 298.6 MB, free: 400 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.01399, allocations: 108.8 kB / 298.7 MB, free: 292 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005507/0.01455, allocations: 0.5594 MB / 299.3 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.01458, allocations: 49.69 kB / 299.3 MB, free: 15.65 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.099e-05/0.01464, allocations: 64.36 kB / 299.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007113/0.01535, allocations: 0.5971 MB / 300 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.01536, allocations: 0 / 300 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.506e-05/0.0154, allocations: 31.98 kB / 300 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.167e-05/0.01543, allocations: 33.3 kB / 300.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002524/0.01568, allocations: 276.3 kB / 300.3 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/0.01716, allocations: 1.789 MB / 302.1 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003451/0.01751, allocations: 401.1 kB / 302.5 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.01772, allocations: 254.5 kB / 302.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.01774, allocations: 16.48 kB / 302.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002818/0.01803, allocations: 451.5 kB / 303.2 MB, free: 11.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=63): time 1.483e-06/0.01803, allocations: 0 / 303.2 MB, free: 11.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=63): time 0.0007517/0.01878, allocations: 0.9115 MB / 304.1 MB, free: 10.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.031e-05/0.01887, allocations: 307.2 kB / 304.4 MB, free: 10.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.01912, allocations: 490.9 kB / 304.9 MB, free: 9.715 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.01914, allocations: 37.83 kB / 304.9 MB, free: 9.672 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.01927, allocations: 333.6 kB / 305.3 MB, free: 9.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.45e-05/0.01936, allocations: 214.1 kB / 305.5 MB, free: 9.129 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.01947, allocations: 150.5 kB / 305.6 MB, free: 8.977 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.01958, allocations: 386.6 kB / 306 MB, free: 8.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.01968, allocations: 140.2 kB / 306.1 MB, free: 8.438 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.01986, allocations: 364.3 kB / 306.5 MB, free: 7.977 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005529/0.02041, allocations: 0.5785 MB / 307.1 MB, free: 7.277 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.02041, allocations: 7.938 kB / 307.1 MB, free: 7.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.0005452/0.02096, allocations: 0.6238 MB / 307.7 MB, free: 6.602 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/0.021, allocations: 59.41 kB / 307.8 MB, free: 6.531 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.021, allocations: 8 kB / 307.8 MB, free: 6.523 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002128/0.02122, allocations: 103.9 kB / 307.9 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.0215, allocations: 167.7 kB / 308 MB, free: 6.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/0.02291, allocations: 3.012 MB / 311.1 MB, free: 3.051 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.02311, allocations: 79.44 kB / 311.1 MB, free: 2.973 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-05/0.02316, allocations: 52.09 kB / 311.2 MB, free: 2.922 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (89): * Single equations (assignments): 85 * 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.0001579/0.02332, allocations: 237.9 kB / 311.4 MB, free: 2.668 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.985e-05/0.02338, allocations: 75.92 kB / 311.5 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003564/0.02373, allocations: 0.4907 MB / 312 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.02374, allocations: 8 kB / 312 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.02374, allocations: 3.984 kB / 312 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.02374, allocations: 0 / 312 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007461/0.02449, allocations: 0.9589 MB / 312.9 MB, free: 1.043 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.02449, allocations: 4 kB / 313 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.02476, allocations: 119.8 kB / 313.1 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.724e-05/0.02485, allocations: 91.39 kB / 313.2 MB, free: 0.832 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.02486, allocations: 4 kB / 313.2 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/0.02488, allocations: 23.92 kB / 313.2 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.02488, allocations: 0 / 313.2 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.02488, allocations: 4.062 kB / 313.2 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007783/0.02566, allocations: 0.8111 MB / 314 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.713e-05/0.02571, allocations: 16 kB / 314 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.02584, allocations: 19.98 kB / 314 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.02589, allocations: 44.31 kB / 314.1 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.752e-05/0.02594, allocations: 59.86 kB / 314.1 MB, free: 15.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000133/0.02607, allocations: 204.4 kB / 314.3 MB, free: 15.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02607, allocations: 0 / 314.3 MB, free: 15.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003901/0.02646, allocations: 211.6 kB / 314.5 MB, free: 15.38 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (54): * Single equations (assignments): 51 * 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 9.279e-05/0.02655, allocations: 108.3 kB / 314.7 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006262/0.02718, allocations: 0.8773 MB / 315.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.718e-05/0.0272, allocations: 11.98 kB / 315.5 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002433/0.02744, allocations: 408 kB / 315.9 MB, free: 13.87 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006883/0.02813, allocations: 1.264 MB / 317.2 MB, free: 12.38 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007997/0.03613, allocations: 1.382 MB / 318.6 MB, free: 10.94 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.03625, allocations: 207.4 kB / 318.8 MB, free: 10.71 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002044/0.03646, allocations: 89.7 kB / 318.9 MB, free: 10.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002684/0.03673, allocations: 213.2 kB / 319.1 MB, free: 10.41 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.03673, allocations: 0 / 319.1 MB, free: 10.41 MB / 314.7 MB Notification: Performance of Templates: time 0.009849/0.04658, allocations: 8.109 MB / 327.2 MB, free: 2.484 MB / 314.7 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7724560918286443]