Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Fault.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.Elementary.Fault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Fault") translateModel(PowerSystems.Examples.AC3ph.Elementary.Fault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Fault") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 107 kB / 17.74 MB, free: 5.184 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.00131/0.00131, allocations: 194.5 kB / 18.67 MB, free: 4.262 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.316/1.316, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1772/0.1772, allocations: 38.02 MB / 330.6 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 59.91 kB / 458.8 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2827, allocations: 58.05 MB / 0.5048 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Fault): time 0.007116/0.2899, allocations: 7.389 MB / 0.512 GB, free: 2.664 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00345/0.2933, allocations: 2.313 MB / 0.5142 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004843/0.2938, allocations: 27.59 kB / 0.5143 GB, free: 1.035 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001717/0.2956, allocations: 0.7529 MB / 0.515 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001268/0.2968, allocations: 0.6341 MB / 0.5156 GB, free: 248 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.2979, allocations: 471.8 kB / 0.5161 GB, free: 20 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001504/0.2994, allocations: 1.476 MB / 0.5175 GB, free: 15.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009253/0.3004, allocations: 0.722 MB / 0.5182 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009899/0.3014, allocations: 0.6612 MB / 0.5189 GB, free: 14.78 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.3025, allocations: 0.7997 MB / 0.5196 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001822/0.3026, allocations: 112 kB / 0.5197 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000943/0.3036, allocations: 0.5319 MB / 0.5203 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005693/0.3042, allocations: 0.5766 MB / 0.5208 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006823/0.3049, allocations: 0.6424 MB / 0.5215 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001786/0.3067, allocations: 1.654 MB / 0.5231 GB, free: 13.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3067, allocations: 0 / 0.5231 GB, free: 13.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3067, allocations: 0 / 0.5231 GB, free: 13.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.99e-05/0.3067, allocations: 1.5 kB / 0.5231 GB, free: 13.16 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.00309/0.3098, allocations: 1.66 MB / 0.5247 GB, free: 12.12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3099, allocations: 13.61 kB / 0.5247 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.3109, allocations: 193.4 kB / 0.5249 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.3122, allocations: 0.7247 MB / 0.5256 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.348e-05/0.3123, allocations: 84.16 kB / 0.5257 GB, free: 11.56 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002718/0.3126, allocations: 128.1 kB / 0.5258 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002512/0.3151, allocations: 1.603 MB / 0.5274 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/0.3152, allocations: 1.922 kB / 0.5274 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/0.3153, allocations: 50.64 kB / 0.5274 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002475/0.3156, allocations: 80.08 kB / 0.5275 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002242/0.3178, allocations: 1.435 MB / 0.5289 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007927/0.3258, allocations: 5.762 MB / 0.5345 GB, free: 5.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/0.3275, allocations: 1.54 MB / 0.536 GB, free: 4.738 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/0.3286, allocations: 0.8089 MB / 0.5368 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.489e-05/0.3287, allocations: 19.16 kB / 0.5368 GB, free: 4.324 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001515/0.3302, allocations: 1.098 MB / 0.5379 GB, free: 3.656 MB / 398.1 MB Notification: Performance of pre-optimization done (n=153): time 3.266e-06/0.3302, allocations: 1.422 kB / 0.5379 GB, free: 3.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=154): time 0.007064/0.3373, allocations: 4.514 MB / 0.5423 GB, free: 1.176 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.3374, allocations: 210.2 kB / 0.5425 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006901/0.3381, allocations: 0.5714 MB / 0.5431 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001171/0.3382, allocations: 69.36 kB / 0.5431 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003367/0.3386, allocations: 456.3 kB / 0.5436 GB, free: 132 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004064/0.339, allocations: 465.8 kB / 0.544 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004201/0.3394, allocations: 271.5 kB / 0.5443 GB, free: 15.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3396, allocations: 345.9 kB / 0.5446 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/0.3406, allocations: 0.6754 MB / 0.5453 GB, free: 14.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/0.3418, allocations: 0.9754 MB / 0.5462 GB, free: 13.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002246/0.3441, allocations: 1.795 MB / 0.548 GB, free: 11.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.3441, allocations: 7.938 kB / 0.548 GB, free: 11.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=217) (initialization): time 0.005444/0.3496, allocations: 2.819 MB / 0.5507 GB, free: 8.516 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.834e-05/0.3496, allocations: 59.41 kB / 0.5508 GB, free: 8.445 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0045/0.3542, allocations: 2.343 MB / 0.5531 GB, free: 6.098 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003278/0.3574, allocations: 1.075 MB / 0.5541 GB, free: 5.016 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005439/0.358, allocations: 159.7 kB / 0.5543 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01466/0.3727, allocations: 9.117 MB / 0.5632 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008912/0.3736, allocations: 83.91 kB / 0.5633 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/0.3737, allocations: 56 kB / 0.5633 GB, free: 11.46 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 79 (system.initime,fault_ab.fault_pp.t0,$PRE.fault_ab.fault_pp.t0,relay2.cnt,$PRE.relay2.cnt,$whenCondition2,relay1.cnt,$PRE.relay1.cnt,$whenCondition1,fault_ab.fault_pp.on,$PRE.fault_ab.fault_pp.on,fault_ab.first,$PRE.fault_ab.first,fault_ab.v_pos,$PRE.fault_ab.v_pos,fault_ab.theta_zero,$PRE.fault_ab.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 136 * 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,40,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000788/0.3745, allocations: 484.8 kB / 0.5638 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002782/0.3748, allocations: 106.7 kB / 0.5639 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002892/0.3777, allocations: 1.834 MB / 0.5657 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.3778, allocations: 3.984 kB / 0.5657 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.3778, allocations: 0 / 0.5657 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005749/0.3783, allocations: 287.8 kB / 0.5659 GB, free: 8.703 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/0.3785, allocations: 43.92 kB / 0.566 GB, free: 8.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005871/0.3791, allocations: 63.86 kB / 0.5661 GB, free: 8.598 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000258/0.3794, allocations: 120.8 kB / 0.5662 GB, free: 8.48 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004218/0.3836, allocations: 2.247 MB / 0.5684 GB, free: 6.184 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003924/0.3876, allocations: 2.982 MB / 0.5713 GB, free: 3.168 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001136/0.3887, allocations: 0.8865 MB / 0.5721 GB, free: 2.285 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004588/0.3892, allocations: 390.8 kB / 0.5725 GB, free: 1.902 MB / 430.1 MB Notification: Performance of Backend: time 3.71e-07/0.3892, allocations: 0 / 0.5725 GB, free: 1.902 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004485/0.3937, allocations: 2.003 MB / 0.5745 GB, free: 15.86 MB / 446.1 MB Notification: Performance of SimCode: time 0.003698/0.3974, allocations: 2.828 MB / 0.5772 GB, free: 12.96 MB / 446.1 MB Notification: Performance of Templates: time 0.03191/0.4293, allocations: 21 MB / 0.5977 GB, free: 8.062 MB / 462.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Fault.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Fault.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Fault.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Fault.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Fault.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Fault -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Fault.pipe 2>&1)