Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline.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.Tline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=80000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline") translateModel(PowerSystems.Examples.AC3ph.Transmission.Tline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=80000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002201/0.002201, allocations: 185.7 kB / 8.01 MB, free: 1.062 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 2.159/2.159, allocations: 205.3 MB / 213.7 MB, free: 1.727 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.001089/0.001089, 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.2488/0.2488, allocations: 37.99 MB / 347.7 MB, free: 5.762 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.209e-05/2.209e-05, allocations: 4 kB / 409.9 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1033, allocations: 56.32 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.492/0.5954, allocations: 106.9 MB / 0.5596 GB, free: 4.91 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/0.5958, allocations: 90.31 kB / 0.5597 GB, free: 4.863 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1263/0.7221, allocations: 29.31 MB / 0.5883 GB, free: 12.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.7221, allocations: 0 / 0.5883 GB, free: 12.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.218e-05/0.7222, allocations: 31.94 kB / 0.5884 GB, free: 12.01 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.007352/0.7296, allocations: 1.512 MB / 0.5898 GB, free: 10.49 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.415e-05/0.7297, allocations: 12.03 kB / 0.5898 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004328/0.734, allocations: 227.1 kB / 0.5901 GB, free: 10.26 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008278/0.7424, allocations: 1.609 MB / 0.5916 GB, free: 8.922 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.804e-05/0.7425, allocations: 43.17 kB / 0.5917 GB, free: 8.883 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004025/0.7429, allocations: 79.28 kB / 0.5917 GB, free: 8.809 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003529/0.7465, allocations: 1.327 MB / 0.593 GB, free: 7.938 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003768/0.7503, allocations: 1.5 MB / 0.5945 GB, free: 6.766 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.76e-05/0.7504, allocations: 7.938 kB / 0.5945 GB, free: 6.758 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001732/0.7506, allocations: 7.984 kB / 0.5945 GB, free: 6.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003931/0.751, allocations: 65.22 kB / 0.5946 GB, free: 6.688 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02959/0.7806, allocations: 7.793 MB / 0.6022 GB, free: 268 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003409/0.7841, allocations: 1.476 MB / 0.6036 GB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002501/0.7866, allocations: 1.172 MB / 0.6048 GB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001873/0.7868, allocations: 25.28 kB / 0.6048 GB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003808/0.7906, allocations: 1.714 MB / 0.6065 GB, free: 12.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=177): time 4.469e-06/0.7906, allocations: 0 / 0.6065 GB, free: 12.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=178): time 0.03511/0.8258, allocations: 7.716 MB / 0.614 GB, free: 4.699 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002243/0.8261, allocations: 254.9 kB / 0.6143 GB, free: 4.398 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.8273, allocations: 0.5306 MB / 0.6148 GB, free: 3.863 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000471/0.8278, allocations: 41.7 kB / 0.6148 GB, free: 3.816 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005376/0.8283, allocations: 0.4914 MB / 0.6153 GB, free: 3.316 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008895/0.8292, allocations: 0.5669 MB / 0.6158 GB, free: 2.742 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/0.8294, allocations: 3.938 kB / 0.6159 GB, free: 2.738 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002351/0.8297, allocations: 390.8 kB / 0.6162 GB, free: 2.348 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002916/0.8326, allocations: 1.211 MB / 0.6174 GB, free: 1.137 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003207/0.8358, allocations: 1.483 MB / 0.6189 GB, free: 15.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0033/0.8391, allocations: 1.333 MB / 0.6202 GB, free: 14.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.8392, allocations: 4 kB / 0.6202 GB, free: 14.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.04309/0.8823, allocations: 7.333 MB / 0.6273 GB, free: 6.883 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.082e-05/0.8824, allocations: 67.36 kB / 0.6274 GB, free: 6.805 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03195/0.9144, allocations: 6.012 MB / 0.6333 GB, free: 0.7852 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04557/0.96, allocations: 7.259 MB / 0.6403 GB, free: 9.512 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/0.9613, allocations: 155.7 kB / 0.6405 GB, free: 9.359 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0634/1.025, allocations: 22.57 MB / 0.6625 GB, free: 2.652 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002332/1.027, allocations: 127.7 kB / 0.6627 GB, free: 2.527 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005256/1.028, allocations: 199.9 kB / 0.6628 GB, free: 2.332 MB / 458.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: 91 (system.initime,$whenCondition2,$PRE.relay2.cnt,relay2.cnt,$whenCondition1,$PRE.relay1.cnt,relay1.cnt,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.breaker1.breaker_a.arc,breaker1.breaker_a.arc,$PRE.breaker1.breaker_a.open,breaker1.breaker_a.open,breaker1.breaker_a.closed,$PRE.breaker1.breaker_a.t0,breaker1.breaker_a.t0,breaker1.breaker_a.opening,$PRE.breaker1.breaker_b.arc,breaker1.breaker_b.arc,$PRE.breaker1.breaker_b.open,breaker1.breaker_b.open,breaker1.breaker_b.closed,$PRE.breaker1.breaker_b.t0,breaker1.breaker_b.t0,breaker1.breaker_b.opening,$PRE.breaker1.breaker_c.arc,breaker1.breaker_c.arc,$PRE.breaker1.breaker_c.open,breaker1.breaker_c.open,breaker1.breaker_c.closed,$PRE.breaker1.breaker_c.t0,breaker1.breaker_c.t0,breaker1.breaker_c.opening,$PRE.breaker2.breaker_a.arc,breaker2.breaker_a.arc,$PRE.breaker2.breaker_a.open,breaker2.breaker_a.open,breaker2.breaker_a.closed,$PRE.breaker2.breaker_a.t0,breaker2.breaker_a.t0,breaker2.breaker_a.opening,$PRE.breaker2.breaker_b.arc,breaker2.breaker_b.arc,$PRE.breaker2.breaker_b.open,breaker2.breaker_b.open,breaker2.breaker_b.closed,$PRE.breaker2.breaker_b.t0,breaker2.breaker_b.t0,breaker2.breaker_b.opening,$PRE.breaker2.breaker_c.arc,breaker2.breaker_c.arc,$PRE.breaker2.breaker_c.open,breaker2.breaker_c.open,breaker2.breaker_c.closed,$PRE.breaker2.breaker_c.t0,breaker2.breaker_c.t0,breaker2.breaker_c.opening,$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 (158): * Single equations (assignments): 152 * 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: 0 * Non-linear torn systems: 1 {27 48} Notification: Performance of prepare postOptimizeDAE: time 0.0007359/1.028, allocations: 248 kB / 0.6631 GB, free: 2.074 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004944/1.029, allocations: 114.6 kB / 0.6632 GB, free: 1.961 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02899/1.058, allocations: 5.312 MB / 0.6684 GB, free: 12.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001026/1.058, allocations: 31.95 kB / 0.6684 GB, free: 12.57 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.966e-05/1.058, allocations: 4 kB / 0.6684 GB, free: 12.56 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.393e-05/1.058, allocations: 11.97 kB / 0.6684 GB, free: 12.55 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03715/1.095, allocations: 7.725 MB / 0.676 GB, free: 4.738 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.292e-05/1.095, allocations: 3.953 kB / 0.676 GB, free: 4.734 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001442/1.097, allocations: 143.8 kB / 0.6761 GB, free: 4.594 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04926/1.146, allocations: 8.054 MB / 0.684 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009293/1.147, allocations: 239.8 kB / 0.6842 GB, free: 12.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3602/1.507, allocations: 20.91 MB / 0.7046 GB, free: 144.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.826e-06/1.507, allocations: 1.375 kB / 0.7046 GB, free: 144.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03487/1.542, allocations: 6.534 MB / 0.711 GB, free: 144.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000477/1.543, allocations: 192.5 kB / 0.7112 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001129/1.544, allocations: 206.1 kB / 0.7114 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002407/1.546, allocations: 122.7 kB / 0.7115 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001408/1.548, allocations: 261 kB / 0.7118 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006628/1.549, allocations: 198.4 kB / 0.7119 GB, free: 144 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008238/1.549, allocations: 411.6 kB / 0.7123 GB, free: 143.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.01e-07/1.549, allocations: 0.9062 kB / 0.7123 GB, free: 143.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004214/1.554, allocations: 0.6356 MB / 0.713 GB, free: 143.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * Number of discrete variables: 65 (breaker1.breaker_c.closed,breaker1.breaker_b.closed,breaker1.breaker_a.closed,breaker2.breaker_b.closed,breaker2.breaker_a.closed,breaker2.breaker_c.closed,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,breaker1.breaker_a.arc,breaker1.breaker_a.open,breaker1.breaker_a.t0,breaker1.breaker_a.opening,breaker1.breaker_b.arc,breaker1.breaker_b.open,breaker1.breaker_b.t0,breaker1.breaker_b.opening,breaker1.breaker_c.arc,breaker1.breaker_c.open,breaker1.breaker_c.t0,breaker1.breaker_c.opening,breaker2.breaker_a.arc,breaker2.breaker_a.open,breaker2.breaker_a.t0,breaker2.breaker_a.opening,breaker2.breaker_b.arc,breaker2.breaker_b.open,breaker2.breaker_b.t0,breaker2.breaker_b.opening,breaker2.breaker_c.arc,breaker2.breaker_c.open,breaker2.breaker_c.t0,breaker2.breaker_c.opening,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: 22 (breaker1.breaker_a.arc,breaker1.breaker_b.arc,breaker1.breaker_c.arc,breaker2.breaker_a.arc,breaker2.breaker_b.arc,breaker2.breaker_c.arc,relay2.y[3],relay2.y[2],relay2.y[1],relay2.cnt,$whenCondition2,relay1.y[3],relay1.y[2],relay1.y[1],relay1.cnt,$whenCondition1,breaker2.breaker_a.open,breaker2.breaker_c.open,breaker2.breaker_b.open,breaker1.breaker_b.open,breaker1.breaker_c.open,breaker1.breaker_a.open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 106 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {12,9} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(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.001025/1.555, allocations: 229.7 kB / 0.7132 GB, free: 143.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0124/1.567, allocations: 3.935 MB / 0.717 GB, free: 143.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.567, allocations: 0.6562 kB / 0.717 GB, free: 143.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008589/1.576, allocations: 3.042 MB / 0.72 GB, free: 142.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/1.578, allocations: 160.7 kB / 0.7201 GB, free: 142.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/1.588, allocations: 4.564 MB / 0.7246 GB, free: 141.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/1.589, allocations: 1.314 MB / 0.7259 GB, free: 140.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007348/1.59, allocations: 91 kB / 0.726 GB, free: 140.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.102e-06/1.59, allocations: 0 / 0.726 GB, free: 140.5 MB / 490.7 MB Notification: Performance of Templates: time 0.08251/1.672, allocations: 45.14 MB / 0.7701 GB, free: 112.8 MB / 490.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe 2>&1)