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.001116/0.001116, allocations: 116.6 kB / 17.75 MB, free: 5.223 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.00112/0.00112, allocations: 181.4 kB / 18.67 MB, free: 4.309 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.281/1.281, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1726/0.1726, allocations: 38.04 MB / 330.6 MB, free: 8.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.91 kB / 458.8 MB, free: 6.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.291, allocations: 58.05 MB / 0.5048 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.FaultTline): time 0.007888/0.299, allocations: 8.984 MB / 0.5135 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005151/0.3041, allocations: 3.027 MB / 0.5165 GB, free: 15.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000747/0.3049, allocations: 24 kB / 0.5165 GB, free: 15.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002184/0.3071, allocations: 0.8326 MB / 0.5173 GB, free: 14.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002035/0.3092, allocations: 0.8026 MB / 0.5181 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.3108, allocations: 0.7052 MB / 0.5188 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002589/0.3134, allocations: 2.165 MB / 0.5209 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.3145, allocations: 0.851 MB / 0.5218 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001388/0.3159, allocations: 0.9176 MB / 0.5227 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001557/0.3175, allocations: 1.152 MB / 0.5238 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002918/0.3178, allocations: 179.2 kB / 0.5239 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.319, allocations: 0.6035 MB / 0.5245 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007271/0.3197, allocations: 0.7604 MB / 0.5253 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009464/0.3207, allocations: 0.9023 MB / 0.5262 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002695/0.3234, allocations: 2.331 MB / 0.5284 GB, free: 9.828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3234, allocations: 0 / 0.5284 GB, free: 9.828 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3234, allocations: 1.406 kB / 0.5284 GB, free: 9.828 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.337e-05/0.3235, allocations: 4 kB / 0.5284 GB, free: 9.824 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.004454/0.3279, allocations: 2.158 MB / 0.5306 GB, free: 8.246 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.328, allocations: 12.77 kB / 0.5306 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001405/0.3294, allocations: 261.6 kB / 0.5308 GB, free: 8.113 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001895/0.3313, allocations: 0.9722 MB / 0.5318 GB, free: 7.406 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-05/0.3314, allocations: 104 kB / 0.5319 GB, free: 7.355 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005216/0.3319, allocations: 220.8 kB / 0.5321 GB, free: 7.281 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003194/0.3351, allocations: 2.072 MB / 0.5341 GB, free: 6.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.159e-05/0.3352, allocations: 2.156 kB / 0.5341 GB, free: 6.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001647/0.3353, allocations: 57.88 kB / 0.5342 GB, free: 5.977 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005308/0.3359, allocations: 121.8 kB / 0.5343 GB, free: 5.945 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003111/0.339, allocations: 1.864 MB / 0.5361 GB, free: 5.074 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01111/0.3501, allocations: 7.274 MB / 0.5432 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002712/0.3528, allocations: 2.116 MB / 0.5453 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/0.3544, allocations: 1.133 MB / 0.5464 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.004e-05/0.3545, allocations: 21.3 kB / 0.5464 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002085/0.3566, allocations: 1.558 MB / 0.5479 GB, free: 11.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=214): time 3.807e-06/0.3566, allocations: 0 / 0.5479 GB, free: 11.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=215): time 0.01092/0.3676, allocations: 7.102 MB / 0.5548 GB, free: 4.559 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.3677, allocations: 255.6 kB / 0.5551 GB, free: 4.258 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009711/0.3687, allocations: 0.7782 MB / 0.5558 GB, free: 3.473 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001515/0.3688, allocations: 77.69 kB / 0.5559 GB, free: 3.391 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004231/0.3693, allocations: 0.5517 MB / 0.5565 GB, free: 2.828 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005692/0.3698, allocations: 0.6629 MB / 0.5571 GB, free: 2.156 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005805/0.3704, allocations: 384.3 kB / 0.5575 GB, free: 1.773 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.3705, allocations: 305.1 kB / 0.5578 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/0.3721, allocations: 1.051 MB / 0.5588 GB, free: 428 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001869/0.374, allocations: 1.402 MB / 0.5602 GB, free: 14.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003501/0.3775, allocations: 2.609 MB / 0.5627 GB, free: 12.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.3775, allocations: 4 kB / 0.5627 GB, free: 12.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=305) (initialization): time 0.01018/0.3877, allocations: 4.697 MB / 0.5673 GB, free: 7.355 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.302e-05/0.3878, allocations: 67.42 kB / 0.5674 GB, free: 7.277 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008941/0.3968, allocations: 4.148 MB / 0.5714 GB, free: 3.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006354/0.4031, allocations: 2.293 MB / 0.5737 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007015/0.4039, allocations: 175.6 kB / 0.5738 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03001/0.4339, allocations: 17.85 MB / 0.5912 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.4354, allocations: 147.7 kB / 0.5914 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002998/0.4357, allocations: 83.97 kB / 0.5915 GB, free: 14.38 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.001077/0.4368, allocations: 0.556 MB / 0.592 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004029/0.4372, allocations: 142.4 kB / 0.5921 GB, free: 13.65 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004756/0.442, allocations: 2.756 MB / 0.5948 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.129e-05/0.442, allocations: 11.91 kB / 0.5949 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.442, allocations: 11.98 kB / 0.5949 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/0.4431, allocations: 411.2 kB / 0.5953 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003447/0.4435, allocations: 67.97 kB / 0.5953 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.4446, allocations: 135.8 kB / 0.5955 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004088/0.445, allocations: 173.8 kB / 0.5956 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00787/0.4529, allocations: 3.612 MB / 0.5991 GB, free: 6.359 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006465/0.4594, allocations: 4.291 MB / 0.6033 GB, free: 2.023 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001886/0.4613, allocations: 1.331 MB / 0.6046 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008747/0.4622, allocations: 0.5302 MB / 0.6052 GB, free: 168 kB / 462.1 MB Notification: Performance of Backend: time 5.21e-07/0.4622, allocations: 4.062 kB / 0.6052 GB, free: 164 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007136/0.4693, allocations: 3.054 MB / 0.6081 GB, free: 13.07 MB / 478.1 MB Notification: Performance of SimCode: time 0.006392/0.4757, allocations: 4.765 MB / 0.6128 GB, free: 8.227 MB / 478.1 MB Notification: Performance of Templates: time 0.05679/0.5325, allocations: 38.44 MB / 0.6503 GB, free: 1.945 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)