Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Breaker.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.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Breaker") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00279/0.002794, allocations: 361.4 kB / 17.22 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.869/3.869, allocations: 388.9 MB / 406.8 MB, free: 12.02 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.003614/0.003613, allocations: 237.6 kB / 452.3 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.7928/0.7928, allocations: 76 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004511/0.0004515, allocations: 8 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09215/0.09262, allocations: 53.24 MB / 0.6742 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.007573/0.1002, allocations: 6.054 MB / 0.6801 GB, free: 54.73 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004944/0.1052, allocations: 2.179 MB / 0.6823 GB, free: 52.55 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007144/0.106, allocations: 27.81 kB / 0.6823 GB, free: 52.52 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005125/0.1065, allocations: 123 kB / 0.6824 GB, free: 52.4 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001744/0.1083, allocations: 493.6 kB / 0.6829 GB, free: 51.91 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.1095, allocations: 307.3 kB / 0.6832 GB, free: 51.61 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001496/0.111, allocations: 1.193 MB / 0.6843 GB, free: 50.42 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001463/0.1125, allocations: 0.7149 MB / 0.685 GB, free: 49.66 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007489/0.1133, allocations: 358.4 kB / 0.6854 GB, free: 49.31 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.1144, allocations: 0.5373 MB / 0.6859 GB, free: 48.77 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001776/0.1146, allocations: 40 kB / 0.6859 GB, free: 48.73 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001085/0.1157, allocations: 459.2 kB / 0.6864 GB, free: 48.29 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004131/0.1161, allocations: 351 kB / 0.6867 GB, free: 47.94 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002668/0.1164, allocations: 177.3 kB / 0.6869 GB, free: 47.76 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.1176, allocations: 0.9001 MB / 0.6878 GB, free: 46.86 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1176, allocations: 0 / 0.6878 GB, free: 46.86 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1176, allocations: 0 / 0.6878 GB, free: 46.86 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.1176, allocations: 0 / 0.6878 GB, free: 46.86 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.003156/0.1208, allocations: 1.105 MB / 0.6888 GB, free: 45.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.1209, allocations: 11.97 kB / 0.6889 GB, free: 45.68 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.122, allocations: 146.8 kB / 0.689 GB, free: 45.54 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.1232, allocations: 0.5452 MB / 0.6895 GB, free: 44.95 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.347e-05/0.1233, allocations: 61.95 kB / 0.6896 GB, free: 44.89 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002657/0.1236, allocations: 75.98 kB / 0.6897 GB, free: 44.82 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002192/0.1258, allocations: 1.084 MB / 0.6907 GB, free: 43.67 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.069e-05/0.1259, allocations: 11.84 kB / 0.6907 GB, free: 43.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/0.126, allocations: 28 kB / 0.6908 GB, free: 43.63 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002103/0.1262, allocations: 49.98 kB / 0.6908 GB, free: 43.58 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002195/0.1284, allocations: 0.9289 MB / 0.6917 GB, free: 42.65 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00707/0.1355, allocations: 4.219 MB / 0.6958 GB, free: 38.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/0.1372, allocations: 0.9421 MB / 0.6968 GB, free: 37.23 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008856/0.1381, allocations: 451.3 kB / 0.6972 GB, free: 36.79 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.762e-05/0.1382, allocations: 16.55 kB / 0.6972 GB, free: 36.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001241/0.1395, allocations: 0.6241 MB / 0.6978 GB, free: 36.12 MB / 442.7 MB Notification: Performance of pre-optimization done (n=92): time 4.508e-06/0.1395, allocations: 4 kB / 0.6978 GB, free: 36.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=93): time 0.006548/0.1461, allocations: 2.9 MB / 0.7006 GB, free: 33.08 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.372e-05/0.1462, allocations: 161.6 kB / 0.7008 GB, free: 32.89 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007217/0.147, allocations: 469.8 kB / 0.7012 GB, free: 32.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001679/0.1471, allocations: 49.69 kB / 0.7013 GB, free: 32.38 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002824/0.1474, allocations: 383.7 kB / 0.7017 GB, free: 31.99 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003214/0.1478, allocations: 284.1 kB / 0.7019 GB, free: 31.71 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.23e-05/0.1479, allocations: 20 kB / 0.7019 GB, free: 31.69 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.148, allocations: 374.8 kB / 0.7023 GB, free: 31.32 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008955/0.1489, allocations: 390.4 kB / 0.7027 GB, free: 30.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.1499, allocations: 0.6129 MB / 0.7033 GB, free: 30.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.151, allocations: 484.4 kB / 0.7037 GB, free: 29.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.585e-06/0.151, allocations: 4 kB / 0.7037 GB, free: 29.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.004479/0.1555, allocations: 1.506 MB / 0.7052 GB, free: 28.22 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.063e-05/0.1556, allocations: 37.69 kB / 0.7052 GB, free: 28.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003653/0.1593, allocations: 1.152 MB / 0.7064 GB, free: 27.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00218/0.1615, allocations: 436.5 kB / 0.7068 GB, free: 26.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008806/0.1624, allocations: 127.8 kB / 0.7069 GB, free: 26.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01054/0.173, allocations: 4.696 MB / 0.7115 GB, free: 21.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.1741, allocations: 75.84 kB / 0.7116 GB, free: 21.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.1742, allocations: 44 kB / 0.7116 GB, free: 21.52 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 46 (system.initime,$whenCondition1,$PRE.relay.cnt,relay.cnt,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.breaker.breaker_a.arc,breaker.breaker_a.arc,$PRE.breaker.breaker_a.open,breaker.breaker_a.open,breaker.breaker_a.closed,$PRE.breaker.breaker_a.t0,breaker.breaker_a.t0,breaker.breaker_a.opening,$PRE.breaker.breaker_b.arc,breaker.breaker_b.arc,$PRE.breaker.breaker_b.open,breaker.breaker_b.open,breaker.breaker_b.closed,$PRE.breaker.breaker_b.t0,breaker.breaker_b.t0,breaker.breaker_b.opening,$PRE.breaker.breaker_c.arc,breaker.breaker_c.arc,$PRE.breaker.breaker_c.open,breaker.breaker_c.open,breaker.breaker_c.closed,$PRE.breaker.breaker_c.t0,breaker.breaker_c.t0,breaker.breaker_c.opening,$PRE.relay.y[1],relay.y[1],$PRE.relay.y[2],relay.y[2],$PRE.relay.y[3],relay.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * Array equations: 1 * Algorithm blocks: 1 * 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: 0 * Non-linear torn systems: 1 {4 21} Notification: Performance of prepare postOptimizeDAE: time 0.0006016/0.1748, allocations: 335.3 kB / 0.7119 GB, free: 21.17 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/0.175, allocations: 75.22 kB / 0.712 GB, free: 21.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002716/0.1778, allocations: 1.13 MB / 0.7131 GB, free: 19.95 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.326e-05/0.1778, allocations: 11.97 kB / 0.7131 GB, free: 19.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.1779, allocations: 0 / 0.7131 GB, free: 19.93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000225/0.1781, allocations: 132.3 kB / 0.7132 GB, free: 19.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/0.1783, allocations: 27.98 kB / 0.7133 GB, free: 19.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007698/0.1791, allocations: 67.88 kB / 0.7133 GB, free: 19.69 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000264/0.1794, allocations: 80.83 kB / 0.7134 GB, free: 19.61 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003557/0.1829, allocations: 1.363 MB / 0.7147 GB, free: 18.21 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003519/0.1865, allocations: 1.802 MB / 0.7165 GB, free: 16.39 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001073/0.1876, allocations: 0.5116 MB / 0.717 GB, free: 15.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005341/0.1882, allocations: 323 kB / 0.7173 GB, free: 15.56 MB / 442.7 MB Notification: Performance of Backend: time 5.01e-07/0.1882, allocations: 0 / 0.7173 GB, free: 15.56 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003369/0.1916, allocations: 1.099 MB / 0.7184 GB, free: 14.43 MB / 442.7 MB Notification: Performance of SimCode: time 0.003652/0.1953, allocations: 2.413 MB / 0.7207 GB, free: 11.96 MB / 442.7 MB Notification: Performance of Templates: time 0.3212/0.5166, allocations: 12.26 MB / 0.7327 GB, free: 128.1 MB / 442.7 MB