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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.001857/0.001857, allocations: 112.1 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.00201/0.002011, allocations: 190.4 kB / 18.67 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.1 MB / 224.6 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1799/0.1799, allocations: 37.98 MB / 309.9 MB, free: 5.953 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 63.91 kB / 432.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09825/0.09986, allocations: 55.25 MB / 487.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.FaultRXline): time 0.00906/0.109, allocations: 7.435 MB / 495.2 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004442/0.1134, allocations: 2.443 MB / 497.7 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007078/0.1142, allocations: 23.88 kB / 497.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002099/0.1163, allocations: 0.7467 MB / 498.4 MB, free: 13.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001725/0.1181, allocations: 0.6454 MB / 499.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.1193, allocations: 487.1 kB / 499.6 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002205/0.1216, allocations: 1.497 MB / 0.4893 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/0.1228, allocations: 0.736 MB / 0.49 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001282/0.1241, allocations: 0.6656 MB / 0.4907 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/0.1254, allocations: 0.806 MB / 0.4915 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003574/0.1258, allocations: 116 kB / 0.4916 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.1269, allocations: 0.5344 MB / 0.4921 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007543/0.1277, allocations: 0.5884 MB / 0.4927 GB, free: 7.547 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001197/0.1289, allocations: 0.6609 MB / 0.4933 GB, free: 6.883 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002207/0.1311, allocations: 1.69 MB / 0.495 GB, free: 5.188 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1311, allocations: 3.938 kB / 0.495 GB, free: 5.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1311, allocations: 0 / 0.495 GB, free: 5.184 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.498e-05/0.1312, allocations: 0 / 0.495 GB, free: 5.184 MB / 382.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.004156/0.1354, allocations: 1.67 MB / 0.4966 GB, free: 3.445 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.1354, allocations: 15.89 kB / 0.4966 GB, free: 3.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.1366, allocations: 195.2 kB / 0.4968 GB, free: 3.238 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/0.138, allocations: 0.7368 MB / 0.4975 GB, free: 2.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.043e-05/0.1381, allocations: 90.12 kB / 0.4976 GB, free: 2.371 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003091/0.1384, allocations: 124 kB / 0.4977 GB, free: 2.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002523/0.141, allocations: 1.625 MB / 0.4993 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.233e-05/0.141, allocations: 3.938 kB / 0.4993 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.1411, allocations: 47.97 kB / 0.4994 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002579/0.1414, allocations: 77.97 kB / 0.4994 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002341/0.1437, allocations: 1.452 MB / 0.5009 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008974/0.1527, allocations: 5.817 MB / 0.5065 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001976/0.1547, allocations: 1.578 MB / 0.5081 GB, free: 7.246 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/0.1559, allocations: 0.8257 MB / 0.5089 GB, free: 6.414 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.295e-05/0.156, allocations: 13 kB / 0.5089 GB, free: 6.402 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001509/0.1575, allocations: 1.127 MB / 0.51 GB, free: 5.238 MB / 398.1 MB Notification: Performance of pre-optimization done (n=157): time 4.068e-06/0.1575, allocations: 0 / 0.51 GB, free: 5.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=158): time 0.007563/0.1651, allocations: 4.714 MB / 0.5146 GB, free: 424 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.1653, allocations: 238.9 kB / 0.5148 GB, free: 132 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007431/0.166, allocations: 0.581 MB / 0.5154 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000108/0.1661, allocations: 61.7 kB / 0.5155 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003786/0.1665, allocations: 476.2 kB / 0.5159 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004091/0.1669, allocations: 481.5 kB / 0.5164 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000408/0.1674, allocations: 279.5 kB / 0.5166 GB, free: 14.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1675, allocations: 341.9 kB / 0.517 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/0.1686, allocations: 0.691 MB / 0.5176 GB, free: 13.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.1699, allocations: 1.006 MB / 0.5186 GB, free: 12.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002457/0.1724, allocations: 1.833 MB / 0.5204 GB, free: 10.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/0.1724, allocations: 8 kB / 0.5204 GB, free: 10.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.005753/0.1782, allocations: 2.847 MB / 0.5232 GB, free: 7.234 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.278e-05/0.1782, allocations: 67.41 kB / 0.5233 GB, free: 7.156 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004639/0.1829, allocations: 2.323 MB / 0.5255 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003468/0.1864, allocations: 1.067 MB / 0.5266 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005606/0.187, allocations: 151.7 kB / 0.5267 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2179/0.4049, allocations: 9.014 MB / 0.5355 GB, free: 49.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008706/0.4058, allocations: 85.84 kB / 0.5356 GB, free: 49.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001554/0.406, allocations: 58.45 kB / 0.5357 GB, free: 49.41 MB / 414.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.0006994/0.4067, allocations: 494.7 kB / 0.5361 GB, free: 49.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000264/0.407, allocations: 104.5 kB / 0.5362 GB, free: 49.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00289/0.4099, allocations: 1.862 MB / 0.5381 GB, free: 48.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-05/0.4099, allocations: 9.984 kB / 0.5381 GB, free: 48.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.4099, allocations: 1.219 kB / 0.5381 GB, free: 48.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004701/0.4104, allocations: 291.3 kB / 0.5383 GB, free: 48.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001782/0.4106, allocations: 40.67 kB / 0.5384 GB, free: 48.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005684/0.4111, allocations: 67.72 kB / 0.5384 GB, free: 48.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002966/0.4114, allocations: 125 kB / 0.5386 GB, free: 48.19 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004395/0.4159, allocations: 2.371 MB / 0.5409 GB, free: 47.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004514/0.4204, allocations: 3.083 MB / 0.5439 GB, free: 45.91 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001151/0.4215, allocations: 0.9117 MB / 0.5448 GB, free: 45.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004944/0.4221, allocations: 410.8 kB / 0.5452 GB, free: 45.4 MB / 414.1 MB Notification: Performance of Backend: time 2.3e-07/0.4221, allocations: 0 / 0.5452 GB, free: 45.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004881/0.4269, allocations: 2.028 MB / 0.5472 GB, free: 44.58 MB / 414.1 MB Notification: Performance of SimCode: time 0.004082/0.431, allocations: 2.859 MB / 0.5499 GB, free: 42.9 MB / 414.1 MB Notification: Performance of Templates: time 0.02861/0.4597, allocations: 21.06 MB / 0.5705 GB, free: 26.88 MB / 414.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)