Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.FaultTline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transmission.FaultTline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80000,variableFilter="Time|abc.i_abc.1.|abc.i_abc.2.|abc.i_abc.3.|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.FaultTline") translateModel(PowerSystems.Examples.AC3ph.Transmission.FaultTline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80000,variableFilter="Time|abc.i_abc.1.|abc.i_abc.2.|abc.i_abc.3.|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.FaultTline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 110.5 kB / 17.74 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 197.2 kB / 18.68 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.174/0.174, allocations: 38.03 MB / 330.6 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 63.89 kB / 458.8 MB, free: 6.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2824, allocations: 58.05 MB / 0.5048 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.FaultTline): time 0.007963/0.2904, allocations: 8.984 MB / 0.5136 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00487/0.2953, allocations: 3.021 MB / 0.5165 GB, free: 15.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007365/0.2961, allocations: 24.59 kB / 0.5165 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002302/0.2984, allocations: 0.8242 MB / 0.5173 GB, free: 14.81 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002197/0.3006, allocations: 0.8259 MB / 0.5181 GB, free: 14.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.3023, allocations: 0.7041 MB / 0.5188 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003161/0.3055, allocations: 2.163 MB / 0.5209 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001331/0.3068, allocations: 0.8546 MB / 0.5218 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002262/0.3091, allocations: 0.9165 MB / 0.5227 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002756/0.3118, allocations: 1.153 MB / 0.5238 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005286/0.3124, allocations: 175.2 kB / 0.524 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002137/0.3145, allocations: 0.604 MB / 0.5246 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001242/0.3158, allocations: 0.7562 MB / 0.5253 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001573/0.3174, allocations: 0.9071 MB / 0.5262 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002962/0.3204, allocations: 2.343 MB / 0.5285 GB, free: 9.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3204, allocations: 4 kB / 0.5285 GB, free: 9.871 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3204, allocations: 0 / 0.5285 GB, free: 9.871 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.989e-05/0.3204, allocations: 1.219 kB / 0.5285 GB, free: 9.871 MB / 398.1 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.0044/0.3248, allocations: 2.204 MB / 0.5306 GB, free: 8.246 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.3249, allocations: 12.61 kB / 0.5306 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/0.3263, allocations: 270.3 kB / 0.5309 GB, free: 8.105 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001695/0.328, allocations: 0.9802 MB / 0.5319 GB, free: 7.391 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.243e-05/0.3281, allocations: 100.8 kB / 0.5319 GB, free: 7.344 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005111/0.3287, allocations: 221.2 kB / 0.5322 GB, free: 7.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003309/0.332, allocations: 2.072 MB / 0.5342 GB, free: 6.008 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.376e-05/0.332, allocations: 6.344 kB / 0.5342 GB, free: 6.004 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001565/0.3322, allocations: 57.56 kB / 0.5342 GB, free: 5.961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005313/0.3327, allocations: 121.5 kB / 0.5344 GB, free: 5.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003108/0.3358, allocations: 1.873 MB / 0.5362 GB, free: 5.051 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01117/0.347, allocations: 7.271 MB / 0.5433 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00281/0.3499, allocations: 2.123 MB / 0.5454 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001607/0.3515, allocations: 1.134 MB / 0.5465 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.3516, allocations: 21.22 kB / 0.5465 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002329/0.354, allocations: 1.562 MB / 0.548 GB, free: 11.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=214): time 6.212e-06/0.354, allocations: 0 / 0.548 GB, free: 11.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=215): time 0.01192/0.3659, allocations: 7.142 MB / 0.555 GB, free: 4.332 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.3661, allocations: 251.6 kB / 0.5552 GB, free: 4.035 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.3671, allocations: 0.7899 MB / 0.556 GB, free: 3.238 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002102/0.3674, allocations: 69.77 kB / 0.5561 GB, free: 3.164 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004614/0.3678, allocations: 0.5648 MB / 0.5566 GB, free: 2.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006342/0.3685, allocations: 0.7014 MB / 0.5573 GB, free: 1.883 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000588/0.3691, allocations: 380.4 kB / 0.5577 GB, free: 1.504 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.229e-05/0.3692, allocations: 305.1 kB / 0.558 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001605/0.3708, allocations: 1.055 MB / 0.559 GB, free: 148 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001846/0.3726, allocations: 1.398 MB / 0.5604 GB, free: 14.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00353/0.3762, allocations: 2.617 MB / 0.5629 GB, free: 11.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.567e-06/0.3762, allocations: 8 kB / 0.5629 GB, free: 11.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=305) (initialization): time 0.01013/0.3863, allocations: 4.697 MB / 0.5675 GB, free: 7.074 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.891e-05/0.3864, allocations: 59.41 kB / 0.5676 GB, free: 7.004 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00931/0.3957, allocations: 4.148 MB / 0.5716 GB, free: 2.816 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006513/0.4023, allocations: 2.29 MB / 0.5738 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007529/0.4031, allocations: 167.6 kB / 0.574 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03031/0.4334, allocations: 17.88 MB / 0.5915 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.435, allocations: 139.8 kB / 0.5916 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003683/0.4354, allocations: 83.97 kB / 0.5917 GB, free: 14.09 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 108 (system.initime,abc.fault_pp1.t0,$PRE.abc.fault_pp1.t0,abc.fault_pp2.t0,$PRE.abc.fault_pp2.t0,relay2.cnt,$PRE.relay2.cnt,$whenCondition2,relay1.cnt,$PRE.relay1.cnt,$whenCondition1,abc.fault_pp2.on,$PRE.abc.fault_pp2.on,abc.fault_pp1.on,$PRE.abc.fault_pp1.on,abc.first,$PRE.abc.first,abc.v_pos,$PRE.abc.v_pos,abc.theta_zero,$PRE.abc.theta_zero,relay2.y[3],$PRE.relay2.y[3],relay2.y[2],$PRE.relay2.y[2],relay2.y[1],$PRE.relay2.y[1],relay1.y[3],$PRE.relay1.y[3],relay1.y[2],$PRE.relay1.y[2],relay1.y[1],$PRE.relay1.y[1],breaker2.breaker_c.opening,breaker2.breaker_c.t0,$PRE.breaker2.breaker_c.t0,breaker2.breaker_c.closed,breaker2.breaker_c.open,$PRE.breaker2.breaker_c.open,breaker2.breaker_c.arc,$PRE.breaker2.breaker_c.arc,breaker2.breaker_b.opening,breaker2.breaker_b.t0,$PRE.breaker2.breaker_b.t0,breaker2.breaker_b.closed,breaker2.breaker_b.open,$PRE.breaker2.breaker_b.open,breaker2.breaker_b.arc,$PRE.breaker2.breaker_b.arc,breaker2.breaker_a.opening,breaker2.breaker_a.t0,$PRE.breaker2.breaker_a.t0,breaker2.breaker_a.closed,breaker2.breaker_a.open,$PRE.breaker2.breaker_a.open,breaker2.breaker_a.arc,$PRE.breaker2.breaker_a.arc,breaker1.breaker_c.opening,breaker1.breaker_c.t0,$PRE.breaker1.breaker_c.t0,breaker1.breaker_c.closed,breaker1.breaker_c.open,$PRE.breaker1.breaker_c.open,breaker1.breaker_c.arc,$PRE.breaker1.breaker_c.arc,breaker1.breaker_b.opening,breaker1.breaker_b.t0,$PRE.breaker1.breaker_b.t0,breaker1.breaker_b.closed,breaker1.breaker_b.open,$PRE.breaker1.breaker_b.open,breaker1.breaker_b.arc,$PRE.breaker1.breaker_b.arc,breaker1.breaker_a.opening,breaker1.breaker_a.t0,$PRE.breaker1.breaker_a.t0,breaker1.breaker_a.closed,breaker1.breaker_a.open,$PRE.breaker1.breaker_a.open,breaker1.breaker_a.arc,$PRE.breaker1.breaker_a.arc,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition25,$whenCondition26,$whenCondition27,$whenCondition28,$whenCondition29) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (177): * Single equations (assignments): 171 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(32,73)} Notification: Performance of prepare postOptimizeDAE: time 0.00115/0.4365, allocations: 0.5599 MB / 0.5922 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004144/0.437, allocations: 151.1 kB / 0.5924 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004865/0.4418, allocations: 2.768 MB / 0.5951 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.1e-05/0.4419, allocations: 11.91 kB / 0.5951 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.4419, allocations: 4 kB / 0.5951 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008682/0.4428, allocations: 416 kB / 0.5955 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003703/0.4431, allocations: 71.95 kB / 0.5956 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.4443, allocations: 131.8 kB / 0.5957 GB, free: 9.898 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004381/0.4448, allocations: 181.7 kB / 0.5959 GB, free: 9.719 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007633/0.4524, allocations: 3.601 MB / 0.5994 GB, free: 6.055 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006176/0.4586, allocations: 4.304 MB / 0.6036 GB, free: 1.707 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001878/0.4605, allocations: 1.335 MB / 0.6049 GB, free: 384 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008302/0.4614, allocations: 0.5302 MB / 0.6054 GB, free: 15.84 MB / 478.1 MB Notification: Performance of Backend: time 4.6e-07/0.4614, allocations: 0 / 0.6054 GB, free: 15.84 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006786/0.4682, allocations: 3.064 MB / 0.6084 GB, free: 12.75 MB / 478.1 MB Notification: Performance of SimCode: time 0.006567/0.4747, allocations: 4.837 MB / 0.6131 GB, free: 7.824 MB / 478.1 MB Notification: Performance of Templates: time 0.05843/0.5332, allocations: 38.44 MB / 0.6507 GB, free: 1.547 MB / 0.4981 GB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.FaultTline.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.FaultTline.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.FaultTline.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.FaultTline.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.FaultTline.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.FaultTline -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.FaultTline.pipe 2>&1)