Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Transmission.FaultTline.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.AC3ph.Transmission.FaultTline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=80000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Transmission.FaultTline") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002567/0.002572, allocations: 364.5 kB / 17.21 MB, free: 4.953 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.728/3.728, allocations: 388.9 MB / 406.8 MB, free: 12 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.003585/0.003585, allocations: 223.8 kB / 452.2 MB, free: 14.61 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.7396/0.7396, allocations: 76.01 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004982/0.0004984, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09254/0.09306, allocations: 53.24 MB / 0.6742 GB, free: 60.82 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4706/0.5637, allocations: 107.2 MB / 0.7789 GB, free: 81.3 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/0.5641, allocations: 91.83 kB / 0.779 GB, free: 81.3 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1344/0.6984, allocations: 33.51 MB / 0.8117 GB, free: 65.53 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.6985, allocations: 0 / 0.8117 GB, free: 65.53 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.323e-05/0.6986, allocations: 40 kB / 0.8118 GB, free: 65.49 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.006976/0.7056, allocations: 1.962 MB / 0.8137 GB, free: 63.54 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.7056, allocations: 8.031 kB / 0.8137 GB, free: 63.53 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002957/0.7086, allocations: 277.7 kB / 0.814 GB, free: 63.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004443/0.7131, allocations: 1.265 MB / 0.8152 GB, free: 62.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/0.7133, allocations: 105.9 kB / 0.8153 GB, free: 62.12 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004843/0.7138, allocations: 132.6 kB / 0.8154 GB, free: 62.03 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004894/0.7187, allocations: 2.043 MB / 0.8174 GB, free: 60.49 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-05/0.7188, allocations: 7.938 kB / 0.8174 GB, free: 60.48 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002337/0.719, allocations: 58.41 kB / 0.8175 GB, free: 60.46 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003601/0.7194, allocations: 79.23 kB / 0.8176 GB, free: 60.38 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005004/0.7244, allocations: 1.822 MB / 0.8193 GB, free: 59.13 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03009/0.7545, allocations: 9.317 MB / 0.8284 GB, free: 51.48 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00415/0.7587, allocations: 1.883 MB / 0.8303 GB, free: 50.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003034/0.7618, allocations: 1.48 MB / 0.8317 GB, free: 48.86 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000207/0.762, allocations: 29.3 kB / 0.8317 GB, free: 48.83 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004198/0.7663, allocations: 2.066 MB / 0.8338 GB, free: 46.73 MB / 442.7 MB Notification: Performance of pre-optimization done (n=218): time 5.099e-06/0.7663, allocations: 0 / 0.8338 GB, free: 46.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=219): time 0.04676/0.8131, allocations: 11.6 MB / 0.8451 GB, free: 34.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001499/0.8133, allocations: 251.6 kB / 0.8453 GB, free: 34.55 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.8147, allocations: 0.7663 MB / 0.8461 GB, free: 33.77 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006095/0.8153, allocations: 77.69 kB / 0.8461 GB, free: 33.69 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000483/0.8158, allocations: 0.5363 MB / 0.8467 GB, free: 33.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009183/0.8167, allocations: 0.7289 MB / 0.8474 GB, free: 32.4 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002602/0.817, allocations: 40 kB / 0.8474 GB, free: 32.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.8172, allocations: 406.8 kB / 0.8478 GB, free: 31.96 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003437/0.8206, allocations: 1.476 MB / 0.8493 GB, free: 30.48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003967/0.8246, allocations: 1.803 MB / 0.851 GB, free: 28.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003889/0.8286, allocations: 1.67 MB / 0.8526 GB, free: 26.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/0.8286, allocations: 6.625 kB / 0.8526 GB, free: 26.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=306) (initialization): time 0.04447/0.8731, allocations: 8.571 MB / 0.861 GB, free: 18.22 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.03e-05/0.8732, allocations: 63.98 kB / 0.8611 GB, free: 18.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03403/0.9072, allocations: 7.035 MB / 0.8679 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04633/0.9536, allocations: 7.971 MB / 0.8757 GB, free: 3.098 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.9549, allocations: 179.6 kB / 0.8759 GB, free: 2.922 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07546/1.03, allocations: 26.63 MB / 0.9019 GB, free: 8.141 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002683/1.033, allocations: 191.7 kB / 0.9021 GB, free: 7.953 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005224/1.034, allocations: 211.9 kB / 0.9023 GB, free: 7.746 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 108 (system.initime,$PRE.abc.fault_pp1.t0,abc.fault_pp1.t0,$PRE.abc.fault_pp2.t0,abc.fault_pp2.t0,$whenCondition2,$PRE.relay2.cnt,relay2.cnt,$whenCondition1,$PRE.relay1.cnt,relay1.cnt,$whenCondition29,$whenCondition28,$whenCondition27,$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],$PRE.abc.theta_zero,abc.theta_zero,$PRE.abc.v_pos,abc.v_pos,$PRE.abc.first,abc.first,$PRE.abc.fault_pp1.on,abc.fault_pp1.on,$PRE.abc.fault_pp2.on,abc.fault_pp2.on) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 175 * Array equations: 4 * 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 {32 66} Notification: Performance of prepare postOptimizeDAE: time 0.001622/1.035, allocations: 0.5677 MB / 0.9029 GB, free: 7.148 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005336/1.036, allocations: 142.4 kB / 0.903 GB, free: 7.008 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03144/1.067, allocations: 6.091 MB / 0.9089 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.451e-05/1.067, allocations: 39.98 kB / 0.909 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.496e-05/1.067, allocations: 4 kB / 0.909 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.896e-05/1.068, allocations: 7.969 kB / 0.909 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3617/1.429, allocations: 8.984 MB / 0.9178 GB, free: 128.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.01e-05/1.429, allocations: 1.719 kB / 0.9178 GB, free: 128.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002395/1.432, allocations: 227.2 kB / 0.918 GB, free: 128.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0501/1.482, allocations: 8.236 MB / 0.926 GB, free: 128.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009898/1.483, allocations: 269.5 kB / 0.9263 GB, free: 128.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03548/1.518, allocations: 23.15 MB / 0.9489 GB, free: 117.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.518, allocations: 3.625 kB / 0.9489 GB, free: 117.1 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03228/1.551, allocations: 7.528 MB / 0.9562 GB, free: 116.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001534/1.552, allocations: 0.5204 MB / 0.9567 GB, free: 115.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007784/1.553, allocations: 234.2 kB / 0.957 GB, free: 115.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002265/1.555, allocations: 166.3 kB / 0.9571 GB, free: 115.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001162/1.557, allocations: 298.5 kB / 0.9574 GB, free: 115.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004616/1.557, allocations: 209.2 kB / 0.9576 GB, free: 115.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009298/1.558, allocations: 0.524 MB / 0.9581 GB, free: 115.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.558, allocations: 0 / 0.9581 GB, free: 115.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00345/1.561, allocations: 0.7951 MB / 0.9589 GB, free: 115.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 (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],line.iF[1],line.iF[2],line.iF[3]) * Number of discrete variables: 75 (breaker1.breaker_c.closed,breaker1.breaker_b.closed,breaker1.breaker_a.closed,breaker2.breaker_c.closed,breaker2.breaker_a.closed,breaker2.breaker_b.closed,$whenCondition29,$whenCondition28,$whenCondition27,$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,abc.theta_zero,abc.v_pos,abc.first,abc.fault_pp1.on,abc.fault_pp1.t0,abc.fault_pp2.on,abc.fault_pp2.t0,system.initime) * Number of discrete states: 27 (breaker1.breaker_a.arc,breaker1.breaker_b.arc,breaker1.breaker_c.arc,breaker2.breaker_a.arc,breaker2.breaker_b.arc,breaker2.breaker_c.arc,abc.theta_zero,abc.fault_pp1.on,abc.fault_pp2.on,abc.v_pos,abc.first,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_b.open,breaker2.breaker_c.open,breaker2.breaker_a.open,breaker1.breaker_a.open,breaker1.breaker_c.open,breaker1.breaker_b.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (163): * Single equations (assignments): 131 * Array equations: 4 * Algorithm blocks: 2 * Record equations: 0 * When equations: 17 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 7 * 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: 7 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007033/1.562, allocations: 270.5 kB / 0.9592 GB, free: 115.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01447/1.577, allocations: 4.903 MB / 0.9639 GB, free: 113.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/1.577, allocations: 0 / 0.9639 GB, free: 113.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009241/1.586, allocations: 3.573 MB / 0.9674 GB, free: 111.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/1.588, allocations: 245.5 kB / 0.9677 GB, free: 111.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/1.604, allocations: 6.883 MB / 0.9744 GB, free: 108.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001299/1.605, allocations: 1.461 MB / 0.9758 GB, free: 107.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001677/1.607, allocations: 324.2 kB / 0.9761 GB, free: 107.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006315/1.607, allocations: 99.7 kB / 0.9762 GB, free: 107.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.352e-06/1.607, allocations: 0 / 0.9762 GB, free: 107.6 MB / 474.7 MB Notification: Performance of Templates: time 0.1002/1.708, allocations: 50.64 MB / 1.026 GB, free: 64.17 MB / 474.7 MB