Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline.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.Tline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=80000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline") translateModel(PowerSystems.Examples.AC3ph.Transmission.Tline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=80000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.001555, allocations: 110.3 kB / 17.75 MB, free: 5.355 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.001837/0.001837, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.3/1.3, 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.1749/0.1749, allocations: 37.98 MB / 309.9 MB, free: 5.957 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.001414/0.001414, allocations: 71.89 kB / 432.6 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08476/0.08618, allocations: 55.24 MB / 487.8 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.Tline): time 0.008874/0.09509, allocations: 8.096 MB / 495.9 MB, free: 212 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004445/0.09956, allocations: 2.696 MB / 498.6 MB, free: 13.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007184/0.1003, allocations: 27.81 kB / 498.6 MB, free: 13.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002032/0.1024, allocations: 0.7042 MB / 499.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00176/0.1041, allocations: 0.6801 MB / 500 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.1055, allocations: 0.542 MB / 0.4888 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001999/0.1075, allocations: 1.742 MB / 0.4905 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009754/0.1085, allocations: 0.6971 MB / 0.4912 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.1096, allocations: 0.7045 MB / 0.4919 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001411/0.111, allocations: 0.9385 MB / 0.4928 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003234/0.1113, allocations: 148 kB / 0.4929 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.1123, allocations: 0.5735 MB / 0.4935 GB, free: 6.719 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006144/0.113, allocations: 0.6039 MB / 0.4941 GB, free: 6.113 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009664/0.1139, allocations: 0.7543 MB / 0.4948 GB, free: 5.355 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002037/0.116, allocations: 1.936 MB / 0.4967 GB, free: 3.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.116, allocations: 4 kB / 0.4967 GB, free: 3.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.116, allocations: 0 / 0.4967 GB, free: 3.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.084e-05/0.1161, allocations: 0 / 0.4967 GB, free: 3.41 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003994/0.1201, allocations: 1.821 MB / 0.4985 GB, free: 1.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.1201, allocations: 15.89 kB / 0.4985 GB, free: 1.484 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.1214, allocations: 211.1 kB / 0.4987 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/0.1231, allocations: 0.8441 MB / 0.4995 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.571e-05/0.1232, allocations: 86.12 kB / 0.4996 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004516/0.1236, allocations: 187.8 kB / 0.4998 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002657/0.1263, allocations: 1.689 MB / 0.5014 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.625e-05/0.1264, allocations: 7.938 kB / 0.5015 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/0.1265, allocations: 55.91 kB / 0.5015 GB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004603/0.127, allocations: 98.03 kB / 0.5016 GB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002473/0.1294, allocations: 1.492 MB / 0.5031 GB, free: 12.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008309/0.1378, allocations: 5.934 MB / 0.5089 GB, free: 6.578 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00238/0.1402, allocations: 1.813 MB / 0.5106 GB, free: 4.633 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/0.1414, allocations: 0.8999 MB / 0.5115 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.475e-05/0.1415, allocations: 16.98 kB / 0.5115 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001769/0.1433, allocations: 1.279 MB / 0.5128 GB, free: 2.398 MB / 398.1 MB Notification: Performance of pre-optimization done (n=173): time 5.31e-06/0.1433, allocations: 3.984 kB / 0.5128 GB, free: 2.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=174): time 0.008787/0.1521, allocations: 5.765 MB / 0.5184 GB, free: 12.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.1522, allocations: 242.9 kB / 0.5186 GB, free: 12.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008116/0.153, allocations: 0.6799 MB / 0.5193 GB, free: 11.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001201/0.1532, allocations: 69.69 kB / 0.5194 GB, free: 11.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003643/0.1535, allocations: 492.5 kB / 0.5198 GB, free: 10.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004624/0.154, allocations: 0.5318 MB / 0.5204 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004949/0.1545, allocations: 315.5 kB / 0.5207 GB, free: 10.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1547, allocations: 357.9 kB / 0.521 GB, free: 9.664 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/0.1561, allocations: 0.8394 MB / 0.5218 GB, free: 8.824 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/0.1577, allocations: 1.148 MB / 0.5229 GB, free: 7.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002884/0.1606, allocations: 2.121 MB / 0.525 GB, free: 5.355 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/0.1606, allocations: 0 / 0.525 GB, free: 5.355 MB / 414.1 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.00817/0.1688, allocations: 3.777 MB / 0.5287 GB, free: 1.551 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.814e-05/0.1689, allocations: 59.91 kB / 0.5288 GB, free: 1.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/0.1689, allocations: 12 kB / 0.5288 GB, free: 1.469 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.218/0.3869, allocations: 1.668 MB / 0.5304 GB, free: 50.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007161/0.3877, allocations: 148.4 kB / 0.5305 GB, free: 50.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02362/0.4113, allocations: 14.22 MB / 0.5444 GB, free: 45.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.4126, allocations: 116.2 kB / 0.5445 GB, free: 45.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001489/0.4128, allocations: 69.31 kB / 0.5446 GB, free: 45.32 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 91 (system.initime,relay2.cnt,$PRE.relay2.cnt,$whenCondition2,relay1.cnt,$PRE.relay1.cnt,$whenCondition1,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * Array equations: 2 * 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 {(28,54)} Notification: Performance of prepare postOptimizeDAE: time 0.0007481/0.4136, allocations: 0.4887 MB / 0.5451 GB, free: 45.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002466/0.4138, allocations: 116.1 kB / 0.5452 GB, free: 45.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00352/0.4173, allocations: 2.232 MB / 0.5474 GB, free: 44.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.169e-05/0.4174, allocations: 9 kB / 0.5474 GB, free: 44.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.4174, allocations: 0.6094 kB / 0.5474 GB, free: 44.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002301/0.4176, allocations: 189 kB / 0.5476 GB, free: 43.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002073/0.4178, allocations: 61.97 kB / 0.5476 GB, free: 43.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008121/0.4187, allocations: 108.3 kB / 0.5477 GB, free: 43.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003505/0.419, allocations: 147.6 kB / 0.5479 GB, free: 43.91 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005182/0.4242, allocations: 2.956 MB / 0.5507 GB, free: 42.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004175/0.4284, allocations: 3.576 MB / 0.5542 GB, free: 41.27 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001152/0.4296, allocations: 1.089 MB / 0.5553 GB, free: 40.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004305/0.43, allocations: 477.8 kB / 0.5558 GB, free: 40.69 MB / 414.1 MB Notification: Performance of Backend: time 5.71e-07/0.43, allocations: 0 / 0.5558 GB, free: 40.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004403/0.4344, allocations: 2.495 MB / 0.5582 GB, free: 39.12 MB / 414.1 MB Notification: Performance of SimCode: time 0.004137/0.4386, allocations: 4.124 MB / 0.5622 GB, free: 35.14 MB / 414.1 MB Notification: Performance of Templates: time 0.03729/0.4759, allocations: 31.84 MB / 0.5933 GB, free: 3.273 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe 2>&1)