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.001278/0.001279, allocations: 106.9 kB / 17.74 MB, free: 5.363 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.001073/0.001074, allocations: 180.5 kB / 18.66 MB, free: 4.449 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.387/1.387, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1729/0.1729, allocations: 37.97 MB / 309.9 MB, free: 5.965 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.001538/0.001538, allocations: 67.91 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1137, 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.007732/0.1215, allocations: 5.313 MB / 493.1 MB, free: 2.996 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002631/0.1241, allocations: 1.197 MB / 494.3 MB, free: 1.793 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004611/0.1246, allocations: 15.88 kB / 494.3 MB, free: 1.777 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004817/0.1251, allocations: 87.27 kB / 494.4 MB, free: 1.691 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.1262, allocations: 322.3 kB / 494.7 MB, free: 1.375 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004692/0.1267, allocations: 143.8 kB / 494.9 MB, free: 1.234 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001056/0.1278, allocations: 0.7242 MB / 495.6 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003656/0.1282, allocations: 192.8 kB / 495.8 MB, free: 328 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006377/0.1288, allocations: 314.7 kB / 496.1 MB, free: 12 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008218/0.1297, allocations: 366.8 kB / 496.4 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.1298, allocations: 40 kB / 496.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.13, allocations: 44 kB / 496.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002908/0.1303, allocations: 199.4 kB / 496.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004258/0.1307, allocations: 270.7 kB / 497 MB, free: 15.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007105/0.1314, allocations: 0.5449 MB / 497.5 MB, free: 14.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1314, allocations: 0 / 497.5 MB, free: 14.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.697e-06/0.1314, allocations: 3.938 kB / 497.5 MB, free: 14.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.702e-05/0.1315, allocations: 3.938 kB / 497.5 MB, free: 14.55 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.001963/0.1334, allocations: 0.8269 MB / 498.4 MB, free: 13.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.1335, allocations: 19.84 kB / 498.4 MB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.1337, allocations: 48.38 kB / 498.4 MB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008066/0.1345, allocations: 448.4 kB / 498.9 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.28e-05/0.1346, allocations: 33.12 kB / 498.9 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.23e-05/0.1346, allocations: 36 kB / 498.9 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008388/0.1355, allocations: 494.5 kB / 499.4 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1355, allocations: 0 / 499.4 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.398e-05/0.1356, allocations: 16 kB / 499.4 MB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001185/0.1357, allocations: 28.62 kB / 499.5 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000637/0.1363, allocations: 362.6 kB / 499.8 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002532/0.1389, allocations: 1.715 MB / 0.4898 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006789/0.1396, allocations: 398.3 kB / 0.4901 GB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004182/0.14, allocations: 214.1 kB / 0.4904 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.14, allocations: 0 / 0.4904 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000454/0.1405, allocations: 279.6 kB / 0.4906 GB, free: 9.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.804e-06/0.1405, allocations: 0 / 0.4906 GB, free: 9.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002476/0.143, allocations: 1.396 MB / 0.492 GB, free: 7.898 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.276e-05/0.1431, allocations: 144.6 kB / 0.4921 GB, free: 7.727 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004222/0.1435, allocations: 369.7 kB / 0.4925 GB, free: 7.359 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.1436, allocations: 33.7 kB / 0.4925 GB, free: 7.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.1438, allocations: 263.9 kB / 0.4928 GB, free: 7.055 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.1439, allocations: 106.5 kB / 0.4929 GB, free: 6.949 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.1441, allocations: 86.16 kB / 0.4929 GB, free: 6.859 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1442, allocations: 350.8 kB / 0.4933 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.1444, allocations: 133 kB / 0.4934 GB, free: 6.379 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002989/0.1448, allocations: 260.1 kB / 0.4936 GB, free: 6.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006081/0.1454, allocations: 445.5 kB / 0.4941 GB, free: 5.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1454, allocations: 4 kB / 0.4941 GB, free: 5.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008849/0.1463, allocations: 0.5308 MB / 0.4946 GB, free: 5.016 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.127e-05/0.1463, allocations: 34.17 kB / 0.4946 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.1463, allocations: 4 kB / 0.4946 GB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003141/0.1467, allocations: 89.64 kB / 0.4947 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/0.1469, allocations: 71.83 kB / 0.4948 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002552/0.1495, allocations: 2.996 MB / 0.4977 GB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003174/0.1498, allocations: 23.98 kB / 0.4977 GB, free: 1.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.1e-05/0.1499, allocations: 16 kB / 0.4978 GB, free: 1.496 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.0003308/0.1502, allocations: 239.4 kB / 0.498 GB, free: 1.246 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.284e-05/0.1503, allocations: 43.47 kB / 0.498 GB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009184/0.1513, allocations: 0.5005 MB / 0.4985 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.1513, allocations: 7.984 kB / 0.4985 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1513, allocations: 3.984 kB / 0.4985 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1513, allocations: 3.938 kB / 0.4985 GB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/0.1529, allocations: 1.057 MB / 0.4996 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.1529, allocations: 8 kB / 0.4996 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.1531, allocations: 35.92 kB / 0.4996 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002799/0.1534, allocations: 93.56 kB / 0.4997 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.329e-05/0.1534, allocations: 12 kB / 0.4997 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002306/0.1557, allocations: 3.007 MB / 0.5026 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.1558, allocations: 3.938 kB / 0.5026 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.157, allocations: 0.7808 MB / 0.5034 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.1571, allocations: 112.7 kB / 0.5035 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.024e-05/0.1572, allocations: 12 kB / 0.5035 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002784/0.1575, allocations: 27.91 kB / 0.5035 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.1576, allocations: 27.95 kB / 0.5036 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.1576, allocations: 16 kB / 0.5036 GB, free: 11.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002977/0.1579, allocations: 259.2 kB / 0.5038 GB, free: 10.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.158, allocations: 4.062 kB / 0.5038 GB, free: 10.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005464/0.1585, allocations: 112 kB / 0.5039 GB, free: 10.71 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.0001698/0.1587, allocations: 111.2 kB / 0.5041 GB, free: 10.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.1598, allocations: 0.6343 MB / 0.5047 GB, free: 9.914 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1598, allocations: 0 / 0.5047 GB, free: 9.914 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000693/0.1605, allocations: 0.4924 MB / 0.5052 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.0005924/0.1611, allocations: 105.5 kB / 0.5053 GB, free: 9.277 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.1629, allocations: 1.018 MB / 0.5062 GB, free: 8.215 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005397/0.1635, allocations: 0.8704 MB / 0.5071 GB, free: 7.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.1636, allocations: 31.44 kB / 0.5071 GB, free: 7.289 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1636, allocations: 0 / 0.5071 GB, free: 7.289 MB / 398.1 MB Notification: Performance of Templates: time 0.0143/0.1779, allocations: 9.232 MB / 0.5161 GB, free: 14.04 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)