Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Fault.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.Elementary.Fault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Fault") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00421/0.00421, allocations: 361.4 kB / 17.21 MB, free: 4.926 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.841/3.841, allocations: 388.9 MB / 406.8 MB, free: 12 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.003544/0.003543, allocations: 219.9 kB / 452.2 MB, free: 14.6 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.8036/0.8036, allocations: 76 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004715/0.0004716, allocations: 8 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09484/0.09533, allocations: 53.23 MB / 0.6742 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Fault): time 0.008635/0.104, allocations: 7.297 MB / 0.6814 GB, free: 53.49 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.005602/0.1097, allocations: 2.472 MB / 0.6838 GB, free: 51.01 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007971/0.1105, allocations: 35.75 kB / 0.6838 GB, free: 50.98 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006071/0.1111, allocations: 174.8 kB / 0.684 GB, free: 50.8 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002162/0.1133, allocations: 0.6181 MB / 0.6846 GB, free: 50.18 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.1152, allocations: 407.1 kB / 0.685 GB, free: 49.79 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002619/0.1179, allocations: 1.672 MB / 0.6866 GB, free: 48.11 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002372/0.1203, allocations: 0.9677 MB / 0.6875 GB, free: 47.1 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.1216, allocations: 0.5056 MB / 0.688 GB, free: 46.59 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.1229, allocations: 0.7712 MB / 0.6888 GB, free: 45.82 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001877/0.1231, allocations: 52 kB / 0.6888 GB, free: 45.77 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.1242, allocations: 475.2 kB / 0.6893 GB, free: 45.3 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005953/0.1248, allocations: 0.526 MB / 0.6898 GB, free: 44.78 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003303/0.1252, allocations: 237.1 kB / 0.69 GB, free: 44.54 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.1266, allocations: 1.224 MB / 0.6912 GB, free: 43.31 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.1267, allocations: 3.938 kB / 0.6912 GB, free: 43.31 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1267, allocations: 0 / 0.6912 GB, free: 43.31 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.924e-05/0.1267, allocations: 4 kB / 0.6912 GB, free: 43.3 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.003957/0.1307, allocations: 1.446 MB / 0.6926 GB, free: 41.79 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.1307, allocations: 8.031 kB / 0.6927 GB, free: 41.78 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/0.1323, allocations: 198.3 kB / 0.6928 GB, free: 41.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/0.1339, allocations: 0.6775 MB / 0.6935 GB, free: 40.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-05/0.134, allocations: 85.98 kB / 0.6936 GB, free: 40.78 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003979/0.1345, allocations: 116 kB / 0.6937 GB, free: 40.67 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003499/0.138, allocations: 1.61 MB / 0.6953 GB, free: 38.97 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-05/0.1381, allocations: 11.78 kB / 0.6953 GB, free: 38.96 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001557/0.1382, allocations: 40 kB / 0.6953 GB, free: 38.92 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004036/0.1387, allocations: 81.94 kB / 0.6954 GB, free: 38.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00331/0.142, allocations: 1.429 MB / 0.6968 GB, free: 37.41 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01142/0.1534, allocations: 5.797 MB / 0.7025 GB, free: 31.43 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002383/0.1559, allocations: 1.544 MB / 0.704 GB, free: 29.75 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00161/0.1575, allocations: 0.8132 MB / 0.7048 GB, free: 28.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.1576, allocations: 13 kB / 0.7048 GB, free: 28.92 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002078/0.1597, allocations: 1.107 MB / 0.7058 GB, free: 27.78 MB / 442.7 MB Notification: Performance of pre-optimization done (n=153): time 5.17e-06/0.1597, allocations: 0 / 0.7058 GB, free: 27.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=154): time 0.009688/0.1694, allocations: 4.527 MB / 0.7103 GB, free: 23.14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.2e-05/0.1696, allocations: 221.2 kB / 0.7105 GB, free: 22.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000793/0.1704, allocations: 0.5574 MB / 0.711 GB, free: 22.31 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001546/0.1706, allocations: 57.7 kB / 0.7111 GB, free: 22.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000321/0.1709, allocations: 460.3 kB / 0.7115 GB, free: 21.79 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004205/0.1713, allocations: 465.6 kB / 0.712 GB, free: 21.33 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.1714, allocations: 32 kB / 0.712 GB, free: 21.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1716, allocations: 410.7 kB / 0.7124 GB, free: 20.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001606/0.1732, allocations: 0.6715 MB / 0.713 GB, free: 20.22 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00168/0.1749, allocations: 0.9676 MB / 0.714 GB, free: 19.15 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/0.1767, allocations: 0.8324 MB / 0.7148 GB, free: 18.31 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.1767, allocations: 3.938 kB / 0.7148 GB, free: 18.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=217) (initialization): time 0.008368/0.1851, allocations: 2.808 MB / 0.7175 GB, free: 15.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.062e-05/0.1852, allocations: 67.53 kB / 0.7176 GB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007241/0.1925, allocations: 2.317 MB / 0.7199 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005544/0.1981, allocations: 1.083 MB / 0.7209 GB, free: 11.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009846/0.1991, allocations: 147.7 kB / 0.7211 GB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02007/0.2192, allocations: 8.301 MB / 0.7292 GB, free: 3.402 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.2206, allocations: 95.8 kB / 0.7293 GB, free: 3.309 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/0.2207, allocations: 52 kB / 0.7293 GB, free: 3.258 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 79 (system.initime,$PRE.fault_ab.fault_pp.t0,fault_ab.fault_pp.t0,$whenCondition2,$PRE.relay2.cnt,relay2.cnt,$whenCondition1,$PRE.relay1.cnt,relay1.cnt,$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.fault_ab.theta_zero,fault_ab.theta_zero,$PRE.fault_ab.v_pos,fault_ab.v_pos,$PRE.fault_ab.first,fault_ab.first,$PRE.fault_ab.fault_pp.on,fault_ab.fault_pp.on) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 136 * 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,84.0%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008409/0.2216, allocations: 484.8 kB / 0.7298 GB, free: 2.762 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002696/0.2219, allocations: 102.8 kB / 0.7299 GB, free: 2.66 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003932/0.2258, allocations: 1.838 MB / 0.7317 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.737e-05/0.2259, allocations: 7.984 kB / 0.7317 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.2259, allocations: 0 / 0.7317 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006434/0.2265, allocations: 295.8 kB / 0.732 GB, free: 500 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002415/0.2268, allocations: 31.98 kB / 0.732 GB, free: 468 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000966/0.2278, allocations: 75.91 kB / 0.7321 GB, free: 392 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003635/0.2281, allocations: 124.8 kB / 0.7322 GB, free: 268 kB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.3203/0.5484, allocations: 2.252 MB / 0.7344 GB, free: 127 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006873/0.5553, allocations: 2.992 MB / 0.7373 GB, free: 126.7 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002068/0.5575, allocations: 0.8919 MB / 0.7382 GB, free: 126.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000651/0.5582, allocations: 391 kB / 0.7385 GB, free: 126.6 MB / 442.7 MB Notification: Performance of Backend: time 5.31e-07/0.5582, allocations: 0 / 0.7385 GB, free: 126.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006778/0.565, allocations: 1.945 MB / 0.7404 GB, free: 126.2 MB / 442.7 MB Notification: Performance of SimCode: time 0.00613/0.5711, allocations: 3.278 MB / 0.7436 GB, free: 124.3 MB / 442.7 MB Notification: Performance of Templates: time 0.04877/0.62, allocations: 18.14 MB / 0.7614 GB, free: 121.8 MB / 442.7 MB