Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.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.FaultRXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Transmission.FaultRXline") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002349/0.002353, allocations: 352 kB / 16.57 MB, free: 5.594 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.42/3.42, allocations: 388.9 MB / 406.2 MB, free: 11.91 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.003369/0.003369, allocations: 219.8 kB / 451.6 MB, free: 14.51 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.6427/0.6427, allocations: 76.01 MB / 0.5594 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004776/0.0004777, allocations: 12 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06613/0.06663, allocations: 53.23 MB / 0.6736 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.FaultRXline): time 0.006867/0.07354, allocations: 7.34 MB / 0.6808 GB, free: 53.45 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003747/0.07731, allocations: 2.553 MB / 0.6833 GB, free: 50.89 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004131/0.07775, allocations: 39.75 kB / 0.6833 GB, free: 50.85 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003908/0.07815, allocations: 166.8 kB / 0.6835 GB, free: 50.68 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00114/0.07931, allocations: 0.6259 MB / 0.6841 GB, free: 50.05 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008914/0.08022, allocations: 419.1 kB / 0.6845 GB, free: 49.64 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00133/0.08157, allocations: 1.68 MB / 0.6861 GB, free: 47.96 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/0.08303, allocations: 0.9762 MB / 0.6871 GB, free: 46.94 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006117/0.08366, allocations: 0.5173 MB / 0.6876 GB, free: 46.42 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000851/0.08453, allocations: 0.7906 MB / 0.6883 GB, free: 45.63 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.08468, allocations: 52 kB / 0.6884 GB, free: 45.58 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008114/0.0855, allocations: 487.2 kB / 0.6889 GB, free: 45.1 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004413/0.08596, allocations: 0.5377 MB / 0.6894 GB, free: 44.56 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002181/0.08619, allocations: 237.1 kB / 0.6896 GB, free: 44.32 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.08722, allocations: 1.243 MB / 0.6908 GB, free: 43.08 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.675e-06/0.08723, allocations: 0 / 0.6908 GB, free: 43.08 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.577e-06/0.08725, allocations: 0 / 0.6908 GB, free: 43.08 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.08727, allocations: 0 / 0.6908 GB, free: 43.08 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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.002633/0.08991, allocations: 1.455 MB / 0.6922 GB, free: 41.55 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.08995, allocations: 8.828 kB / 0.6923 GB, free: 41.54 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.09108, allocations: 198.3 kB / 0.6924 GB, free: 41.35 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.09233, allocations: 0.693 MB / 0.6931 GB, free: 40.61 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.357e-05/0.09243, allocations: 82 kB / 0.6932 GB, free: 40.53 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003239/0.09276, allocations: 127.9 kB / 0.6933 GB, free: 40.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002531/0.09531, allocations: 1.622 MB / 0.6949 GB, free: 38.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.309e-05/0.09536, allocations: 11.88 kB / 0.6949 GB, free: 38.69 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/0.0955, allocations: 55.97 kB / 0.695 GB, free: 38.63 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002266/0.09574, allocations: 73.97 kB / 0.695 GB, free: 38.56 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002578/0.09833, allocations: 1.448 MB / 0.6965 GB, free: 37.11 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008248/0.1066, allocations: 5.876 MB / 0.7022 GB, free: 31.05 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.1085, allocations: 1.559 MB / 0.7037 GB, free: 29.36 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001291/0.1098, allocations: 0.8343 MB / 0.7045 GB, free: 28.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.773e-05/0.1099, allocations: 13 kB / 0.7045 GB, free: 28.51 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001646/0.1116, allocations: 1.131 MB / 0.7056 GB, free: 27.34 MB / 442.7 MB Notification: Performance of pre-optimization done (n=157): time 4.436e-06/0.1116, allocations: 4 kB / 0.7056 GB, free: 27.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=158): time 0.007707/0.1193, allocations: 4.723 MB / 0.7103 GB, free: 22.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.455e-05/0.1194, allocations: 250.9 kB / 0.7105 GB, free: 22.21 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006992/0.1201, allocations: 0.5732 MB / 0.7111 GB, free: 21.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001009/0.1202, allocations: 61.7 kB / 0.7111 GB, free: 21.56 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002618/0.1205, allocations: 468.3 kB / 0.7116 GB, free: 21.09 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003608/0.1209, allocations: 473.5 kB / 0.712 GB, free: 20.62 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.409e-05/0.121, allocations: 31.98 kB / 0.712 GB, free: 20.59 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1211, allocations: 418.7 kB / 0.7124 GB, free: 20.18 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/0.1224, allocations: 0.6832 MB / 0.7131 GB, free: 19.49 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/0.1238, allocations: 0.9967 MB / 0.7141 GB, free: 18.38 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/0.1252, allocations: 0.8517 MB / 0.7149 GB, free: 17.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.967e-06/0.1252, allocations: 4 kB / 0.7149 GB, free: 17.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.005924/0.1312, allocations: 2.819 MB / 0.7177 GB, free: 14.67 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/0.1312, allocations: 59.41 kB / 0.7177 GB, free: 14.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004906/0.1362, allocations: 2.314 MB / 0.72 GB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003805/0.14, allocations: 1.074 MB / 0.721 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005252/0.1405, allocations: 151.6 kB / 0.7212 GB, free: 11.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01443/0.155, allocations: 8.222 MB / 0.7292 GB, free: 2.699 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008338/0.1558, allocations: 87.88 kB / 0.7293 GB, free: 2.613 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.156, allocations: 59.98 kB / 0.7294 GB, free: 2.555 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 84 (system.initime,$PRE.abc.fault_pp1.t0,abc.fault_pp1.t0,$PRE.abc.fault_pp2.t0,abc.fault_pp2.t0,$whenCondition2,$PRE.relay2.cnt,relay2.cnt,$whenCondition1,$PRE.relay1.cnt,relay1.cnt,$whenCondition23,$whenCondition22,$whenCondition21,$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],$PRE.abc.theta_zero,abc.theta_zero,$PRE.abc.v_pos,abc.v_pos,$PRE.abc.first,abc.first,$PRE.abc.fault_pp1.on,abc.fault_pp1.on,$PRE.abc.fault_pp2.on,abc.fault_pp2.on) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * 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 {(12,81.9%) 41} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006442/0.1566, allocations: 492.8 kB / 0.7298 GB, free: 2.051 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000255/0.1569, allocations: 106.8 kB / 0.7299 GB, free: 1.945 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003149/0.16, allocations: 1.861 MB / 0.7317 GB, free: 64 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.255e-05/0.1601, allocations: 39.94 kB / 0.7318 GB, free: 24 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.803e-06/0.1601, allocations: 8 kB / 0.7318 GB, free: 16 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.1601, allocations: 7.969 kB / 0.7318 GB, free: 8 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2371/0.3973, allocations: 3.493 MB / 0.7352 GB, free: 127.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.485e-06/0.3973, allocations: 1.375 kB / 0.7352 GB, free: 127.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002272/0.3996, allocations: 367.1 kB / 0.7356 GB, free: 127.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001936/0.3998, allocations: 59.88 kB / 0.7356 GB, free: 127.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/0.4, allocations: 31.17 kB / 0.7356 GB, free: 127.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001272/0.4013, allocations: 1.564 MB / 0.7372 GB, free: 125.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.465e-06/0.4013, allocations: 1.25 kB / 0.7372 GB, free: 125.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005098/0.4064, allocations: 2.951 MB / 0.7401 GB, free: 125.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005585/0.407, allocations: 294.1 kB / 0.7403 GB, free: 125.6 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/0.4072, allocations: 42.02 kB / 0.7404 GB, free: 125.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007127/0.4079, allocations: 76.03 kB / 0.7405 GB, free: 125.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003712/0.4083, allocations: 131 kB / 0.7406 GB, free: 125.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/0.4084, allocations: 39.89 kB / 0.7406 GB, free: 125.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006048/0.4091, allocations: 409 kB / 0.741 GB, free: 125.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.625e-06/0.4091, allocations: 0 / 0.741 GB, free: 125.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001416/0.4105, allocations: 404.2 kB / 0.7414 GB, free: 125.4 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (line.i1[1],line.i1[2],line.i1[3],line.i2[1],line.i2[2],line.i2[3]) * Number of discrete variables: 57 (switch1.switch_a.closed,switch1.switch_c.closed,switch1.switch_b.closed,switch2.switch_a.closed,switch2.switch_c.closed,switch2.switch_b.closed,$whenCondition23,$whenCondition22,$whenCondition21,$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,abc.theta_zero,abc.v_pos,abc.first,abc.fault_pp1.on,abc.fault_pp1.t0,abc.fault_pp2.on,abc.fault_pp2.t0,system.initime) * Number of discrete states: 21 (abc.theta_zero,abc.fault_pp1.on,abc.fault_pp2.on,abc.v_pos,abc.first,relay2.y[3],relay2.y[2],relay2.y[1],relay2.cnt,$whenCondition2,switch2.switch_b.open,switch2.switch_c.open,switch2.switch_a.open,relay1.y[3],relay1.y[2],relay1.y[1],relay1.cnt,$whenCondition1,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 (124): * Single equations (assignments): 107 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 11 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003/0.4108, allocations: 186.1 kB / 0.7416 GB, free: 125.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005361/0.4162, allocations: 2.524 MB / 0.744 GB, free: 124.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.4162, allocations: 2.094 kB / 0.744 GB, free: 124.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0021/0.4183, allocations: 1.248 MB / 0.7453 GB, free: 123.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.4194, allocations: 159.9 kB / 0.7454 GB, free: 123.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005549/0.4249, allocations: 3.469 MB / 0.7488 GB, free: 122.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009597/0.4259, allocations: 1.242 MB / 0.75 GB, free: 121.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001075/0.427, allocations: 274.1 kB / 0.7503 GB, free: 121.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003842/0.4274, allocations: 76.11 kB / 0.7503 GB, free: 121.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.573e-06/0.4274, allocations: 4 kB / 0.7503 GB, free: 121.3 MB / 442.7 MB Notification: Performance of Templates: time 0.0329/0.4603, allocations: 16.18 MB / 0.7661 GB, free: 118.5 MB / 442.7 MB