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.002355/0.002359, allocations: 352.4 kB / 16.57 MB, free: 5.59 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 3.407/3.407, allocations: 388.9 MB / 406.2 MB, free: 12.03 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003392/0.003392, allocations: 229.7 kB / 451.6 MB, free: 14.61 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.6439/0.6439, allocations: 76.01 MB / 0.5594 GB, free: 177.7 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004874/0.0004876, allocations: 12 kB / 0.6216 GB, free: 114.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06919/0.0697, allocations: 53.23 MB / 0.6736 GB, free: 60.95 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.RXline): time 0.006219/0.07596, allocations: 6.576 MB / 0.68 GB, free: 54.34 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003289/0.07928, allocations: 2.253 MB / 0.6822 GB, free: 52.08 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003361/0.07963, allocations: 31.81 kB / 0.6823 GB, free: 52.05 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003646/0.08001, allocations: 158.9 kB / 0.6824 GB, free: 51.89 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001049/0.08108, allocations: 0.5443 MB / 0.6829 GB, free: 51.35 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007638/0.08186, allocations: 331.2 kB / 0.6833 GB, free: 51.02 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001031/0.08291, allocations: 1.372 MB / 0.6846 GB, free: 49.65 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001288/0.08421, allocations: 0.846 MB / 0.6854 GB, free: 48.77 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004205/0.08465, allocations: 418.1 kB / 0.6858 GB, free: 48.36 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006768/0.08534, allocations: 0.6232 MB / 0.6864 GB, free: 47.73 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.08546, allocations: 44 kB / 0.6865 GB, free: 47.69 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007757/0.08625, allocations: 467.2 kB / 0.6869 GB, free: 47.23 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003559/0.08662, allocations: 434.9 kB / 0.6873 GB, free: 46.8 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.08682, allocations: 197.2 kB / 0.6875 GB, free: 46.61 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008514/0.08768, allocations: 1.009 MB / 0.6885 GB, free: 45.59 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.581e-06/0.0877, allocations: 0 / 0.6885 GB, free: 45.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.651e-06/0.08771, allocations: 0 / 0.6885 GB, free: 45.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.08773, allocations: 4 kB / 0.6885 GB, free: 45.59 MB / 442.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.002049/0.08979, allocations: 1.214 MB / 0.6897 GB, free: 44.31 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.08986, allocations: 8.828 kB / 0.6897 GB, free: 44.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008876/0.09076, allocations: 162.6 kB / 0.6899 GB, free: 44.14 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009721/0.09175, allocations: 0.5842 MB / 0.6904 GB, free: 43.51 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.145e-05/0.09184, allocations: 74 kB / 0.6905 GB, free: 43.44 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002257/0.09207, allocations: 107.8 kB / 0.6906 GB, free: 43.34 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/0.09414, allocations: 1.307 MB / 0.6919 GB, free: 41.96 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/0.09419, allocations: 7.938 kB / 0.6919 GB, free: 41.96 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.0943, allocations: 32 kB / 0.6919 GB, free: 41.93 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001444/0.09445, allocations: 65.97 kB / 0.692 GB, free: 41.86 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002078/0.09655, allocations: 1.171 MB / 0.6931 GB, free: 40.69 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00635/0.1029, allocations: 4.676 MB / 0.6977 GB, free: 35.84 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.1044, allocations: 1.299 MB / 0.699 GB, free: 34.41 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.1054, allocations: 0.633 MB / 0.6996 GB, free: 33.78 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.388e-05/0.1055, allocations: 12.59 kB / 0.6996 GB, free: 33.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001368/0.1069, allocations: 0.8995 MB / 0.7005 GB, free: 32.83 MB / 442.7 MB Notification: Performance of pre-optimization done (n=122): time 3.767e-06/0.1069, allocations: 4 kB / 0.7005 GB, free: 32.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=123): time 0.0057/0.1126, allocations: 3.597 MB / 0.704 GB, free: 29.14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.975e-05/0.1127, allocations: 238.6 kB / 0.7042 GB, free: 28.86 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005691/0.1133, allocations: 0.4901 MB / 0.7047 GB, free: 28.35 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.713e-05/0.1134, allocations: 49.7 kB / 0.7047 GB, free: 28.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/0.1137, allocations: 400 kB / 0.7051 GB, free: 27.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003022/0.114, allocations: 367.3 kB / 0.7055 GB, free: 27.54 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-05/0.1141, allocations: 31.98 kB / 0.7055 GB, free: 27.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1142, allocations: 398.7 kB / 0.7059 GB, free: 27.11 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000906/0.1151, allocations: 0.5069 MB / 0.7064 GB, free: 26.6 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.1162, allocations: 0.7738 MB / 0.7071 GB, free: 25.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009886/0.1172, allocations: 0.6457 MB / 0.7078 GB, free: 25.08 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.429e-06/0.1172, allocations: 4 kB / 0.7078 GB, free: 25.08 MB / 442.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004107/0.1213, allocations: 2.04 MB / 0.7098 GB, free: 23.01 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.67e-05/0.1214, allocations: 67.5 kB / 0.7098 GB, free: 22.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003306/0.1247, allocations: 1.622 MB / 0.7114 GB, free: 21.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00223/0.1269, allocations: 0.6611 MB / 0.7121 GB, free: 20.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005072/0.1275, allocations: 135.7 kB / 0.7122 GB, free: 20.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009503/0.137, allocations: 5.895 MB / 0.7179 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005811/0.1376, allocations: 67.89 kB / 0.718 GB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.551e-05/0.1377, allocations: 48 kB / 0.718 GB, free: 14.37 MB / 442.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.0005702/0.1383, allocations: 426 kB / 0.7185 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/0.1385, allocations: 87.05 kB / 0.7185 GB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002347/0.1408, allocations: 1.423 MB / 0.7199 GB, free: 12.39 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-05/0.1409, allocations: 28 kB / 0.72 GB, free: 12.37 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.111e-06/0.1409, allocations: 0 / 0.72 GB, free: 12.37 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.1409, allocations: 7.969 kB / 0.72 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004529/0.1455, allocations: 2.779 MB / 0.7227 GB, free: 9.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-06/0.1455, allocations: 0 / 0.7227 GB, free: 9.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/0.1468, allocations: 239.7 kB / 0.7229 GB, free: 9.266 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.334e-06/0.1468, allocations: 4 kB / 0.7229 GB, free: 9.262 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.167e-05/0.1469, allocations: 23.98 kB / 0.7229 GB, free: 9.238 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.9e-06/0.1469, allocations: 8 kB / 0.7229 GB, free: 9.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.268e-06/0.1469, allocations: 0 / 0.7229 GB, free: 9.23 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003517/0.1504, allocations: 2.3 MB / 0.7252 GB, free: 6.887 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.1506, allocations: 144.2 kB / 0.7253 GB, free: 6.727 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/0.1507, allocations: 39.92 kB / 0.7254 GB, free: 6.688 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005606/0.1513, allocations: 51.95 kB / 0.7254 GB, free: 6.637 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002459/0.1516, allocations: 112.8 kB / 0.7255 GB, free: 6.527 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.53e-05/0.1517, allocations: 27.98 kB / 0.7255 GB, free: 6.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003792/0.152, allocations: 350.8 kB / 0.7259 GB, free: 6.156 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.4e-07/0.1521, allocations: 0 / 0.7259 GB, free: 6.156 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009346/0.153, allocations: 296 kB / 0.7262 GB, free: 5.867 MB / 442.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.0002387/0.1533, allocations: 175 kB / 0.7263 GB, free: 5.684 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00311/0.1564, allocations: 1.856 MB / 0.7281 GB, free: 3.793 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.01e-06/0.1564, allocations: 0 / 0.7281 GB, free: 3.793 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001281/0.1577, allocations: 0.9025 MB / 0.729 GB, free: 2.871 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008735/0.1586, allocations: 136.7 kB / 0.7292 GB, free: 2.738 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003813/0.1624, allocations: 2.671 MB / 0.7318 GB, free: 28 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2275/0.39, allocations: 1.121 MB / 0.7329 GB, free: 126.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009729/0.391, allocations: 228.5 kB / 0.7331 GB, free: 126.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003084/0.3913, allocations: 60.88 kB / 0.7331 GB, free: 126.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.641e-06/0.3913, allocations: 1.531 kB / 0.7331 GB, free: 126.8 MB / 442.7 MB Notification: Performance of Templates: time 0.02714/0.4184, allocations: 12.04 MB / 0.7449 GB, free: 126.5 MB / 442.7 MB