Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Transmission.RXline.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transmission.RXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Transmission.RXline") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001347/0.001347, allocations: 184 kB / 16.38 MB, free: 5.598 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.684/1.684, allocations: 194.5 MB / 211.6 MB, free: 7.711 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001871/0.001871, allocations: 104.7 kB / 256.9 MB, free: 10.34 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.2283/0.2283, allocations: 38.01 MB / 340.1 MB, free: 13.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004745/0.0004747, allocations: 17.69 kB / 403.8 MB, free: 55.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0703/0.0708, allocations: 53.23 MB / 457 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.RXline): time 0.005957/0.0768, allocations: 6.308 MB / 463.3 MB, free: 4.062 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003145/0.07997, allocations: 2.281 MB / 465.6 MB, free: 1.773 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003638/0.08035, allocations: 35.75 kB / 465.6 MB, free: 1.738 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004094/0.08077, allocations: 159 kB / 465.8 MB, free: 1.582 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009774/0.08177, allocations: 462.6 kB / 466.2 MB, free: 1.129 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007542/0.08254, allocations: 339.3 kB / 466.6 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005813/0.08314, allocations: 0.6133 MB / 467.2 MB, free: 188 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001551/0.08471, allocations: 0.8384 MB / 468 MB, free: 15.31 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005829/0.08531, allocations: 370.7 kB / 468.4 MB, free: 14.95 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007154/0.08604, allocations: 474.5 kB / 468.9 MB, free: 14.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.08618, allocations: 44 kB / 468.9 MB, free: 14.44 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008544/0.08705, allocations: 431.4 kB / 469.3 MB, free: 14.02 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004744/0.08754, allocations: 399 kB / 469.7 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000249/0.0878, allocations: 201.1 kB / 469.9 MB, free: 13.42 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.0891, allocations: 1.002 MB / 470.9 MB, free: 12.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.438e-06/0.08912, allocations: 3.938 kB / 470.9 MB, free: 12.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.816e-06/0.08913, allocations: 0 / 470.9 MB, free: 12.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.08915, allocations: 0 / 470.9 MB, free: 12.41 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.002359/0.09152, allocations: 1.222 MB / 472.1 MB, free: 11.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.09157, allocations: 12.02 kB / 472.1 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009429/0.09252, allocations: 154.7 kB / 472.3 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.09379, allocations: 0.5957 MB / 472.9 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.98e-05/0.09389, allocations: 66 kB / 473 MB, free: 10.26 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000258/0.09416, allocations: 99.97 kB / 473.1 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002587/0.09677, allocations: 1.314 MB / 474.4 MB, free: 8.785 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.12e-05/0.09682, allocations: 3.938 kB / 474.4 MB, free: 8.781 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.09695, allocations: 39.98 kB / 474.4 MB, free: 8.742 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001641/0.09712, allocations: 57.98 kB / 474.5 MB, free: 8.688 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002485/0.09962, allocations: 1.175 MB / 475.6 MB, free: 7.508 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008078/0.1077, allocations: 4.668 MB / 480.3 MB, free: 2.676 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001985/0.1097, allocations: 1.294 MB / 481.6 MB, free: 1.258 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.193e-05/0.1098, allocations: 17.62 kB / 481.6 MB, free: 1.242 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001578/0.1114, allocations: 0.8907 MB / 482.5 MB, free: 324 kB / 314.7 MB Notification: Performance of pre-optimization done (n=122): time 4.062e-06/0.1114, allocations: 3.938 kB / 482.5 MB, free: 320 kB / 314.7 MB Notification: Performance of matching and sorting (n=123): time 0.007275/0.1187, allocations: 3.918 MB / 486.4 MB, free: 12.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001654/0.1189, allocations: 242.8 kB / 486.7 MB, free: 11.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007028/0.1196, allocations: 0.4901 MB / 487.2 MB, free: 11.45 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.1197, allocations: 53.69 kB / 487.2 MB, free: 11.39 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003588/0.1201, allocations: 408 kB / 487.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004249/0.1205, allocations: 363.1 kB / 488 MB, free: 10.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.171e-05/0.1206, allocations: 24 kB / 488 MB, free: 10.6 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002572/0.1209, allocations: 402.7 kB / 488.4 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.122, allocations: 0.5108 MB / 488.9 MB, free: 9.688 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/0.1233, allocations: 0.77 MB / 489.7 MB, free: 8.824 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.1246, allocations: 0.6418 MB / 490.3 MB, free: 8.168 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.1246, allocations: 0 / 490.3 MB, free: 8.168 MB / 330.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004721/0.1294, allocations: 2.039 MB / 492.3 MB, free: 6.105 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.71e-05/0.1294, allocations: 59.41 kB / 492.4 MB, free: 6.035 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003901/0.1334, allocations: 1.63 MB / 494 MB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002462/0.1358, allocations: 0.6525 MB / 494.7 MB, free: 3.746 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005768/0.1364, allocations: 139.7 kB / 494.8 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01215/0.1486, allocations: 6.13 MB / 0.4892 GB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006085/0.1492, allocations: 59.95 kB / 0.4893 GB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.1494, allocations: 51.98 kB / 0.4893 GB, free: 13.23 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 67 (system.initime,$whenCondition2,$PRE.relay2.cnt,relay2.cnt,$whenCondition1,$PRE.relay1.cnt,relay1.cnt,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.switch1.switch_a.arc,switch1.switch_a.arc,$PRE.switch1.switch_a.open,switch1.switch_a.open,switch1.switch_a.closed,$PRE.switch1.switch_b.arc,switch1.switch_b.arc,$PRE.switch1.switch_b.open,switch1.switch_b.open,switch1.switch_b.closed,$PRE.switch1.switch_c.arc,switch1.switch_c.arc,$PRE.switch1.switch_c.open,switch1.switch_c.open,switch1.switch_c.closed,$PRE.switch2.switch_a.arc,switch2.switch_a.arc,$PRE.switch2.switch_a.open,switch2.switch_a.open,switch2.switch_a.closed,$PRE.switch2.switch_b.arc,switch2.switch_b.arc,$PRE.switch2.switch_b.open,switch2.switch_b.open,switch2.switch_b.closed,$PRE.switch2.switch_c.arc,switch2.switch_c.arc,$PRE.switch2.switch_c.open,switch2.switch_c.open,switch2.switch_c.closed,$PRE.relay1.y[1],relay1.y[1],$PRE.relay1.y[2],relay1.y[2],$PRE.relay1.y[3],relay1.y[3],$PRE.relay2.y[1],relay2.y[1],$PRE.relay2.y[2],relay2.y[2],$PRE.relay2.y[3],relay2.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 119 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007276/0.1501, allocations: 433.9 kB / 0.4897 GB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/0.1503, allocations: 90.95 kB / 0.4898 GB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002902/0.1532, allocations: 1.419 MB / 0.4912 GB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.307e-05/0.1533, allocations: 31.92 kB / 0.4912 GB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.045e-06/0.1533, allocations: 4 kB / 0.4912 GB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.1534, allocations: 3.984 kB / 0.4912 GB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005542/0.1589, allocations: 2.779 MB / 0.494 GB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.362e-06/0.1589, allocations: 4 kB / 0.494 GB, free: 8.348 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/0.1602, allocations: 227.8 kB / 0.4942 GB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.352e-05/0.1603, allocations: 7.984 kB / 0.4942 GB, free: 8.117 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.629e-05/0.1604, allocations: 27.95 kB / 0.4942 GB, free: 8.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.83e-06/0.1604, allocations: 4 kB / 0.4942 GB, free: 8.086 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.525e-06/0.1604, allocations: 3.984 kB / 0.4942 GB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004348/0.1648, allocations: 2.346 MB / 0.4965 GB, free: 5.672 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.1649, allocations: 148 kB / 0.4967 GB, free: 5.508 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/0.1651, allocations: 31.98 kB / 0.4967 GB, free: 5.477 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005366/0.1657, allocations: 55.94 kB / 0.4967 GB, free: 5.422 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002834/0.166, allocations: 112.8 kB / 0.4968 GB, free: 5.312 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.679e-05/0.1661, allocations: 31.98 kB / 0.4969 GB, free: 5.281 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004886/0.1666, allocations: 338.8 kB / 0.4972 GB, free: 4.949 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.1666, allocations: 0 / 0.4972 GB, free: 4.949 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001052/0.1677, allocations: 311.9 kB / 0.4975 GB, free: 4.645 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 47 (switch1.switch_c.closed,switch1.switch_a.closed,switch1.switch_b.closed,switch2.switch_b.closed,switch2.switch_c.closed,switch2.switch_a.closed,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,switch1.switch_a.arc,switch1.switch_a.open,switch1.switch_b.arc,switch1.switch_b.open,switch1.switch_c.arc,switch1.switch_c.open,switch2.switch_a.arc,switch2.switch_a.open,switch2.switch_b.arc,switch2.switch_b.open,switch2.switch_c.arc,switch2.switch_c.open,relay1.y[1],relay1.y[2],relay1.y[3],relay1.cnt,relay2.y[1],relay2.y[2],relay2.y[3],relay2.cnt,system.initime) * Number of discrete states: 16 (relay2.y[3],relay2.y[2],relay2.y[1],relay2.cnt,$whenCondition2,switch2.switch_a.open,switch2.switch_c.open,switch2.switch_b.open,relay1.y[3],relay1.y[2],relay1.y[1],relay1.cnt,$whenCondition1,switch1.switch_b.open,switch1.switch_a.open,switch1.switch_c.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 88 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003413/0.168, allocations: 171 kB / 0.4977 GB, free: 4.469 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003758/0.1718, allocations: 1.852 MB / 0.4995 GB, free: 2.578 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1718, allocations: 0 / 0.4995 GB, free: 2.578 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001584/0.1734, allocations: 0.9064 MB / 0.5004 GB, free: 1.645 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006486/0.1741, allocations: 119.2 kB / 0.5005 GB, free: 1.527 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004685/0.1788, allocations: 2.66 MB / 0.5031 GB, free: 14.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009982/0.1798, allocations: 1.125 MB / 0.5042 GB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008472/0.1806, allocations: 230.9 kB / 0.5044 GB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002862/0.181, allocations: 71.36 kB / 0.5044 GB, free: 13.38 MB / 362.7 MB Notification: Performance of SimCode: time 1.3e-06/0.181, allocations: 0 / 0.5044 GB, free: 13.38 MB / 362.7 MB Notification: Performance of Templates: time 0.02823/0.2092, allocations: 12.1 MB / 0.5163 GB, free: 1.301 MB / 362.7 MB