Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.RXline.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.AC3ph.Transmission.RXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.RXline") translateModel(PowerSystems.Examples.AC3ph.Transmission.RXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.RXline") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001431/0.001431, allocations: 182.1 kB / 8.008 MB, free: 1.059 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.998/1.998, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 94.44 kB / 261.8 MB, free: 1.668 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2504/0.2504, allocations: 38 MB / 347.7 MB, free: 5.758 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.644e-05/1.644e-05, allocations: 4 kB / 409.9 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1057, allocations: 56.33 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5031/0.6089, allocations: 101.9 MB / 0.5548 GB, free: 9.078 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.6092, allocations: 89.11 kB / 0.5549 GB, free: 9.066 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0911/0.7003, allocations: 21.8 MB / 0.5762 GB, free: 7.168 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.7004, allocations: 3.938 kB / 0.5762 GB, free: 7.164 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.169e-05/0.7005, allocations: 24 kB / 0.5762 GB, free: 7.141 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.003252/0.7037, allocations: 1.168 MB / 0.5773 GB, free: 5.961 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.728e-05/0.7038, allocations: 8.031 kB / 0.5774 GB, free: 5.953 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/0.7052, allocations: 158.6 kB / 0.5775 GB, free: 5.797 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004933/0.7102, allocations: 1.202 MB / 0.5787 GB, free: 4.773 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.332e-05/0.7103, allocations: 35.39 kB / 0.5787 GB, free: 4.742 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002246/0.7105, allocations: 52 kB / 0.5788 GB, free: 4.691 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002714/0.7133, allocations: 1.008 MB / 0.5797 GB, free: 4.012 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002748/0.7161, allocations: 1.141 MB / 0.5809 GB, free: 3.105 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.589e-05/0.7162, allocations: 7.938 kB / 0.5809 GB, free: 3.098 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.7163, allocations: 7.984 kB / 0.5809 GB, free: 3.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001243/0.7164, allocations: 57.36 kB / 0.5809 GB, free: 3.039 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0104/0.7268, allocations: 4.405 MB / 0.5852 GB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001877/0.7288, allocations: 0.7745 MB / 0.586 GB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001265/0.7301, allocations: 0.6171 MB / 0.5866 GB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.214e-05/0.7302, allocations: 16.72 kB / 0.5866 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001802/0.732, allocations: 0.8757 MB / 0.5875 GB, free: 13.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=126): time 3.988e-06/0.732, allocations: 0 / 0.5875 GB, free: 13.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=127): time 0.006876/0.7389, allocations: 2.769 MB / 0.5902 GB, free: 11.37 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001624/0.7391, allocations: 241.1 kB / 0.5904 GB, free: 11.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006949/0.7398, allocations: 383.1 kB / 0.5908 GB, free: 10.79 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001633/0.74, allocations: 36.7 kB / 0.5908 GB, free: 10.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004249/0.7405, allocations: 431.7 kB / 0.5912 GB, free: 10.4 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004662/0.7409, allocations: 363 kB / 0.5916 GB, free: 10.09 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.926e-05/0.741, allocations: 0 / 0.5916 GB, free: 10.09 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.7412, allocations: 366.5 kB / 0.5919 GB, free: 9.742 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001146/0.7424, allocations: 0.4977 MB / 0.5924 GB, free: 9.418 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/0.7437, allocations: 0.7338 MB / 0.5931 GB, free: 8.801 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/0.7452, allocations: 0.5841 MB / 0.5937 GB, free: 8.391 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.7452, allocations: 3.938 kB / 0.5937 GB, free: 8.387 MB / 394.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.005905/0.7511, allocations: 1.865 MB / 0.5955 GB, free: 6.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.2e-05/0.7513, allocations: 59.41 kB / 0.5956 GB, free: 6.859 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004869/0.7561, allocations: 1.585 MB / 0.5971 GB, free: 5.672 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003061/0.7592, allocations: 0.6471 MB / 0.5977 GB, free: 5.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009047/0.7602, allocations: 134.6 kB / 0.5979 GB, free: 5.027 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01371/0.7739, allocations: 5.673 MB / 0.6034 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.775, allocations: 39.94 kB / 0.6034 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/0.7751, allocations: 44 kB / 0.6035 GB, free: 15.28 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 67 (system.initime,$whenCondition2,$PRE.relay2.cnt,relay2.cnt,$whenCondition1,$PRE.relay1.cnt,relay1.cnt,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.switch1.switch_a.arc,switch1.switch_a.arc,$PRE.switch1.switch_a.open,switch1.switch_a.open,switch1.switch_a.closed,$PRE.switch1.switch_b.arc,switch1.switch_b.arc,$PRE.switch1.switch_b.open,switch1.switch_b.open,switch1.switch_b.closed,$PRE.switch1.switch_c.arc,switch1.switch_c.arc,$PRE.switch1.switch_c.open,switch1.switch_c.open,switch1.switch_c.closed,$PRE.switch2.switch_a.arc,switch2.switch_a.arc,$PRE.switch2.switch_a.open,switch2.switch_a.open,switch2.switch_a.closed,$PRE.switch2.switch_b.arc,switch2.switch_b.arc,$PRE.switch2.switch_b.open,switch2.switch_b.open,switch2.switch_b.closed,$PRE.switch2.switch_c.arc,switch2.switch_c.arc,$PRE.switch2.switch_c.open,switch2.switch_c.open,switch2.switch_c.closed,$PRE.relay1.y[1],relay1.y[1],$PRE.relay1.y[2],relay1.y[2],$PRE.relay1.y[3],relay1.y[3],$PRE.relay2.y[1],relay2.y[1],$PRE.relay2.y[2],relay2.y[2],$PRE.relay2.y[3],relay2.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 116 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004213/0.7756, allocations: 237.2 kB / 0.6037 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000287/0.7759, allocations: 87 kB / 0.6038 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003265/0.7792, allocations: 1.292 MB / 0.6051 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.214e-05/0.7793, allocations: 31.98 kB / 0.6051 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.7793, allocations: 0 / 0.6051 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/0.7793, allocations: 3.984 kB / 0.6051 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006532/0.7858, allocations: 2.529 MB / 0.6076 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.541e-05/0.7859, allocations: 12.08 kB / 0.6076 GB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002096/0.788, allocations: 231.7 kB / 0.6078 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.005e-05/0.7881, allocations: 7.984 kB / 0.6078 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/0.7882, allocations: 12 kB / 0.6078 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.206e-05/0.7882, allocations: 11.92 kB / 0.6078 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.7882, allocations: 0 / 0.6078 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004854/0.7931, allocations: 2.188 MB / 0.61 GB, free: 8.512 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003131/0.7934, allocations: 144.2 kB / 0.6101 GB, free: 8.352 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/0.7937, allocations: 15.98 kB / 0.6101 GB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008317/0.7945, allocations: 39.94 kB / 0.6102 GB, free: 8.297 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003568/0.7949, allocations: 112.6 kB / 0.6103 GB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/0.795, allocations: 39.98 kB / 0.6103 GB, free: 8.148 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005091/0.7955, allocations: 282.9 kB / 0.6106 GB, free: 7.871 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7956, allocations: 0 / 0.6106 GB, free: 7.871 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001486/0.7971, allocations: 287.9 kB / 0.6108 GB, free: 7.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 47 (switch1.switch_b.closed,switch1.switch_c.closed,switch1.switch_a.closed,switch2.switch_a.closed,switch2.switch_b.closed,switch2.switch_c.closed,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,switch1.switch_a.arc,switch1.switch_a.open,switch1.switch_b.arc,switch1.switch_b.open,switch1.switch_c.arc,switch1.switch_c.open,switch2.switch_a.arc,switch2.switch_a.open,switch2.switch_b.arc,switch2.switch_b.open,switch2.switch_c.arc,switch2.switch_c.open,relay1.y[1],relay1.y[2],relay1.y[3],relay1.cnt,relay2.y[1],relay2.y[2],relay2.y[3],relay2.cnt,system.initime) * Number of discrete states: 16 (relay2.y[3],relay2.y[2],relay2.y[1],relay2.cnt,$whenCondition2,relay1.y[3],relay1.y[2],relay1.y[1],relay1.cnt,$whenCondition1,switch2.switch_c.open,switch2.switch_a.open,switch2.switch_b.open,switch1.switch_b.open,switch1.switch_c.open,switch1.switch_a.open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 88 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 7 * 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.0004562/0.7975, allocations: 186.6 kB / 0.611 GB, free: 7.406 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004564/0.8021, allocations: 1.772 MB / 0.6128 GB, free: 5.594 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.8022, allocations: 4 kB / 0.6128 GB, free: 5.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001782/0.804, allocations: 0.8612 MB / 0.6136 GB, free: 4.707 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009673/0.8049, allocations: 106.5 kB / 0.6137 GB, free: 4.602 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005054/0.81, allocations: 1.891 MB / 0.6155 GB, free: 2.668 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/0.8111, allocations: 1.132 MB / 0.6167 GB, free: 1.512 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005535/0.8117, allocations: 63.44 kB / 0.6167 GB, free: 1.449 MB / 410.7 MB Notification: Performance of SimCode: time 8.82e-07/0.8117, allocations: 0 / 0.6167 GB, free: 1.449 MB / 410.7 MB Notification: Performance of Templates: time 0.03173/0.8434, allocations: 13.73 MB / 0.6301 GB, free: 3.691 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.RXline.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.RXline.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.RXline.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.RXline.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.RXline.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.RXline --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.RXline.pipe 2>&1)