Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.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 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.DoubleLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleLine") translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 110.3 kB / 17.75 MB, free: 5.359 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.001363/0.001363, allocations: 181.4 kB / 18.67 MB, free: 4.441 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.335/1.335, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1788/0.1788, allocations: 38.03 MB / 330.6 MB, free: 8.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.91 kB / 458.8 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2883, allocations: 58.05 MB / 0.5048 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleLine): time 0.00928/0.2976, allocations: 10.44 MB / 0.515 GB, free: 476 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007018/0.3046, allocations: 4.085 MB / 0.5189 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008792/0.3056, allocations: 34.62 kB / 0.519 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003262/0.3089, allocations: 1.245 MB / 0.5202 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003288/0.3122, allocations: 1.245 MB / 0.5214 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002379/0.3146, allocations: 0.9213 MB / 0.5223 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003569/0.3181, allocations: 2.774 MB / 0.525 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001653/0.3198, allocations: 1.069 MB / 0.5261 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002197/0.322, allocations: 1.216 MB / 0.5273 GB, free: 9.668 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002843/0.3249, allocations: 1.649 MB / 0.5289 GB, free: 9.117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006967/0.3256, allocations: 192.8 kB / 0.529 GB, free: 9.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/0.3276, allocations: 0.7532 MB / 0.5298 GB, free: 8.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001485/0.3291, allocations: 1.1 MB / 0.5309 GB, free: 8.348 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002079/0.3312, allocations: 1.141 MB / 0.532 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003678/0.3349, allocations: 2.964 MB / 0.5349 GB, free: 5.637 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3349, allocations: 0 / 0.5349 GB, free: 5.637 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3349, allocations: 0 / 0.5349 GB, free: 5.637 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.736e-05/0.335, allocations: 1.156 kB / 0.5349 GB, free: 5.637 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: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.006641/0.3417, allocations: 2.548 MB / 0.5374 GB, free: 3.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.3417, allocations: 12.61 kB / 0.5374 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002974/0.3447, allocations: 404.4 kB / 0.5378 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002971/0.3477, allocations: 1.284 MB / 0.539 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.3478, allocations: 125.9 kB / 0.5391 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009615/0.3488, allocations: 340.8 kB / 0.5395 GB, free: 2.582 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004795/0.3536, allocations: 2.897 MB / 0.5423 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.51e-05/0.3536, allocations: 8.062 kB / 0.5423 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002204/0.3539, allocations: 81.77 kB / 0.5424 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001355/0.3552, allocations: 238.5 kB / 0.5426 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004417/0.3597, allocations: 2.498 MB / 0.545 GB, free: 15.09 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0174/0.3771, allocations: 10.7 MB / 0.5555 GB, free: 4.055 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003701/0.3808, allocations: 2.581 MB / 0.558 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002266/0.3831, allocations: 1.531 MB / 0.5595 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001187/0.3832, allocations: 30 kB / 0.5595 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002786/0.386, allocations: 1.865 MB / 0.5614 GB, free: 13.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=243): time 4.869e-06/0.386, allocations: 3.938 kB / 0.5614 GB, free: 13.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=246): time 0.01403/0.4001, allocations: 8.407 MB / 0.5696 GB, free: 5.355 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/0.4002, allocations: 277.3 kB / 0.5698 GB, free: 5.027 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/0.4015, allocations: 1.01 MB / 0.5708 GB, free: 4 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000199/0.4017, allocations: 77.7 kB / 0.5709 GB, free: 3.918 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005973/0.4023, allocations: 0.7691 MB / 0.5716 GB, free: 3.137 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007261/0.4031, allocations: 0.8285 MB / 0.5725 GB, free: 2.297 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008129/0.4039, allocations: 0.4904 MB / 0.5729 GB, free: 1.797 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.786e-05/0.404, allocations: 313 kB / 0.5732 GB, free: 1.488 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00222/0.4062, allocations: 1.442 MB / 0.5746 GB, free: 44 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0026/0.4088, allocations: 2.024 MB / 0.5766 GB, free: 13.8 MB / 446.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.02179/0.4306, allocations: 9.317 MB / 0.5857 GB, free: 4.195 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.474e-05/0.4307, allocations: 8 kB / 0.5857 GB, free: 4.188 MB / 446.1 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01577/0.4464, allocations: 6.945 MB / 0.5925 GB, free: 13.18 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.991e-05/0.4465, allocations: 67.39 kB / 0.5926 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01368/0.4602, allocations: 6.077 MB / 0.5985 GB, free: 6.988 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01067/0.4709, allocations: 4.206 MB / 0.6026 GB, free: 2.773 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.4721, allocations: 267.4 kB / 0.6029 GB, free: 2.512 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04778/0.5198, allocations: 27.36 MB / 0.6296 GB, free: 6.992 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.5217, allocations: 147.8 kB / 0.6297 GB, free: 6.848 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003548/0.5221, allocations: 111.9 kB / 0.6298 GB, free: 6.738 MB / 494.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: infBus1.V = 2e4 * infBus1.v0 InfBus2.V = 4e5 * InfBus2.v0 lineF.omega[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 86 (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,trafo.tap_2_internal,trafo.tap_1_internal,$PRE.switch1.switch_a.open,$PRE.switch1.switch_b.open,$PRE.switch1.switch_c.open,$PRE.switch2.switch_a.open,$PRE.switch2.switch_b.open,$PRE.switch2.switch_c.open,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],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,switch2.switch_c.closed,switch2.switch_c.open,switch2.switch_c.arc,$PRE.switch2.switch_c.arc,switch2.switch_b.closed,switch2.switch_b.open,switch2.switch_b.arc,$PRE.switch2.switch_b.arc,switch2.switch_a.closed,switch2.switch_a.open,switch2.switch_a.arc,$PRE.switch2.switch_a.arc,switch1.switch_c.closed,switch1.switch_c.open,switch1.switch_c.arc,$PRE.switch1.switch_c.arc,switch1.switch_b.closed,switch1.switch_b.open,switch1.switch_b.arc,$PRE.switch1.switch_b.arc,switch1.switch_a.closed,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 (204): * Single equations (assignments): 198 * 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 {(56,103)} Notification: Performance of prepare postOptimizeDAE: time 0.00133/0.5234, allocations: 0.6995 MB / 0.6305 GB, free: 6.016 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004752/0.5239, allocations: 185.9 kB / 0.6307 GB, free: 5.832 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005585/0.5295, allocations: 3.299 MB / 0.6339 GB, free: 2.504 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.126e-05/0.5295, allocations: 7.969 kB / 0.6339 GB, free: 2.496 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.568e-05/0.5295, allocations: 4 kB / 0.6339 GB, free: 2.492 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/0.5308, allocations: 494.8 kB / 0.6344 GB, free: 1.988 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000397/0.5312, allocations: 87.97 kB / 0.6345 GB, free: 1.902 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.5325, allocations: 115.8 kB / 0.6346 GB, free: 1.789 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004274/0.5329, allocations: 181.7 kB / 0.6348 GB, free: 1.609 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01105/0.544, allocations: 4.695 MB / 0.6393 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007608/0.5516, allocations: 5.389 MB / 0.6446 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002253/0.5539, allocations: 1.667 MB / 0.6462 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009495/0.5548, allocations: 0.668 MB / 0.6469 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of Backend: time 5.51e-07/0.5549, allocations: 4 kB / 0.6469 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009917/0.5648, allocations: 4.359 MB / 0.6511 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of SimCode: time 0.00961/0.5744, allocations: 6.837 MB / 0.6578 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of Templates: time 0.07409/0.6485, allocations: 52.66 MB / 0.7092 GB, free: 5.316 MB / 0.5606 GB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleLine.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleLine.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleLine.pipe 2>&1)