Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine.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.AC1ph_DC.Elementary.DoubleLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 110.5 kB / 17.75 MB, free: 5.336 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.001058/0.001059, allocations: 191 kB / 18.68 MB, free: 4.41 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.305/1.305, allocations: 205.1 MB / 224.6 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1745/0.1745, allocations: 37.99 MB / 309.9 MB, free: 5.945 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.001591/0.001591, allocations: 71.91 kB / 432.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09096/0.09256, allocations: 55.24 MB / 487.8 MB, free: 8.332 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine): time 0.01065/0.1032, allocations: 8.739 MB / 496.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004308/0.1076, allocations: 2.396 MB / 498.9 MB, free: 13.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007213/0.1083, allocations: 27.81 kB / 499 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.1094, allocations: 337.7 kB / 499.3 MB, free: 12.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001912/0.1113, allocations: 0.8089 MB / 0.4884 GB, free: 11.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009547/0.1123, allocations: 387.3 kB / 0.4888 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002154/0.1145, allocations: 1.881 MB / 0.4906 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005507/0.115, allocations: 382.8 kB / 0.491 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001536/0.1166, allocations: 0.8172 MB / 0.4918 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001851/0.1185, allocations: 1.102 MB / 0.4928 GB, free: 7.395 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003714/0.1188, allocations: 116 kB / 0.4929 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004556/0.1193, allocations: 124 kB / 0.4931 GB, free: 7.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006979/0.12, allocations: 0.604 MB / 0.4936 GB, free: 6.555 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001179/0.1212, allocations: 0.6921 MB / 0.4943 GB, free: 5.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.123, allocations: 1.55 MB / 0.4958 GB, free: 4.305 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.123, allocations: 0 / 0.4958 GB, free: 4.305 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.123, allocations: 0 / 0.4958 GB, free: 4.305 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.602e-05/0.123, allocations: 0 / 0.4958 GB, free: 4.305 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004403/0.1275, allocations: 1.88 MB / 0.4977 GB, free: 2.352 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1275, allocations: 15.89 kB / 0.4977 GB, free: 2.336 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003175/0.1278, allocations: 127.4 kB / 0.4978 GB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002374/0.1302, allocations: 1.168 MB / 0.4989 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.911e-05/0.1303, allocations: 66 kB / 0.499 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002041/0.1305, allocations: 107.8 kB / 0.4991 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001849/0.1324, allocations: 1.309 MB / 0.5004 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.1324, allocations: 11.92 kB / 0.5004 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.1325, allocations: 39.97 kB / 0.5004 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006212/0.1331, allocations: 205.6 kB / 0.5006 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/0.1346, allocations: 0.9524 MB / 0.5016 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006288/0.1409, allocations: 4.499 MB / 0.506 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.1423, allocations: 1.169 MB / 0.5071 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009588/0.1433, allocations: 0.7345 MB / 0.5078 GB, free: 7.656 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.985e-05/0.1433, allocations: 9 kB / 0.5078 GB, free: 7.648 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001249/0.1446, allocations: 0.9418 MB / 0.5088 GB, free: 6.672 MB / 398.1 MB Notification: Performance of pre-optimization done (n=101): time 2.615e-06/0.1446, allocations: 0 / 0.5088 GB, free: 6.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=105): time 0.01133/0.1559, allocations: 6.609 MB / 0.5152 GB, free: 15.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.1561, allocations: 204.9 kB / 0.5154 GB, free: 15.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008643/0.1569, allocations: 0.7549 MB / 0.5161 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.793e-05/0.157, allocations: 53.7 kB / 0.5162 GB, free: 14.56 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003996/0.1574, allocations: 492.1 kB / 0.5167 GB, free: 14.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003306/0.1578, allocations: 382.8 kB / 0.517 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003567/0.1582, allocations: 251.5 kB / 0.5173 GB, free: 13.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1583, allocations: 365.9 kB / 0.5176 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009517/0.1593, allocations: 0.6754 MB / 0.5183 GB, free: 12.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.1604, allocations: 0.9473 MB / 0.5192 GB, free: 11.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00709/0.1676, allocations: 3.546 MB / 0.5227 GB, free: 7.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.1676, allocations: 4 kB / 0.5227 GB, free: 7.656 MB / 414.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.004669/0.1722, allocations: 2.768 MB / 0.5254 GB, free: 4.863 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.854e-05/0.1723, allocations: 67.39 kB / 0.5254 GB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.1723, allocations: 8 kB / 0.5254 GB, free: 4.777 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003018/0.1754, allocations: 1.132 MB / 0.5265 GB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006047/0.176, allocations: 179.7 kB / 0.5267 GB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2473/0.4232, allocations: 8.711 MB / 0.5352 GB, free: 49.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.4243, allocations: 105.5 kB / 0.5353 GB, free: 49.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000184/0.4246, allocations: 51 kB / 0.5354 GB, free: 49.18 MB / 414.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: $DER.trafo.i1 = 0.0 $DER.line.i[1,1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 41 (system.initime,ab.fault_pp.t0,$PRE.ab.fault_pp.t0,relay2.cnt,$PRE.relay2.cnt,$whenCondition2,relay1.cnt,$PRE.relay1.cnt,$whenCondition1,trafo.tap_2_internal,trafo.tap_1_internal,$PRE.switch1.switch_1.open,$PRE.switch2.switch_1.open,relay2.y[1],$PRE.relay2.y[1],relay1.y[1],$PRE.relay1.y[1],ab.fault_pp.on,$PRE.ab.fault_pp.on,ab.first,$PRE.ab.first,ab.v_pos,$PRE.ab.v_pos,ab.t_zero,$PRE.ab.t_zero,switch2.switch_1.closed,switch2.switch_1.open,switch2.switch_1.arc,$PRE.switch2.switch_1.arc,switch1.switch_1.closed,switch1.switch_1.open,switch1.switch_1.arc,$PRE.switch1.switch_1.arc,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 125 * Array equations: 0 * 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 {(5,44,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008144/0.4254, allocations: 450.1 kB / 0.5358 GB, free: 48.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002321/0.4256, allocations: 106 kB / 0.5359 GB, free: 48.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004254/0.4299, allocations: 2.333 MB / 0.5382 GB, free: 48.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/0.4299, allocations: 5.672 kB / 0.5382 GB, free: 48.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4299, allocations: 1.375 kB / 0.5382 GB, free: 48.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007203/0.4307, allocations: 317.5 kB / 0.5385 GB, free: 47.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002791/0.4309, allocations: 74.92 kB / 0.5386 GB, free: 47.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008014/0.4317, allocations: 90.34 kB / 0.5386 GB, free: 47.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003215/0.4321, allocations: 115.8 kB / 0.5388 GB, free: 47.89 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007145/0.4392, allocations: 3.228 MB / 0.5419 GB, free: 46.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003915/0.4432, allocations: 2.946 MB / 0.5448 GB, free: 45.93 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001151/0.4443, allocations: 0.8596 MB / 0.5456 GB, free: 45.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007219/0.4451, allocations: 0.5128 MB / 0.5461 GB, free: 45.51 MB / 414.1 MB Notification: Performance of Backend: time 5.91e-07/0.4451, allocations: 0 / 0.5461 GB, free: 45.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004221/0.4493, allocations: 1.813 MB / 0.5479 GB, free: 44.79 MB / 414.1 MB Notification: Performance of SimCode: time 0.004717/0.454, allocations: 4.279 MB / 0.5521 GB, free: 42.03 MB / 414.1 MB Notification: Performance of Templates: time 0.02922/0.4833, allocations: 21.73 MB / 0.5733 GB, free: 23.79 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine.pipe 2>&1)