Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00148/0.00148, allocations: 182.5 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.948/1.948, allocations: 205.4 MB / 221.9 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001193/0.001192, allocations: 110.7 kB / 270.3 MB, free: 13.23 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2704/0.2704, allocations: 38.06 MB / 356.6 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004454/0.0004454, allocations: 8 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1065, allocations: 56.33 MB / 479 MB, free: 2.027 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4779/0.5844, allocations: 100.2 MB / 0.5656 GB, free: 15.62 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/0.5848, allocations: 92.61 kB / 0.5657 GB, free: 15.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07843/0.6633, allocations: 16.94 MB / 0.5823 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.6633, allocations: 0 / 0.5823 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.007e-05/0.6634, allocations: 23.94 kB / 0.5823 GB, free: 0.8828 MB / 378.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.003178/0.6666, allocations: 1.115 MB / 0.5834 GB, free: 15.76 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.6667, allocations: 8.031 kB / 0.5834 GB, free: 15.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003872/0.667, allocations: 98.83 kB / 0.5835 GB, free: 15.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007019/0.6741, allocations: 1.698 MB / 0.5851 GB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.968e-05/0.6742, allocations: 49.92 kB / 0.5852 GB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/0.6744, allocations: 69.44 kB / 0.5852 GB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.6764, allocations: 0.8057 MB / 0.586 GB, free: 13.49 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.6765, allocations: 0 / 0.586 GB, free: 13.49 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.934e-05/0.6766, allocations: 33.36 kB / 0.5861 GB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.407e-05/0.6767, allocations: 37.25 kB / 0.5861 GB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001653/0.6783, allocations: 0.6083 MB / 0.5867 GB, free: 13 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005861/0.6842, allocations: 2.64 MB / 0.5893 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.6859, allocations: 0.6247 MB / 0.5899 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.641e-05/0.686, allocations: 8.5 kB / 0.5899 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009045/0.6869, allocations: 478.7 kB / 0.5903 GB, free: 9.844 MB / 394.7 MB Notification: Performance of pre-optimization done (n=63): time 3.507e-06/0.687, allocations: 0 / 0.5903 GB, free: 9.844 MB / 394.7 MB Notification: Performance of matching and sorting (n=64): time 0.005507/0.6925, allocations: 2.522 MB / 0.5928 GB, free: 7.551 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001646/0.6927, allocations: 251.2 kB / 0.593 GB, free: 7.254 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009407/0.6936, allocations: 499.6 kB / 0.5935 GB, free: 6.852 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.6938, allocations: 39.52 kB / 0.5936 GB, free: 6.816 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003996/0.6942, allocations: 432.6 kB / 0.594 GB, free: 6.484 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002655/0.6944, allocations: 198.5 kB / 0.5942 GB, free: 6.316 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.897e-05/0.6945, allocations: 15 kB / 0.5942 GB, free: 6.312 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.6947, allocations: 345.5 kB / 0.5945 GB, free: 5.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006098/0.6953, allocations: 222.9 kB / 0.5947 GB, free: 5.832 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008002/0.6961, allocations: 459.7 kB / 0.5952 GB, free: 5.367 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000743/0.6969, allocations: 338.6 kB / 0.5955 GB, free: 5.125 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.6969, allocations: 4 kB / 0.5955 GB, free: 5.121 MB / 394.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002435/0.6994, allocations: 0.9257 MB / 0.5964 GB, free: 4.391 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.341e-05/0.6995, allocations: 70.2 kB / 0.5965 GB, free: 4.312 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.6995, allocations: 8 kB / 0.5965 GB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006689/0.7002, allocations: 124.6 kB / 0.5966 GB, free: 4.199 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009997/0.7012, allocations: 151.8 kB / 0.5967 GB, free: 4.055 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005424/0.7066, allocations: 3.249 MB / 0.5999 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.7079, allocations: 51.3 kB / 0.6 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001701/0.7081, allocations: 51.66 kB / 0.6 GB, free: 0.8242 MB / 394.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 (88): * Single equations (assignments): 84 * 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%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008766/0.709, allocations: 352 kB / 0.6003 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002246/0.7092, allocations: 75.06 kB / 0.6004 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002812/0.712, allocations: 0.986 MB / 0.6014 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.731e-05/0.7121, allocations: 8 kB / 0.6014 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.7121, allocations: 0 / 0.6014 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.7121, allocations: 3.984 kB / 0.6014 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004966/0.7171, allocations: 1.707 MB / 0.603 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.7172, allocations: 0 / 0.603 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001372/0.7186, allocations: 99.12 kB / 0.6031 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002419/0.7188, allocations: 44.55 kB / 0.6032 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/0.719, allocations: 22.11 kB / 0.6032 GB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003561/0.7226, allocations: 2.764 MB / 0.6059 GB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.7226, allocations: 0 / 0.6059 GB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004137/0.7268, allocations: 1.433 MB / 0.6073 GB, free: 9.895 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005747/0.7274, allocations: 188.7 kB / 0.6075 GB, free: 9.707 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/0.7276, allocations: 18.38 kB / 0.6075 GB, free: 9.699 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008337/0.7285, allocations: 25.3 kB / 0.6075 GB, free: 9.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001913/0.7287, allocations: 42.89 kB / 0.6076 GB, free: 9.645 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001904/0.7289, allocations: 66.3 kB / 0.6076 GB, free: 9.586 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009836/0.7299, allocations: 380 kB / 0.608 GB, free: 9.297 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7299, allocations: 4 kB / 0.608 GB, free: 9.293 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001861/0.7318, allocations: 197.3 kB / 0.6082 GB, free: 9.121 MB / 410.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 (53): * Single equations (assignments): 48 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00049/0.7323, allocations: 175.4 kB / 0.6084 GB, free: 8.953 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0032/0.7355, allocations: 1.014 MB / 0.6093 GB, free: 8.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.7356, allocations: 7.062 kB / 0.6094 GB, free: 8.066 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001696/0.7373, allocations: 0.7079 MB / 0.61 GB, free: 7.434 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/0.7389, allocations: 138.3 kB / 0.6102 GB, free: 7.336 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005457/0.7444, allocations: 1.896 MB / 0.612 GB, free: 5.582 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/0.7456, allocations: 1.035 MB / 0.613 GB, free: 4.551 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004281/0.7461, allocations: 51.44 kB / 0.6131 GB, free: 4.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/0.7461, allocations: 0 / 0.6131 GB, free: 4.5 MB / 410.7 MB Notification: Performance of Templates: time 0.04016/0.7863, allocations: 14.62 MB / 0.6274 GB, free: 5.984 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1)