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.002618/0.002623, allocations: 364.4 kB / 17.21 MB, free: 4.953 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.716/3.716, allocations: 388.9 MB / 406.8 MB, free: 11.99 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.003564/0.003564, allocations: 231.9 kB / 452.2 MB, free: 14.58 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.7615/0.7615, allocations: 76 MB / 0.56 GB, free: 177.7 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006038/0.000604, allocations: 8 kB / 0.6222 GB, free: 114.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08989/0.09053, allocations: 53.24 MB / 0.6742 GB, free: 60.95 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4557/0.5463, allocations: 97.63 MB / 0.7696 GB, free: 81.49 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/0.5467, allocations: 94.27 kB / 0.7697 GB, free: 81.49 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0859/0.6326, allocations: 21.92 MB / 0.7911 GB, free: 75.62 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.836e-06/0.6327, allocations: 3.812 kB / 0.7911 GB, free: 75.62 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.09e-05/0.6327, allocations: 23.25 kB / 0.7911 GB, free: 75.61 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.003406/0.6361, allocations: 1.255 MB / 0.7923 GB, free: 74.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.6362, allocations: 11.34 kB / 0.7923 GB, free: 74.7 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/0.6374, allocations: 155.8 kB / 0.7925 GB, free: 74.63 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0023/0.6398, allocations: 0.8349 MB / 0.7933 GB, free: 74.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.652e-05/0.6399, allocations: 68.66 kB / 0.7934 GB, free: 74.18 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002096/0.6401, allocations: 88.55 kB / 0.7934 GB, free: 74.18 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002786/0.6429, allocations: 1.282 MB / 0.7947 GB, free: 73.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.66e-05/0.643, allocations: 6.781 kB / 0.7947 GB, free: 73.73 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001426/0.6431, allocations: 32.66 kB / 0.7947 GB, free: 73.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001042/0.6432, allocations: 63.42 kB / 0.7948 GB, free: 73.72 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002706/0.646, allocations: 1.131 MB / 0.7959 GB, free: 73.53 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009056/0.655, allocations: 4.583 MB / 0.8004 GB, free: 70.84 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/0.6569, allocations: 0.8177 MB / 0.8012 GB, free: 70.68 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/0.6582, allocations: 0.6479 MB / 0.8018 GB, free: 70.59 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.641e-05/0.6583, allocations: 9.156 kB / 0.8018 GB, free: 70.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001733/0.6601, allocations: 0.9177 MB / 0.8027 GB, free: 70.24 MB / 442.7 MB Notification: Performance of pre-optimization done (n=126): time 3.697e-06/0.6601, allocations: 3 kB / 0.8027 GB, free: 70.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=127): time 0.008526/0.6686, allocations: 3.646 MB / 0.8063 GB, free: 69.13 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.6688, allocations: 241.2 kB / 0.8065 GB, free: 68.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008015/0.6696, allocations: 486.1 kB / 0.807 GB, free: 68.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000192/0.6698, allocations: 56.62 kB / 0.807 GB, free: 68.64 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003264/0.6702, allocations: 386.3 kB / 0.8074 GB, free: 68.4 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004203/0.6706, allocations: 381.9 kB / 0.8077 GB, free: 68.15 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.497e-05/0.6707, allocations: 21.5 kB / 0.8078 GB, free: 68.15 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.6709, allocations: 398.3 kB / 0.8081 GB, free: 67.81 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001296/0.6722, allocations: 0.5356 MB / 0.8087 GB, free: 67.73 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/0.6736, allocations: 0.7761 MB / 0.8094 GB, free: 67.39 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.6751, allocations: 0.6594 MB / 0.8101 GB, free: 67.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.6751, allocations: 2.531 kB / 0.8101 GB, free: 67.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.005974/0.6811, allocations: 2.077 MB / 0.8121 GB, free: 66.68 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.121e-05/0.6812, allocations: 59.28 kB / 0.8122 GB, free: 66.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004871/0.6861, allocations: 1.684 MB / 0.8138 GB, free: 65.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00317/0.6893, allocations: 0.6644 MB / 0.8145 GB, free: 65.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009212/0.6902, allocations: 137.2 kB / 0.8146 GB, free: 64.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0131/0.7034, allocations: 5.932 MB / 0.8204 GB, free: 59.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.7045, allocations: 67.88 kB / 0.8204 GB, free: 59.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/0.7047, allocations: 48 kB / 0.8205 GB, free: 59.44 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (122): * Single equations (assignments): 116 * Array equations: 3 * 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.0008497/0.7055, allocations: 422 kB / 0.8209 GB, free: 59 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002709/0.7058, allocations: 87.05 kB / 0.821 GB, free: 58.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003231/0.7091, allocations: 1.462 MB / 0.8224 GB, free: 57.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.387e-05/0.7092, allocations: 24 kB / 0.8224 GB, free: 57.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.7092, allocations: 4 kB / 0.8224 GB, free: 57.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.598e-05/0.7092, allocations: 15.91 kB / 0.8224 GB, free: 57.39 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006216/0.7154, allocations: 2.814 MB / 0.8252 GB, free: 54.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.7155, allocations: 4.094 kB / 0.8252 GB, free: 54.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002011/0.7175, allocations: 231.7 kB / 0.8254 GB, free: 54.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-05/0.7176, allocations: 4 kB / 0.8254 GB, free: 54.29 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001347/0.7177, allocations: 27.98 kB / 0.8254 GB, free: 54.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.328e-06/0.7177, allocations: 10.72 kB / 0.8255 GB, free: 54.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.7177, allocations: 0 / 0.8255 GB, free: 54.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004802/0.7225, allocations: 2.322 MB / 0.8277 GB, free: 51.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002774/0.7229, allocations: 152.1 kB / 0.8279 GB, free: 51.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/0.7231, allocations: 35.97 kB / 0.8279 GB, free: 51.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008308/0.724, allocations: 59.92 kB / 0.828 GB, free: 51.64 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003509/0.7243, allocations: 104.8 kB / 0.8281 GB, free: 51.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/0.7245, allocations: 31.98 kB / 0.8281 GB, free: 51.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005441/0.725, allocations: 334.8 kB / 0.8284 GB, free: 51.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.725, allocations: 3.938 kB / 0.8284 GB, free: 51.17 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001528/0.7266, allocations: 331.5 kB / 0.8287 GB, free: 50.85 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_b.closed,switch1.switch_c.closed,switch1.switch_a.closed,switch2.switch_a.closed,switch2.switch_b.closed,switch2.switch_c.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,relay1.y[3],relay1.y[2],relay1.y[1],relay1.cnt,$whenCondition1,switch2.switch_c.open,switch2.switch_a.open,switch2.switch_b.open,switch1.switch_b.open,switch1.switch_c.open,switch1.switch_a.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 88 * Array equations: 3 * 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.0004518/0.727, allocations: 197.9 kB / 0.8289 GB, free: 50.66 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004481/0.7315, allocations: 1.879 MB / 0.8308 GB, free: 48.74 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.7316, allocations: 4.125 kB / 0.8308 GB, free: 48.74 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001741/0.7333, allocations: 0.9179 MB / 0.8317 GB, free: 47.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/0.7346, allocations: 130.7 kB / 0.8318 GB, free: 47.67 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005435/0.7401, allocations: 2.688 MB / 0.8344 GB, free: 44.95 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007323/0.7408, allocations: 1.12 MB / 0.8355 GB, free: 43.81 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001152/0.742, allocations: 237.1 kB / 0.8357 GB, free: 43.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004151/0.7424, allocations: 63.42 kB / 0.8358 GB, free: 43.51 MB / 442.7 MB Notification: Performance of SimCode: time 1.343e-06/0.7425, allocations: 4 kB / 0.8358 GB, free: 43.51 MB / 442.7 MB Notification: Performance of Templates: time 0.03065/0.7731, allocations: 12.45 MB / 0.8479 GB, free: 31.21 MB / 442.7 MB