Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 107.3 kB / 17.74 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 192 kB / 18.67 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1859/0.1859, allocations: 37.99 MB / 309.9 MB, free: 5.949 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 63.89 kB / 432.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1085, allocations: 55.25 MB / 487.8 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.008059/0.1166, allocations: 5.321 MB / 493.1 MB, free: 2.988 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002601/0.1192, allocations: 1.197 MB / 494.3 MB, free: 1.785 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000483/0.1198, allocations: 15.88 kB / 494.3 MB, free: 1.77 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000514/0.1203, allocations: 91.25 kB / 494.4 MB, free: 1.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.1214, allocations: 322.3 kB / 494.7 MB, free: 1.363 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004358/0.1218, allocations: 143.8 kB / 494.9 MB, free: 1.223 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001069/0.1229, allocations: 0.7203 MB / 495.6 MB, free: 0.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003446/0.1233, allocations: 192.8 kB / 495.8 MB, free: 320 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006976/0.124, allocations: 322.8 kB / 496.1 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007191/0.1247, allocations: 362.6 kB / 496.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001324/0.1249, allocations: 40 kB / 496.5 MB, free: 15.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.125, allocations: 40 kB / 496.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002664/0.1253, allocations: 207.4 kB / 496.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000374/0.1257, allocations: 254.8 kB / 497 MB, free: 15.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006555/0.1263, allocations: 0.5528 MB / 497.5 MB, free: 14.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.043e-05/0.1264, allocations: 4 kB / 497.5 MB, free: 14.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1264, allocations: 7.875 kB / 497.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.231e-05/0.1264, allocations: 0 / 497.5 MB, free: 14.54 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001852/0.1283, allocations: 0.823 MB / 498.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.1283, allocations: 15.84 kB / 498.4 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.1285, allocations: 52.38 kB / 498.4 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007856/0.1293, allocations: 452.4 kB / 498.9 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.043e-05/0.1293, allocations: 37.11 kB / 498.9 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.3e-05/0.1294, allocations: 36 kB / 498.9 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008032/0.1302, allocations: 486.5 kB / 499.4 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.1302, allocations: 0 / 499.4 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.138e-05/0.1303, allocations: 12 kB / 499.4 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001117/0.1304, allocations: 28.62 kB / 499.4 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006267/0.131, allocations: 370.6 kB / 499.8 MB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002489/0.1335, allocations: 1.711 MB / 0.4898 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006526/0.1342, allocations: 406.3 kB / 0.4902 GB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004262/0.1346, allocations: 202.2 kB / 0.4903 GB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.1347, allocations: 7.984 kB / 0.4904 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004356/0.1351, allocations: 283.6 kB / 0.4906 GB, free: 9.395 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.244e-06/0.1351, allocations: 0 / 0.4906 GB, free: 9.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002406/0.1375, allocations: 1.396 MB / 0.492 GB, free: 7.883 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.9e-05/0.1376, allocations: 140.6 kB / 0.4921 GB, free: 7.715 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004017/0.1381, allocations: 369.7 kB / 0.4925 GB, free: 7.348 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.47e-05/0.1381, allocations: 29.7 kB / 0.4925 GB, free: 7.312 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.1383, allocations: 263.9 kB / 0.4928 GB, free: 7.047 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.1384, allocations: 106.5 kB / 0.4929 GB, free: 6.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.1386, allocations: 82.16 kB / 0.4929 GB, free: 6.855 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1387, allocations: 354.8 kB / 0.4933 GB, free: 6.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.139, allocations: 133 kB / 0.4934 GB, free: 6.371 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/0.1393, allocations: 256.1 kB / 0.4936 GB, free: 6.066 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005574/0.1398, allocations: 445.5 kB / 0.4941 GB, free: 5.566 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1398, allocations: 4 kB / 0.4941 GB, free: 5.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008882/0.1407, allocations: 0.5308 MB / 0.4946 GB, free: 5.012 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.913e-05/0.1408, allocations: 34.16 kB / 0.4946 GB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.1408, allocations: 8 kB / 0.4946 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002851/0.1411, allocations: 85.61 kB / 0.4947 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.1414, allocations: 63.91 kB / 0.4948 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002386/0.1438, allocations: 2.999 MB / 0.4977 GB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003146/0.1441, allocations: 27.92 kB / 0.4977 GB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.592e-05/0.1441, allocations: 20 kB / 0.4977 GB, free: 1.488 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 18 (system.initime,breaker.breaker_1.opening,breaker.breaker_1.t0,$PRE.breaker.breaker_1.t0,breaker.breaker_1.closed,breaker.breaker_1.open,$PRE.breaker.breaker_1.open,breaker.breaker_1.arc,$PRE.breaker.breaker_1.arc,relay.y[1],$PRE.relay.y[1],$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,relay.cnt,$PRE.relay.cnt,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003263/0.1445, allocations: 247.3 kB / 0.498 GB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.519e-05/0.1446, allocations: 39.53 kB / 0.498 GB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008694/0.1454, allocations: 0.5005 MB / 0.4985 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.1454, allocations: 4 kB / 0.4985 GB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1455, allocations: 0 / 0.4985 GB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.1455, allocations: 11.94 kB / 0.4985 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/0.1471, allocations: 1.057 MB / 0.4996 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1471, allocations: 0 / 0.4996 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.1473, allocations: 35.92 kB / 0.4996 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002693/0.1476, allocations: 97.56 kB / 0.4997 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/0.1476, allocations: 15.98 kB / 0.4997 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002411/0.1501, allocations: 3 MB / 0.5026 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.1501, allocations: 3.938 kB / 0.5026 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.1513, allocations: 0.7769 MB / 0.5034 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.1514, allocations: 112.7 kB / 0.5035 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.501e-05/0.1515, allocations: 15.98 kB / 0.5035 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.1518, allocations: 19.92 kB / 0.5035 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.1519, allocations: 35.94 kB / 0.5036 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.1519, allocations: 12 kB / 0.5036 GB, free: 11.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000287/0.1522, allocations: 263.1 kB / 0.5038 GB, free: 10.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1522, allocations: 8.062 kB / 0.5038 GB, free: 10.81 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005416/0.1528, allocations: 112 kB / 0.5039 GB, free: 10.7 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * Number of discrete variables: 13 (breaker.breaker_1.closed,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,relay.y[1],relay.cnt,breaker.breaker_1.arc,breaker.breaker_1.open,breaker.breaker_1.t0,breaker.breaker_1.opening,system.initime) * Number of discrete states: 5 (breaker.breaker_1.arc,relay.y[1],relay.cnt,$whenCondition1,breaker.breaker_1.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001614/0.153, allocations: 107.2 kB / 0.504 GB, free: 10.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.154, allocations: 0.6342 MB / 0.5047 GB, free: 9.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.154, allocations: 0 / 0.5047 GB, free: 9.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006643/0.1547, allocations: 0.4885 MB / 0.5051 GB, free: 9.383 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005994/0.1553, allocations: 109.5 kB / 0.5052 GB, free: 9.273 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.1571, allocations: 1.022 MB / 0.5062 GB, free: 8.207 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004965/0.1576, allocations: 0.8704 MB / 0.5071 GB, free: 7.312 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.1577, allocations: 31.44 kB / 0.5071 GB, free: 7.281 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1577, allocations: 0 / 0.5071 GB, free: 7.281 MB / 398.1 MB Notification: Performance of Templates: time 0.01352/0.1712, allocations: 9.294 MB / 0.5162 GB, free: 13.97 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe 2>&1)