Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/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.FaultTline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=80000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultTline") translateModel(PowerSystems.Examples.AC3ph.Transmission.FaultTline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=80000,variableFilter="",fileNamePrefix="PowerSystems_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.001344/0.001344, allocations: 108.7 kB / 17.75 MB, free: 5.305 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.001376/0.001376, allocations: 183 kB / 18.67 MB, free: 4.387 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.342/1.342, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1835/0.1835, allocations: 38.03 MB / 330.6 MB, free: 8.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 59.91 kB / 458.8 MB, free: 6.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2898, allocations: 58.07 MB / 0.5048 GB, free: 7.727 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.FaultTline): time 0.007945/0.2978, allocations: 8.986 MB / 0.5135 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005205/0.303, allocations: 3.013 MB / 0.5165 GB, free: 15.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008189/0.3038, allocations: 32.44 kB / 0.5165 GB, free: 15.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002381/0.3062, allocations: 0.8223 MB / 0.5173 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002233/0.3085, allocations: 0.828 MB / 0.5181 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001891/0.3104, allocations: 0.7021 MB / 0.5188 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002873/0.3133, allocations: 2.158 MB / 0.5209 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.3145, allocations: 0.8486 MB / 0.5218 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001535/0.316, allocations: 0.9209 MB / 0.5227 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001664/0.3177, allocations: 1.158 MB / 0.5238 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003412/0.3181, allocations: 173.6 kB / 0.524 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001223/0.3193, allocations: 0.6125 MB / 0.5245 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000811/0.3201, allocations: 0.7555 MB / 0.5253 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.3213, allocations: 0.9032 MB / 0.5262 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002803/0.3241, allocations: 2.335 MB / 0.5284 GB, free: 9.859 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3241, allocations: 0 / 0.5284 GB, free: 9.859 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3241, allocations: 0 / 0.5284 GB, free: 9.859 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.628e-05/0.3242, allocations: 0 / 0.5284 GB, free: 9.859 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.005048/0.3292, allocations: 2.155 MB / 0.5306 GB, free: 8.285 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.3293, allocations: 9.062 kB / 0.5306 GB, free: 8.285 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001581/0.3309, allocations: 262.6 kB / 0.5308 GB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001952/0.3328, allocations: 0.9735 MB / 0.5318 GB, free: 7.445 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.3329, allocations: 109.9 kB / 0.5319 GB, free: 7.391 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005695/0.3335, allocations: 220.4 kB / 0.5321 GB, free: 7.316 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003548/0.3371, allocations: 2.073 MB / 0.5341 GB, free: 6.055 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/0.3371, allocations: 1.031 kB / 0.5341 GB, free: 6.055 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000169/0.3373, allocations: 54.48 kB / 0.5342 GB, free: 6.016 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005968/0.3379, allocations: 126.5 kB / 0.5343 GB, free: 5.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003214/0.3411, allocations: 1.86 MB / 0.5361 GB, free: 5.113 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01167/0.3528, allocations: 7.274 MB / 0.5432 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002828/0.3557, allocations: 2.108 MB / 0.5453 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001616/0.3573, allocations: 1.138 MB / 0.5464 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.305e-05/0.3574, allocations: 17.31 kB / 0.5464 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002246/0.3597, allocations: 1.574 MB / 0.5479 GB, free: 11.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=214): time 4.478e-06/0.3597, allocations: 0 / 0.5479 GB, free: 11.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=215): time 0.01124/0.3709, allocations: 7.098 MB / 0.5549 GB, free: 4.477 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001567/0.3711, allocations: 255.6 kB / 0.5551 GB, free: 4.176 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.3722, allocations: 0.7821 MB / 0.5559 GB, free: 3.387 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002278/0.3725, allocations: 73.69 kB / 0.5559 GB, free: 3.309 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004609/0.3729, allocations: 0.5517 MB / 0.5565 GB, free: 2.746 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006315/0.3736, allocations: 0.6629 MB / 0.5571 GB, free: 2.074 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006006/0.3742, allocations: 380.3 kB / 0.5575 GB, free: 1.695 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3743, allocations: 305.1 kB / 0.5578 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001633/0.3759, allocations: 1.051 MB / 0.5588 GB, free: 348 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001895/0.3778, allocations: 1.402 MB / 0.5602 GB, free: 14.81 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003542/0.3814, allocations: 2.609 MB / 0.5627 GB, free: 12.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.3814, allocations: 4 kB / 0.5627 GB, free: 12.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=305) (initialization): time 0.01041/0.3918, allocations: 4.693 MB / 0.5673 GB, free: 7.281 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.39e-05/0.3919, allocations: 63.45 kB / 0.5674 GB, free: 7.207 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00971/0.4016, allocations: 4.152 MB / 0.5714 GB, free: 3.016 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006762/0.4084, allocations: 2.293 MB / 0.5737 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007514/0.4092, allocations: 175.6 kB / 0.5738 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03054/0.4398, allocations: 17.86 MB / 0.5913 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.4413, allocations: 143.7 kB / 0.5914 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002397/0.4416, allocations: 79.98 kB / 0.5915 GB, free: 14.3 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.001024/0.4426, allocations: 0.5638 MB / 0.592 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003639/0.443, allocations: 142.4 kB / 0.5922 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004655/0.4476, allocations: 2.756 MB / 0.5949 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-05/0.4477, allocations: 15.89 kB / 0.5949 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.4477, allocations: 4 kB / 0.5949 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009028/0.4486, allocations: 415.2 kB / 0.5953 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003154/0.4489, allocations: 67.97 kB / 0.5953 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.45, allocations: 131.8 kB / 0.5955 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004099/0.4504, allocations: 173.8 kB / 0.5956 GB, free: 9.953 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007605/0.458, allocations: 3.608 MB / 0.5992 GB, free: 6.281 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006049/0.4641, allocations: 4.299 MB / 0.6033 GB, free: 1.938 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001782/0.4659, allocations: 1.335 MB / 0.6047 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007027/0.4666, allocations: 0.5302 MB / 0.6052 GB, free: 76 kB / 462.1 MB Notification: Performance of Backend: time 3.1e-07/0.4666, allocations: 0 / 0.6052 GB, free: 76 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006646/0.4733, allocations: 3.047 MB / 0.6081 GB, free: 13 MB / 478.1 MB Notification: Performance of SimCode: time 0.006854/0.4801, allocations: 4.773 MB / 0.6128 GB, free: 8.141 MB / 478.1 MB Notification: Performance of Templates: time 0.05853/0.5387, allocations: 38.44 MB / 0.6503 GB, free: 1.852 MB / 0.4981 GB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultTline.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultTline.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultTline.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultTline.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultTline.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultTline -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultTline.pipe 2>&1)