Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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.FaultRXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultRXline") translateModel(PowerSystems.Examples.AC3ph.Transmission.FaultRXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultRXline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 110.9 kB / 17.74 MB, free: 5.328 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.001627/0.001627, allocations: 190.6 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.347/1.347, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1776/0.1776, allocations: 38.04 MB / 330.6 MB, free: 8.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 67.89 kB / 458.8 MB, free: 6.812 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2806, allocations: 58.06 MB / 0.5048 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.FaultRXline): time 0.006583/0.2872, allocations: 7.428 MB / 0.512 GB, free: 2.602 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003367/0.2906, allocations: 2.397 MB / 0.5144 GB, free: 0.918 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003722/0.291, allocations: 22.69 kB / 0.5144 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001709/0.2927, allocations: 0.7615 MB / 0.5151 GB, free: 456 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.2941, allocations: 0.6481 MB / 0.5158 GB, free: 108 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.2953, allocations: 485.8 kB / 0.5162 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001742/0.297, allocations: 1.491 MB / 0.5177 GB, free: 15.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.2981, allocations: 0.7246 MB / 0.5184 GB, free: 14.9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.2993, allocations: 0.6676 MB / 0.519 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.3004, allocations: 0.8084 MB / 0.5198 GB, free: 14.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001787/0.3006, allocations: 115.9 kB / 0.5199 GB, free: 14.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009585/0.3015, allocations: 0.5368 MB / 0.5205 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005987/0.3022, allocations: 0.5992 MB / 0.5211 GB, free: 13.97 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007695/0.3029, allocations: 0.659 MB / 0.5217 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001987/0.3049, allocations: 1.694 MB / 0.5234 GB, free: 12.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3049, allocations: 4 kB / 0.5234 GB, free: 12.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.305, allocations: 1.031 kB / 0.5234 GB, free: 12.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.16e-05/0.305, allocations: 0 / 0.5234 GB, free: 12.93 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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.003204/0.3082, allocations: 1.699 MB / 0.525 GB, free: 11.85 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.3082, allocations: 14.48 kB / 0.525 GB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.3093, allocations: 198.2 kB / 0.5252 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.3105, allocations: 0.7362 MB / 0.5259 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.05e-05/0.3106, allocations: 96.17 kB / 0.526 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000278/0.3108, allocations: 121.7 kB / 0.5261 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00249/0.3133, allocations: 1.625 MB / 0.5277 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.303e-05/0.3134, allocations: 10.94 kB / 0.5277 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.3135, allocations: 46.42 kB / 0.5278 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002399/0.3138, allocations: 75.75 kB / 0.5279 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002284/0.3161, allocations: 1.461 MB / 0.5293 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007887/0.324, allocations: 5.829 MB / 0.535 GB, free: 5.488 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001928/0.3259, allocations: 1.575 MB / 0.5365 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/0.327, allocations: 0.8238 MB / 0.5373 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-05/0.3271, allocations: 18.72 kB / 0.5373 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001512/0.3286, allocations: 1.123 MB / 0.5384 GB, free: 3.254 MB / 398.1 MB Notification: Performance of pre-optimization done (n=157): time 3.376e-06/0.3286, allocations: 4 kB / 0.5384 GB, free: 3.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=158): time 0.007335/0.336, allocations: 4.755 MB / 0.5431 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.3361, allocations: 237.8 kB / 0.5433 GB, free: 352 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000685/0.3368, allocations: 0.5826 MB / 0.5439 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001081/0.3369, allocations: 69.67 kB / 0.5439 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003428/0.3373, allocations: 481.5 kB / 0.5444 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003749/0.3377, allocations: 500 kB / 0.5449 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004044/0.3381, allocations: 279.6 kB / 0.5451 GB, free: 14.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3382, allocations: 341.9 kB / 0.5455 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.3393, allocations: 0.6949 MB / 0.5462 GB, free: 13.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001261/0.3405, allocations: 1 MB / 0.5471 GB, free: 12.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00226/0.3428, allocations: 1.845 MB / 0.5489 GB, free: 10.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.373e-06/0.3428, allocations: 4 kB / 0.5489 GB, free: 10.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.005294/0.3481, allocations: 2.847 MB / 0.5517 GB, free: 7.488 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.819e-05/0.3482, allocations: 63.41 kB / 0.5518 GB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004397/0.3526, allocations: 2.336 MB / 0.5541 GB, free: 5.078 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003276/0.3559, allocations: 1.067 MB / 0.5551 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004823/0.3564, allocations: 151.7 kB / 0.5552 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01372/0.3701, allocations: 9.031 MB / 0.5641 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008909/0.371, allocations: 83.91 kB / 0.5641 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001825/0.3712, allocations: 60 kB / 0.5642 GB, free: 10.54 MB / 430.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: 84 (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],switch2.switch_c.closed,switch2.switch_c.open,$PRE.switch2.switch_c.open,switch2.switch_c.arc,$PRE.switch2.switch_c.arc,switch2.switch_b.closed,switch2.switch_b.open,$PRE.switch2.switch_b.open,switch2.switch_b.arc,$PRE.switch2.switch_b.arc,switch2.switch_a.closed,switch2.switch_a.open,$PRE.switch2.switch_a.open,switch2.switch_a.arc,$PRE.switch2.switch_a.arc,switch1.switch_c.closed,switch1.switch_c.open,$PRE.switch1.switch_c.open,switch1.switch_c.arc,$PRE.switch1.switch_c.arc,switch1.switch_b.closed,switch1.switch_b.open,$PRE.switch1.switch_b.open,switch1.switch_b.arc,$PRE.switch1.switch_b.arc,switch1.switch_a.closed,switch1.switch_a.open,$PRE.switch1.switch_a.open,switch1.switch_a.arc,$PRE.switch1.switch_a.arc,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition22,$whenCondition23) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * 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): 1 system {(12,41,81.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008596/0.3721, allocations: 0.4889 MB / 0.5647 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002764/0.3724, allocations: 111.3 kB / 0.5648 GB, free: 9.922 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003149/0.3755, allocations: 1.85 MB / 0.5666 GB, free: 8.043 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/0.3756, allocations: 15.91 kB / 0.5666 GB, free: 8.027 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3756, allocations: 3.938 kB / 0.5666 GB, free: 8.023 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005217/0.3761, allocations: 296.3 kB / 0.5669 GB, free: 7.715 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/0.3763, allocations: 39.98 kB / 0.5669 GB, free: 7.676 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006152/0.3769, allocations: 71.91 kB / 0.567 GB, free: 7.605 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002882/0.3772, allocations: 124.8 kB / 0.5671 GB, free: 7.484 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004546/0.3818, allocations: 2.356 MB / 0.5694 GB, free: 5.086 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004184/0.386, allocations: 3.098 MB / 0.5724 GB, free: 1.953 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001218/0.3872, allocations: 0.9138 MB / 0.5733 GB, free: 1.035 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005309/0.3878, allocations: 415.1 kB / 0.5737 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of Backend: time 3.31e-07/0.3878, allocations: 0 / 0.5737 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004779/0.3926, allocations: 2.023 MB / 0.5757 GB, free: 14.56 MB / 446.1 MB Notification: Performance of SimCode: time 0.003796/0.3964, allocations: 2.887 MB / 0.5785 GB, free: 11.6 MB / 446.1 MB Notification: Performance of Templates: time 0.03329/0.4297, allocations: 21.05 MB / 0.5991 GB, free: 6.637 MB / 462.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultRXline -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.pipe 2>&1)