Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002381/0.002385, allocations: 355.1 kB / 16.57 MB, free: 5.59 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.455/3.455, allocations: 388.9 MB / 406.2 MB, free: 11.97 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003325/0.003325, allocations: 227.8 kB / 451.6 MB, free: 14.57 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.6918/0.6918, allocations: 76.01 MB / 0.5594 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004783/0.0004786, allocations: 12 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07102/0.07152, allocations: 53.23 MB / 0.6736 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.007179/0.07874, allocations: 7.971 MB / 0.6814 GB, free: 52.82 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003195/0.08197, allocations: 2.168 MB / 0.6835 GB, free: 50.64 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000545/0.08253, allocations: 59.56 kB / 0.6836 GB, free: 50.58 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000462/0.08301, allocations: 198.5 kB / 0.6837 GB, free: 50.39 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00123/0.08426, allocations: 0.614 MB / 0.6843 GB, free: 49.77 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005815/0.08486, allocations: 267.5 kB / 0.6846 GB, free: 49.51 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001212/0.0861, allocations: 1.523 MB / 0.6861 GB, free: 47.98 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003438/0.08646, allocations: 246.1 kB / 0.6863 GB, free: 47.73 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005436/0.08702, allocations: 461.7 kB / 0.6868 GB, free: 47.28 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007701/0.08781, allocations: 0.6269 MB / 0.6874 GB, free: 46.65 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.972e-05/0.08791, allocations: 32 kB / 0.6874 GB, free: 46.62 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.08806, allocations: 36 kB / 0.6874 GB, free: 46.59 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002506/0.08832, allocations: 303.1 kB / 0.6877 GB, free: 46.29 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.08849, allocations: 177.3 kB / 0.6879 GB, free: 46.11 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005484/0.08905, allocations: 0.6702 MB / 0.6886 GB, free: 45.44 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.08907, allocations: 0 / 0.6886 GB, free: 45.44 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.585e-06/0.08908, allocations: 0 / 0.6886 GB, free: 45.44 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.0891, allocations: 0 / 0.6886 GB, free: 45.44 MB / 442.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.001628/0.09074, allocations: 1.092 MB / 0.6896 GB, free: 44.28 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.09078, allocations: 8.031 kB / 0.6896 GB, free: 44.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.09093, allocations: 90.88 kB / 0.6897 GB, free: 44.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.09201, allocations: 0.6478 MB / 0.6903 GB, free: 43.49 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.387e-05/0.09207, allocations: 49.2 kB / 0.6904 GB, free: 43.45 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.09219, allocations: 71.98 kB / 0.6905 GB, free: 43.38 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.09346, allocations: 0.7982 MB / 0.6912 GB, free: 42.54 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.0935, allocations: 0 / 0.6912 GB, free: 42.54 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.848e-05/0.09358, allocations: 32 kB / 0.6913 GB, free: 42.51 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-05/0.09365, allocations: 33.3 kB / 0.6913 GB, free: 42.47 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.09473, allocations: 0.6062 MB / 0.6919 GB, free: 41.87 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003411/0.09816, allocations: 2.645 MB / 0.6945 GB, free: 39.1 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.0992, allocations: 0.6057 MB / 0.6951 GB, free: 38.48 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006334/0.09985, allocations: 367.2 kB / 0.6954 GB, free: 38.12 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.784e-05/0.09991, allocations: 8.438 kB / 0.6954 GB, free: 38.11 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005887/0.1005, allocations: 490.9 kB / 0.6959 GB, free: 37.58 MB / 442.7 MB Notification: Performance of pre-optimization done (n=63): time 2.965e-06/0.1005, allocations: 0 / 0.6959 GB, free: 37.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=64): time 0.002914/0.1035, allocations: 1.965 MB / 0.6978 GB, free: 35.52 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.607e-05/0.1035, allocations: 255.8 kB / 0.6981 GB, free: 35.22 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005868/0.1041, allocations: 0.5624 MB / 0.6986 GB, free: 34.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.975e-05/0.1042, allocations: 45.83 kB / 0.6987 GB, free: 34.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/0.1044, allocations: 395.5 kB / 0.699 GB, free: 34.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.1046, allocations: 205.2 kB / 0.6992 GB, free: 34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.1046, allocations: 16 kB / 0.6992 GB, free: 33.98 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1048, allocations: 386.8 kB / 0.6996 GB, free: 33.59 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003942/0.1052, allocations: 225.8 kB / 0.6998 GB, free: 33.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005269/0.1057, allocations: 461.8 kB / 0.7003 GB, free: 32.83 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004883/0.1062, allocations: 333.4 kB / 0.7006 GB, free: 32.49 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.747e-06/0.1062, allocations: 0 / 0.7006 GB, free: 32.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001661/0.1079, allocations: 0.9521 MB / 0.7015 GB, free: 31.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.833e-05/0.1079, allocations: 63.39 kB / 0.7016 GB, free: 31.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.108, allocations: 8 kB / 0.7016 GB, free: 31.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004072/0.1084, allocations: 105.6 kB / 0.7017 GB, free: 31.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005561/0.109, allocations: 147.7 kB / 0.7018 GB, free: 31.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002606/0.1116, allocations: 3.011 MB / 0.7048 GB, free: 27.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000522/0.1121, allocations: 44.03 kB / 0.7048 GB, free: 27.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.47e-05/0.1122, allocations: 55.97 kB / 0.7049 GB, free: 27.8 MB / 442.7 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,$whenCondition3,$whenCondition4,$PRE.tapRelay1.cnt_1,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_2,$whenCondition1,$whenCondition2,$PRE.tapRelay2.cnt_1,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_2,$PRE.tapRelay2.tap_1,tapRelay2.tap_1,$PRE.tapRelay2.tap_2,tapRelay2.tap_2,$PRE.tapRelay1.tap_1,tapRelay1.tap_1,$PRE.tapRelay1.tap_2,tapRelay1.tap_2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000383/0.1126, allocations: 358.5 kB / 0.7052 GB, free: 27.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.331e-05/0.1127, allocations: 71.16 kB / 0.7053 GB, free: 27.36 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/0.114, allocations: 0.7819 MB / 0.706 GB, free: 26.55 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.511e-06/0.114, allocations: 12 kB / 0.706 GB, free: 26.54 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.046e-06/0.114, allocations: 0 / 0.706 GB, free: 26.54 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.633e-06/0.114, allocations: 7.922 kB / 0.7061 GB, free: 26.54 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002147/0.1162, allocations: 1.535 MB / 0.7076 GB, free: 24.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.16e-06/0.1162, allocations: 4 kB / 0.7076 GB, free: 24.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000581/0.1168, allocations: 111.8 kB / 0.7077 GB, free: 24.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.249e-06/0.1168, allocations: 8.016 kB / 0.7077 GB, free: 24.81 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.805e-05/0.1169, allocations: 24 kB / 0.7077 GB, free: 24.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.374e-06/0.1169, allocations: 0 / 0.7077 GB, free: 24.79 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.283e-06/0.1169, allocations: 4 kB / 0.7077 GB, free: 24.78 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.1186, allocations: 1.203 MB / 0.7089 GB, free: 23.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002348/0.1189, allocations: 184.2 kB / 0.709 GB, free: 23.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.119, allocations: 20.06 kB / 0.7091 GB, free: 23.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004112/0.1194, allocations: 32.09 kB / 0.7091 GB, free: 23.29 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.696e-05/0.1195, allocations: 36.39 kB / 0.7091 GB, free: 23.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.704e-05/0.1196, allocations: 63.92 kB / 0.7092 GB, free: 23.19 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004343/0.1201, allocations: 387 kB / 0.7096 GB, free: 22.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.6e-07/0.1201, allocations: 0 / 0.7096 GB, free: 22.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007146/0.1208, allocations: 184 kB / 0.7097 GB, free: 22.64 MB / 442.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001335/0.1209, allocations: 135.1 kB / 0.7099 GB, free: 22.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001496/0.1225, allocations: 1.007 MB / 0.7108 GB, free: 21.45 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.964e-06/0.1225, allocations: 0 / 0.7108 GB, free: 21.45 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005615/0.123, allocations: 498.6 kB / 0.7113 GB, free: 20.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008484/0.1239, allocations: 143.8 kB / 0.7115 GB, free: 20.79 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.1263, allocations: 1.837 MB / 0.7133 GB, free: 18.92 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/0.1269, allocations: 1.028 MB / 0.7143 GB, free: 17.86 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005589/0.1274, allocations: 157.8 kB / 0.7144 GB, free: 17.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.1276, allocations: 55.42 kB / 0.7145 GB, free: 17.65 MB / 442.7 MB Notification: Performance of SimCode: time 1.448e-06/0.1276, allocations: 0 / 0.7145 GB, free: 17.65 MB / 442.7 MB Notification: Performance of Templates: time 0.01543/0.143, allocations: 6.643 MB / 0.7209 GB, free: 11.04 MB / 442.7 MB